ATAM893X-TKHYZ ATMEL [ATMEL Corporation], ATAM893X-TKHYZ Datasheet - Page 26

no-image

ATAM893X-TKHYZ

Manufacturer Part Number
ATAM893X-TKHYZ
Description
Flash Version for ATAR080, ATAR090/890 and ATAR092/892
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
5.2.2.1
5.2.2.2
26
ATAM893-D
Port 2 Data Register (P2DAT)
Port 2 Control Register (P2CR)
Figure 5-3.
Bit 3 = MSB, Bit 0 = LSB
Value 1111b means all pins in input mode
Table 5-2.
P2DAT
P2CR
3 2 1 0
x x x 1
x x x 0
x x 1 x
x x 0 x
x 1 x x
x 0 x x
1 x x x
0 x x x
Code
I/O Bus
I/O Bus
Master reset
I/O Bus
Bit 3
P2DAT3
Bit 3
P2CR3
Bi-directional Port 2
Port 2 Control Register
Function
BP20 in input mode
BP20 in output mode
BP21 in input mode
BP21 in output mode
BP22 in input mode
BP22 in output mode
BP23 in input mode
BP23 in output mode
(Direction)
(Data out)
P2DATy
D
D
P2CRy
S
S
Bit 2
P2DAT2
Bit 2
P2CR2
Q
Q
Bit 1
P2DAT1
Bit 1
P2CR1
(1)
Flash options
Bit 0
P2DAT0
Bit 0
P2CR0
(1)
(1)
Primary register address: '2'hex
Reset value: 1111b
Auxiliary register address: '2'hex
Reset value: 1111b
(1)
(1)
Switched
Switched
pull-down
pull-up
V
DD
(1)
(1)
Static
Pull-up
BP2y
Static
Pull-down
V
DD
4680C–4BMCU–01/05

Related parts for ATAM893X-TKHYZ