ST52F510FMB6 STMICROELECTRONICS [STMicroelectronics], ST52F510FMB6 Datasheet - Page 52

no-image

ST52F510FMB6

Manufacturer Part Number
ST52F510FMB6
Description
8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST52F510/F513/F514
7.6.1 Configuration Registers.
Port A Pull-Up Register (PORT_A_PULLUP)
Configuration Register 24 (018h) Read/Write
Reset Value: 0000 0000 (00h)
Bit 7-0: PUA7-0 Port A pull-up (see Table 7.1)
Port A Option Register (PORT_A_OR)
Configuration Register 25 (019h) Read/Write
Reset Value: 0000 0000 (00h)
Bit 7-0: ORA7-0 Port A option (see Table 7.1)
Port A Data Direction Register (PORT_A_DDR)
Configuration Register 26 (01Ah) Read/Write
Reset Value: 0000 0000 (00h)
Bit 7-0: DDRA7-0 Port A direction (see Table 7.1)
Port A Alternate Fuction (PORT_A_AF)
Configuration Register 27 (01Bh) Read/Write
Reset Value: 0000 0000 (00h)
52/106
DDRA7 DDRA6 DDRA5 DDRA4 DDRA3 DDRA2 DDRA1 DDRA0
ORA7
PUA7
AFA7
7
7
7
7
ORA6
PUA6
0: Port A pin without pull-up
1: Port A pin with pull-up
0: Port A pin configured as input
1: Port A pin configured as output
AFA6
ORA5
PUA5
AFA5
ORA4
PUA4
AFA4
ORA3
PUA3
AFA3
PUA2
ORA2
AFA2
ORA1
PUA1
AFA1
ORA0
PUA0
AFA0
0
0
0
0
Bit 7: AFA7 Alternate Function PA7
Bit 6: AFA6 Alternate Function PA6
Bit 5: AFA5 Alternate Function PA5
Bit 4: AFA4 Alternate Function PA4
Bit 3: AFA3 Alternate Function PA3
Bit 2: AFA2 Alternate Function PA2
Bit 1: AFA1 Alternate Function PA1
Bit 0: AFA0 Alternate Function PA0
Table 7.1 Pin mode configuration
Input high impedance
Input with pull-up
Interrupt without pull-up
Interrupt with pull-up
Output push-pull
Output with pull-up
Output open drain
Output weak pull-up
0: Digital I/O
1: INT
0: Digital I/O
1: T0OUT
0: Digital I/O
1: TCLK
0: Digital I/O
1: TSTRT
0: Digital I/O
1: TRES
0: Digital I/O
1: T1OUT
0: Digital I/O
1: SDA
0: Digital I/O
1: SCL
MODE
PU
0
1
0
1
0
1
0
1
OR
0
0
1
1
0
0
1
1
DDR
0
0
0
0
1
1
1
1

Related parts for ST52F510FMB6