st52f513 STMicroelectronics, st52f513 Datasheet - Page 54
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
st52f513
Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet
1.ST52F513.pdf
(136 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
ST52510xx ST52513xx
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
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
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
Port A Alternate Function (PORT_A_AF)
Configuration Register 27 (01Bh) Read/Write
Reset Value: 0000 0000 (00h)
54/136
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
PUA4
ORA4
AFA4
PUA3
ORA3
AFA3
(see Table 7.1)
(see Table 7.1)
PUA2
ORA2
AFA2
(see Table 7.1)
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: RX
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