st52f513 STMicroelectronics, st52f513 Datasheet - Page 56

no-image

st52f513

Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f5136G3M6
Manufacturer:
ST
0
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
0
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513GM6
Manufacturer:
ST
0
Part Number:
st52f513Y3M6
Manufacturer:
ST
0
ST52510xx ST52513xx
Port C Option Register (PORT_C_OR)
Configuration Register 33 (021h) Read/Write
Reset Value: 0000 0000 (00h)
Note: The corresponding pins are not available in
16/20 pin devices.
Bit 7-6: Not Used
Bit 5-0: ORC5-0 Port C option
Port C Data Direction Register (PORT_C_DDR)
Configuration Register 34 (022h) Read/Write
Reset Value: 0000 0000 (00h)
Note: The corresponding pins are not available in
16/20 pin devices.
Bit 7-6: Not Used
Bit 5-0: DDRC5-0 Port C direction
Note: in order to achieve low current consumption,
the port pins must be configured as input pull-up,
even though they are not existing in the package.
For example in 20 pin devices, the pins PB6-7 and
PC0-7 must be configured in input pull-up.
Port C Alternate Function (PORT_C_AF)
Configuration Register 35 (023h) Read/Write
Reset Value: 0000 0000 (00h)
Note: The corresponding pins are not available in
16/20 pin devices.
Bit 7-6: Not Used
56/136
7
7
7
-
-
-
0: Port C pin configured as input
1: Port C pin configured as output
-
-
-
DDRC5 DDRC4 DDRC3 DDRC2 DDRC1 DDRC0
ORC5
AFC5
ORC4
AFC4
ORC3
AFC3
(see Table 7.1)
ORC2
AFC2
(see Table 7.1)
ORC1
AFC1
ORC0
AFC0
0
0
0
Bit 5: AFC5 Alternate Function PC5
Bit 4: AFC4 Alternate Function PC4
Bit 3: AFC3 Alternate Function PC3
Bit 2: AFC2 Alternate Function PC2
Bit 1: AFC1 Alternate Function PC1
Bit 0: AFC0 Alternate Function PC0
7.6.2 Input Registers.
Port A Data Input Register (PORT_A_IN)
Input Register 0 (00h) Read only
Reset Value: XXXX XXXX
Bit 7-0: PAI7-0 Port A Input data
The logical level applied in the Port A pins,
configured as digital input, can be achieved by
reading this register.
Port B Data Input Register (PORT_B_IN)
Input Register 1 (01h) Read only
Reset Value: XXXX XXXX
(*) Not used in 16/20 pin package devices
(**) Not used in 16 pin package devices
P BI 7*
PAI7
7
7
0: Digital I/O
1: TRES
0: Digital I/O
1: TX
0: Digital I/O
1: SS
0: Digital I/O
1: MISO
0: Digital I/O
1: MOSI
0: Digital I/O
1: SCK
PBI6*
PAI6
PBI5**
PAI5
PBI4**
PAI4
PBI3**
PAI3
PBI2**
PAI2
PAI1
PBI1
PBI0
PAI0
0
0

Related parts for st52f513