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

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Table 6-4.
6.2.5
6.2.5.1
6.2.5.2
30
Auxiliary Address: '4'hex First Write Cycle
3 2 1 0
x x 1 1
x x 1 0
x x 0 1
x x 0 0
1 1 x x
1 0 x x
0 1 x x
0 0 x x
Code
ATAM894
Function
BP40 in input mode
BP40 in output mode
BP40 enable alternate function (SC for SSI)
BP40 enable alternate function (falling edge interrupt
input for INT3)
BP41 in input mode
BP41 in output mode
BP41 enable alternate function (VMI for voltage
monitor input)
BP41 enable alternate function (T2I external clock
input for Timer 2)
Bi-directional Port 6
Port 6 Data Register (P6DAT)
Port 6 Control Register (P6CR)
Port 4 Control Register
The bi-directional Port 6 is a bit-wise configurable I/O port and provides the external pins for the
Timer 3. As a normal port, it performs in exactly the same way as bi-directional Port 6 (see
ure 6-6 on page
passed over to other internal modules (Timer 3). The I/O pin for the T3I line has an additional
mode to generate a Timer 3-interrupt. All two Port 6 pins can be individually switched by the
P6CR register.
P6xM2, P6xM1
Table 6-5.
P6DAT
P6CR
3 2 1 0
x x 1 1
x x 1 0
x x 0 x
Code
Function
BP60 in input mode
BP60 in output mode
BP60 enable alternate port function
(T3O for Timer 3)
Bit 3
P6DAT3
Bit 3
P63M2
Port 6 Control Register
Figure 6-6 on page 29
29). Two additional multiplexes allow data and port direction control to be
Port 6x Interrupt Mode/Direction Code
Bit 2
-
Bit 2
P63M1
Auxiliary Address: ’6’hex
Second Write Cycle
3 2 1 0
x x 1 1
x x 1 0
x x 0 x
1 1 x x
1 0 x x
0 1 x x
0 0 x x
Code
Bit 1
P60M2
Bit 1
-
shows the internal interfaces to bi-directional Port 6.
Function
BP42 in input mode
BP42 in output mode
BP42 enable alternate function (T2O for Timer 2)
BP43 in input mode
BP43 in output mode
BP43 enable alternate function (SD for SSI)
BP43 enable alternate function (falling edge interrupt
input for INT3)
Bit 0
P60M0
Bit 0
P6DAT0
3 2 1 0
1 1 x x
1 0 x x
0 x x x
Code
Write Cycle
Function
BP63 in input mode
BP63 in output mode
BP63 enable alternate port function (T3I
for Timer 3)
Reset value: 1111b
Primary register address: '6'hex
Reset value: 1xx1b
Auxiliary register address: '6'hex
4679D–4BMCU–05/05
Fig-

Related parts for ATAM894X-TNQY