| Electronic Components Datasheet Search |
|
ATAM894 Datasheet(PDF) 45 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATAM894 Datasheet(HTML) 45 Page - ATMEL Corporation |
|
45 / 97 page ![]() 45 4679D–4BMCU–05/05 ATAM894 6.3.2.9 Timer 2 Mode Register 2 (T2M2) If one of these output modes is used the T2O alternate function of Port 4 must also be activated. 6.3.2.10 Timer 2 Compare and Compare Mode Registers 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- and 8-bit compare register. When assigned to the compare register a compare event will be suppressed. Address: '7'hex — Subaddress: '2'hex Bit 3 Bit 2 Bit 1 Bit 0 T2M2 T2TOP T2OS2 T2OS1 T2OS0 Reset value: 1111b 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 T2OS2 Timer 2 Output Select bit 2 T2OS1 Timer 2 Output Select bit 1 T2OS0 Timer 2 Output Select bit 0 Table 6-11. Timer 2 Output Select Bits Output Mode T2OS2 T2OS1 T2OS0 Clock Output 1111 Toggle mode: a Timer 2 compare match toggles the output flip-flop (M2) →T2O 2110 Duty cycle burst generator 1: the DCG output signal (DCG0) is given to the output and gated by the output flip-flop (M2) 3101 Duty cycle burst generator 2: the DCG output signal (DCGO) is given to the output and gated by the SSI internal data output (SO) 4100 Bi-phase modulator: Timer 2 modulates the SSI internal data output (SO) to Bi-phase code 5011 Manchester modulator: Timer 2 modulates the SSI internal data output (SO) to Manchester code 6010 SSI output: T2O is used directly as SSI internal data output (SO) 7001 PWM mode: an 8/12-bit PWM mode 8000 Not allowed |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |