| Electronic Components Datasheet Search |
|
CP3UB26 Datasheet(PDF) 192 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
CP3UB26 Datasheet(HTML) 192 Page - National Semiconductor (TI) |
|
192 / 268 page ![]() www.national.com 192 25.2.3 Mode 3: Dual Independent Timer/Counter Mode 3 is the Dual Independent Timer mode, which gener- ates system timing signals or counts occurrences of exter- nal events. Figure 89 is a block diagram of the Multi-Function Timer configured to operate in Mode 3. The timer is configured to operate as a dual independent system timer or dual external event counter. In addition, Timer/Counter 1 can generate a 50% duty cycle PWM signal on the TA pin. The TB pin can be used as an external event input or pulse-accumulate in- put and can be used as the clock source for either Timer/ Counter 1 or Timer/Counter 2. Both counters can also be clocked by the prescaled System Clock. Timer/Counter 1 (TCNT1) counts down at the rate of the se- lected clock. On underflow, it is reloaded from the TCRA register and counting proceeds down from the reloaded val- ue. In addition, the TA pin is toggled on each underflow if this function is enabled by the TAEN bit. The initial state of the TA pin is software-programmable. When the TA pin is tog- gled from low to high, it sets the TCPND interrupt pending bit and also generates an interrupt if enabled by the TAIEN bit. Because the TA pin toggles on every underflow, a 50% duty cycle PWM signal can be generated on the TA pin without any further action from the CPU. Timer/Counter 2 (TCNT2) counts down at the rate of the se- lected clock. On underflow, it is reloaded from the TCRB register and counting proceeds down from the reloaded val- ue. In addition, each underflow sets the TDPND interrupt pending bit and generates an interrupt if the interrupt is en- abled by the TDIEN bit. Figure 89. Dual-Independent Timer/Counter Mode Timer/Counter 1 TCNT1 Timer 1 Clock Reload A TCRA TAPND TAIEN Timer Interrupt 1 TAEN TA TB Underflow Timer/Counter 2 TCNT2 Timer 2 Clock Reload B TCRB TDPND TDIEN Timer Interrupt 2 Underflow Clock Selector DS086 |
|
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 |