ST7LITE3xF2
I/O PORTS (Cont’d)
The I/O port register configurations are summa-
rised as follows.
Standard Ports
PA7:0, PB6:0
MODE
floating input
pull-up input
open drain output
push-pull output
DDR OR
0
0
0
1
1
0
1
1
Interrupt Ports
Ports where the external interrupt capability is
selected using the EISR register
MODE
floating input
pull-up interrupt input
DDR OR
0
0
0
1
Table 11. Port Configuration (Standard ports)
Port
Port A
Port B
Pin name
PA7:0
PB6:0
Input (DDR=0)
OR = 0
OR = 1
floating
pull-up
floating
pull-up
Output (DDR=1)
OR = 0
OR = 1
open drain
push-pull
open drain
push-pull
Note: On ports where the external interrupt capability is selected using the EISR register, the configura-
tion will be as follows:
Table 12. Port Configuration (external interrupts)
Port
Port A
Port B
Pin name
PA6:1
PB5:0
Input with interrupt (DDR=0 ; EISR≠00)
OR = 0
OR = 1
floating
pull-up
floating
pull-up
Table 13. I/O Port Register Map and Reset Values
Address
(Hex.)
Register
Label
7
6
5
4
3
2
1
0
PADR
MSB
LSB
0000h
Reset Value
1
1
1
1
1
1
1
1
PADDR
MSB
LSB
0001h
Reset Value
0
0
0
0
0
0
0
0
PAOR
MSB
LSB
0002h
Reset Value
0
1
0
0
0
0
0
0
PBDR
MSB
LSB
0003h
Reset Value
1
1
1
1
1
1
1
1
PBDDR
MSB
LSB
0004h
Reset Value
0
0
0
0
0
0
0
0
PBOR
MSB
LSB
0005h
Reset Value
0
0
0
0
0
0
0
0
51/173
1