ATA6020N ATMEL Corporation, ATA6020N Datasheet - Page 41

no-image

ATA6020N

Manufacturer Part Number
ATA6020N
Description
Low-current Microcontroller For Watchdog Function
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATA6020N
Manufacturer:
ATMEL
Quantity:
28
Part Number:
ATA6020N
Manufacturer:
ST
0
Part Number:
ATA6020N
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATA6020N-020-TKQY
Manufacturer:
ATMEL
Quantity:
230
Part Number:
ATA6020N-020-TKQY
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
5.2.6.10
5.2.6.11
5.2.6.12
4708D–4BMCU–09/05
Timer 2 Compare Mode Register (T2CM)
Timer 2 COmpare Register 1 (T2CO1)
Timer 2 COmpare Register 2 (T2CO2) Byte Write
Table 5-11.
In prescaler mode the clock is bypassed if the compare register T2CO1 contains 0.
T2CM
T2OTM
T2CTM
T2RM
T2IM
T2CO1
T2CO2
Timer 2 Output Mode
1, 2, 3, 4, 5 and 6
1, 2, 3, 4, 5 and 6
Bit 3
T2OTM
Write cycle
First write cycle
Second write
cycle
Timer 2 Overflow Toggle Mask bit
T2OTM = 0, disable overflow toggle
T2OTM = 1, enable overflow toggle, a counter overflow (OVF2) toggles the output
Timer 2 Compare Toggle Mask bit
T2CTM = 0, disable compare toggle
T2CTM = 1, enable compare toggle, a match of the counter with the compare
Timer 2 Reset Mask bit
T2RM = 0, disable counter reset
T2RM = 1, enable counter reset, a match of the counter with the compare register
Timer 2 Interrupt Mask bit
T2IM = 0, disable Timer 2 interrupt
T2IM = 1, enable Timer 2 interrupt
Timer 2 Toggle Mask Bits
7
Bit 2
T2CTM
resets the counter
flip-flop (TOG2). If the T2OTM-bit is set, only a counter overflow
can generate an interrupt except on the Timer 2 output mode 7.
register toggles output flip-flop (TOG2). In Timer 2 output mode 7
and when the T2CTM-bit is set, only a match of the counter with the
compare register can generate an interrupt.
Bit 3
Bit 3
Bit 7
Bit 1
T2RM
T2OTM
0
1
x
Bit 2
Bit 2
Bit 6
Bit 0
T2IM
Address: ’7’hex – Subaddress: ’4’hex
Bit 1
Address: ’7’hex – Subaddress: ’5’hex
Bit 1
Bit 5
T2CTM
Address: ’7’hex – Subaddress: ’3’hex
Reset value: 0000b
1
x
x
Bit 0
Bit 0
Bit 4
Timer 2 Interrupt Source
Compare match (CM2)
Overflow (OVF2)
Compare match (CM2)
Reset value: 1111b
Reset value: 1111b
Reset value: 1111b
ATA6020N
41

Related parts for ATA6020N