| Motore di ricerca datesheet componenti elettronici |
|
DSP56303 Scheda tecnica(PDF) 197 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56303 Scheda tecnica(HTML) 197 Page - Freescale Semiconductor, Inc |
|
197 / 292 page ![]() Operating Modes DSP56303 User’s Manual, Rev. 2 Freescale Semiconductor 9-5 9.3 Operating Modes Each timer has operating modes that meet a variety of system requirements, as follows: Timer — GPIO, mode 0: Internal timer interrupt generated by the internal clock — Pulse, mode 1: External timer pulse generated by the internal clock — Toggle, mode 2: Output timing signal toggled by the internal clock — Event counter, mode 3: Internal timer interrupt generated by an external clock Measurement — Input width, mode 4: Input pulse width measurement — Input period, mode 5: Input signal period measurement — Capture, mode 6: Capture external signal PWM, mode 7: Pulse width modulation Watchdog — Pulse, mode 9: Output pulse, internal clock — Toggle, mode 10: Output toggle, internal clock Note: To ensure proper operation, the TCSR TC[3–0] bits should be changed only when the timer is disabled (that is, when TCSR[TE] is cleared). 9.3.1 Triple Timer Modes For all triple timer modes, the following points are true: The TCSR[TE] bit is set to clear the counter and enable the timer. Clearing TCSR[TE] disables the timer. The value to which the timer is to count is loaded into the TCPR. (This is true for all modes except the measurement modes (modes 4 through 6). The counter is loaded with the TLR value on the first clock. If the counter overflows, TCSR[TOF] is set, and if TCSR[TOIE] is set, an overflow interrupt is generated. You can read the counter contents at any time from the Timer Count Register (TCR). 9.3.1.1 Timer GPIO (Mode 0) In Mode 0, the timer generates an internal interrupt when a counter value is reached, if the timer compare interrupt is enabled (see Figure 9-3 and Figure 9-4). When the counter equals the TCPR value, TCSR[TCF] is set and a compare interrupt is generated if the TCSR[TCIE] bit is Bit Settings Mode Characteristics TC3 TC2 TC1 TC0 Mode Name Function TIO Clock 0000 0 GPIO Timer GPIO Internal |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |