| Electronic Components Datasheet Search |
|
MAC7200 Datasheet(PDF) 554 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MAC7200 Datasheet(HTML) 554 Page - Freescale Semiconductor, Inc |
|
554 / 976 page ![]() Functional Description MAC7200 Microcontroller Family Reference Manual, Rev. 2 476 Freescale Semiconductor 26.9 Functional Description 26.9.1 General This section gives detailed information on the internal operation of the module. The PIT block has 11 timers: one RTI timer especially to wakeup the processor and 10 additional timers for general-purpose use (e.g. DMA triggering, ATD triggering). 26.9.1.1 Timer / RTI The timers generate triggers at periodic intervals, when enabled. They load their start values, as specified in their TLVAL registers, then count down until they reach 0. This creates a trigger then they load their respective start value again. Each time a timer reachers 0, it will generate a trigger pulse, and set the interrupt flag. All interrupts can be enabled or masked (by setting the TIE/RTIE bits in the PITINTEN register and selecting interrupts in the PITINTSEL register). A new interrupt can be generated only after the previous one is cleared. Since in the case of the RTI, clearing the interrupt crosses clock domains, a minimum load value of 32 should be maintained. If desired, the current counter value of the timer can be read via the TVAL registers. The value of the RTI counter can be delayed considerably, as it is synchronized to the bus clock from the RTI clock domain. The counter period can be restarted, by first disabling, then enabling the timer with the PITEN registers (see Figure 26-11). The counter period of a running timer can be modified, by first disabling the timer, setting a new load value and then enabling the timer again (see Figure 26-12). It is also possible to change the counter period without restarting the timer by writing the TLVAL register with the new load value. This value will then be loaded after the next trigger event (see Figure 26-13). Figure 26-11. Stopping and Starting a Timer Figure 26-12. Modifying Running Timer Period p1 p1 Timer Enabled Disable Timer p1 Start Value = p1 Trigger Event p1 Re-Enable Timer p1 Timer Enabled Disable Timer, Start Value = p1 Trigger Event Re-Enable Timer p1 Set new Start Value p2 p2 p2 |
|
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 |