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

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
6.3.2.5
6.3.2.6
6.3.2.7
4679D–4BMCU–05/05
Timer 2 Registers
Timer 2 Control Register (T2C)
Timer 2 Mode Register 1 (T2M1)
Timer 2 has 6 control registers to configure the timer mode, the time interval, the input clock and
its output function. All registers are indirectly addressed using extended addressing as
described in section
BP41 or BP42 must be selected with the Port 4 control register P4CR, if one of the Timer 2
modes require an input at T2I/BP41 or an output at T2O/BP42.
Table 6-8.
T2C
T2CS1
T2CS0
T2TS
T2R
T2M1
T2D1
T2D0
T2MS1
T2MS0
T2CS1
0
0
1
1
Bit 3
T2CS1
Timer 2 Clock Select bit 1
Timer 2 Clock Select bit 0
Timer 2 Toggle with Start
T2TS = 0, the output flip-flop of Timer 2 is not toggled with the timer start
T2TS = 1, the output flip-flop of Timer 2 is toggled when the timer is started with T2R
Timer 2 Run
T2R = 0, Timer 2 stop and reset
T2R = 1, Timer 2 run
Bit 3
T2D1
Timer 2 Duty cycle bit 1
Timer 2 Duty cycle bit 0
Timer 2 Mode Select bit 1
Timer 2 Mode Select bit 0
Timer 2 Clock Select Bits
”Addressing Peripherals” on page
Bit 2
T2D0
Bit 2
T2CS0
T2CS0
0
1
0
1
Bit 1
T2MS1
Bit 1
T2TS
Input Clock (CL 2/1) of Counter Stage 2/1
System clock (SYSCL)
Output signal of Timer 1 (T1OUT)
Internal shift clock of SSI (SCL)
Reserved
Bit 0
T2MS0
Bit 0
T2R
Address: '7'hex — Subaddress: '1'hex
Reset value: 1111b
Address: '7'hex — Subaddress: '0'hex
Reset value: 0000b
22. The alternate functions of the Ports
ATAM894
43

Related parts for ATAM894X-TNQY