| Electronic Components Datasheet Search |
|
CP3SP33SMS/NOPB Datasheet(PDF) 328 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CP3SP33SMS/NOPB Datasheet(HTML) 328 Page - Texas Instruments |
|
328 / 407 page ![]() Timer/Counter 1 TCNT1_n Timer 1 Clock Reload A TCRA_n TAPND TAIEN Timer Interrupt 1 TAEN TAn Underflow TDPND TDIEN Timer Interrupt 2 Timer/Counter 2 TnCNT2_n Timer 2 Clock Capture B TCRB_n TBn TBPND TBIEN Timer Interrupt 1 Preset TBEN DS454 CP3SP33 SNOSCW5 – MAY 2013 www.ti.com Figure 32-7. Input Capture Plus Timer Mode 32.3 Timer Interrupts The Multi-Function Timer unit has four interrupt sources, designated A, B, C, and D. Interrupt sources A, B, and C are mapped into a single system interrupt called Timer Interrupt 1, while interrupt source D is mapped into a system interrupt called Timer Interrupt 2. Each of the four interrupt sources has its own enable bit and pending bit. The enable bits are named TAIEN, TBIEN, TCIEN, and TDIEN. The pending bits are named TAPND, TBPND, TCPND, and TDPND. Timer Interrupts 1 and 2 are system interrupts TAn and TBn, respectively. Table 32-1 shows the events that trigger interrupts A, B, C, and D in each of the four operating modes. Note that some interrupt sources are not used in some operating modes. 32.4 Timer I/O Functions The Multi-Function Timer unit uses two I/O pins, called TAn and TBn. The function of each pin depends on the timer operating mode and the TAEN and TBEN enable bits. Table 32-2 shows the functions of the pins in each operating mode, and for each combination of enable bit settings. When the TAn pin is configured to operate as a PWM output (TAEN = 1), the state of the pin is toggled on each underflow of the TCNT1_n counter. In this case, the initial value on the pin is determined by the TAOUT bit. For example, to start with TAn high, software must set the TAOUT bit before enabling the timer clock. This option is available only when the timer is configured to operate in Mode 1, 3, or 4 (in other words, when TCRA_n is not used in Capture mode). Table 32-1. Timer Interrupts Overview Mode 2 Mode 4 Interrupt Mode 1 Mode 3 Sys. Int. Dual Input Capture + Single Capture + Pending Bit PWM + Counter Dual Counter Counter Counter Timer Int. 1 TAPND TCNT1_n reload from Input capture on TAn TCNT1_n reload from TCNT1_n reload from (TAn Int.) TCRA_n transition TCRA_n TCRA_n TBPND TCNT1_n reload from Input Capture on TBn N/A Input Capture on TBn TCRB_n transition transition TCPND N/A TCNT1_n underflow N/A N/A 328 Dual Multi-Function Timers Copyright © 2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links :CP3SP33 |
|
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 |