ATAM894X-TNQY ATMEL [ATMEL Corporation], ATAM894X-TNQY Datasheet - Page 26

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
6.2.2.1
6.2.2.2
26
ATAM894
Port 2 Data Register (P2DAT)
Port 2 Control Register (P2CR)
Figure 6-3.
Note:
Note:
Table 6-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
* Bit 3 = MSB, Bit 0 = LSB
Value 1111b means all pins in input mode
I/O Bus
I/O Bus
Master reset
I/O Bus
Bit 3
P2DAT3
Bit 3
P2CR3
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
Bi-directional Port 2
Port 2 Control Register
*
(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
4679D–4BMCU–05/05

Related parts for ATAM894X-TNQY