ATA6020N ATMEL Corporation, ATA6020N Datasheet - Page 40

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.8
5.2.6.9
40
ATA6020N
Timer 2 Mode Register 2 (T2M2)
Timer 2 Compare and Compare Mode Registers
Table 5-10.
Note:
Timer 2 has two separate compare registers, T2CO1 for the 4-bit stage and T2CO2 for the 8-bit
stage of Timer 2. The timer compares the contents of the compare register current counter value
and if it matches it generates an output signal. Depending on the timer mode, this signal is used
to generate a timer interrupt, to toggle the output flip-flop as SSI clock or as a clock for the next
counter stage.
In the 12-bit timer mode, T2CO1 contains bits 0 to 3 and T2CO2 bits 4 to 11 of the 12-bit com-
pare value. In all other modes, the two compare registers work independently as a 4-bit and 8-bit
compare register. When assigned to the compare register a compare event will be suppressed.
T2M2
T2TOP
T2OS2
T2OS1
T2OS0
Output
Mode
1
2
3
4
5
6
7
8
If one of these output modes is used the T2O alternate function of Port 4 must also be activated.
Bit 3
T2TOP
Timer 2 Toggle Output Preset
This bit allows the programmer to preset the Timer 2 output T2O.
T2TOP = 0, resets the toggle outputs with the write cycle (M2 = 0)
T2TOP = 1, sets toggle outputs with the write cycle (M2 = 1)
Note: If T2R = 1, no output preset is possible
Timer 2 Output Select bit 2
Timer 2 Output Select bit 1
Timer 2 Output Select bit 0
Timer 2 Output Select Bits
T2OS2
1
1
1
1
0
0
0
0
Bit 2
T2OS2
T2MS1
1
1
0
0
1
1
0
0
Bit 1
T2OS1
T2MS0
T2OS0
Bit 0
1
0
1
0
1
0
1
0
Clock Output (POUT)
Toggle mode: a Timer 2 compare match toggles
the output flip-flop (M2) -> T2O
Duty cycle burst generator 1: the DCG output
signal (DCG0) is given to the output and gated by
the output flip-flop (M2)
Duty cycle burst generator 2: the DCG output
signal (DCGO) is given to the output and gated
by the SSI internal data output (SO)
Bi-phase modulator: Timer 2 modulates the SSI
internal data output (SO) to Bi-phase code
Manchester modulator: Timer 2 modulates the
SSI internal data output (SO) to Manchester code
SSI output: T2O is used directly as SSI internal
data output (SO)
PWM mode: an 8/12-bit PWM mode
Not allowed
Address: ’7’hex – Subaddress: ’2’hex
Reset value: 1111b
4708D–4BMCU–09/05

Related parts for ATA6020N