English
Language : 

ATAM893-D_14 Datasheet, PDF (31/98 Pages) ATMEL Corporation – EEPROM Programmable Options
5.2.5.1
Port 6 Data Register (P6DAT)
ATAM893-D
P6DAT
Bit 3
P6DAT3
Bit 2
–
Bit 1
–
Bit 0
P6DAT0
Primary register address: '6'hex
Reset value: 1xx1b
5.2.5.2
Port 6 Control Register (P6CR)
P6CR
Bit 3
P63M2
Bit 2
P63M1
Bit 1
P60M2
Bit 0
P60M0
P6xM2, P6xM1 - Port 6x Interrupt mode/direction code
Primary register address: '6'hex
Reset value: 1111b
Table 5-5. Port 6 Control Register
Code
3210
xx11
xx10
xx0x
Auxiliary Address: ‘6’hex Write Cycle
Function
Code
3 2 1 0 Function
BP60 in input mode
1 1 x x BP63 in input mode
BP60 in output mode
1 0 x x BP63 in output mode
BP60 enable alternate port function
(T3O for Timer 3)
0xxx
BP63 enable alternate port function (T3I
for Timer 3)
5.3 Universal Timer/Counter/ Communication Module (UTCM)
The Universal Timer/counter/Communication Module (UTCM) consists of three timers
(Timer 1,Timer 2, Timer 3) and a Synchronous Serial Interface (SSI).
• Timer 1 is an interval timer that can be used to generate periodic interrupts and as prescaler
for Timer 2, Timer 3, the serial interface and the watchdog function.
• Timer 2 is an 8/12-bit timer with an external clock input (T2I) and an output (T2O).
• Timer 3 is an 8-bit timer/counter with its own input (T3I) and output (T3O).
• The SSI operates as a two-wire serial interface or as shift register for modulation and
demodulation. The modulator and demodulator units work together with the timers and shift
the data bits into or out of the shift register.
There is a multitude of modes in which the timers and the serial interface can work together.
31
4680C–4BMCU–01/05