• 32-bit Periodic Counter: In this mode the counter will load and then decrement down
to zero. It will then set the timer interrupt flag and assert the output pre-trigger.
• Dual 16-bit Periodic Counter: In this mode, the counter will load and then the lower
16-bits will decrement down to zero, which will assert the output pre-trigger. The
upper 16-bits will then decrement down to zero, which will negate the output pre-
trigger and set the timer interrupt flag.
• 32-bit Trigger Accumulator: In this mode, the counter will load on the first trigger
rising edge and then decrement down to zero on each trigger rising edge. It will then
set the timer interrupt flag and assert the output pre-trigger.
• 32-bit Trigger Input Capture: In this mode, the counter will load with 0xFFFF_FFFF
and then decrement down to zero. If a trigger rising edge is detected, it will store the
inverse of the current counter value in the load value register, set the timer interrupt
flag and assert the output pre-trigger.
The timer operation is further controlled by Trigger Control bits (TSOT, TSOI, TROT)
which control the timer load, reload, start and restart of the timers.
NOTE
• The trigger output is asserted one Protocol Timer Clock
cycle later than pre-trigger output. The trigger output and
the pre-trigger output de-assert at the same time.
• The pre-trigger output is asserted for two clock cycles and
trigger output is asserted for one clock cycle (except in 16-
bit Periodic Counter mode where both pre-trigger and
trigger are asserted for many cycles depending on
TMR_VAL[31:16]).
42.5.3 Trigger Control for Timers
The TSOT, TROT, TSOI and TRG_SEL, TRG_SRC bits control how the trigger input
affects the timer operation. The TRG_SEL selects the input trigger for the channel from
all other channel's trigger outputs. The TRG_SRC further selects between the selected
internal trigger and the external trigger input to the channel.
The selected trigger affects the timer operation based on TROT, TSOI & TSOT bits. The
behavior due to these bits is as follows:
• If TSOI = 1, counter stops on TIF assertion. Requires trigger (if TSOT = 1) or T_EN
rising edge (if TSOT = 0), to reload and decrement. If TSOI = 0, counter does not
stop after timeout.
Functional description
Kinetis KE1xF Sub-Family Reference Manual, Rev. 4, 06/2019
1138
NXP Semiconductors
Содержание KE1xF Series
Страница 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Страница 60: ...SysTick Clock Configuration Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 60 NXP Semiconductors...
Страница 114: ...Initialization application information Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 114 NXP Semiconductors...
Страница 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Страница 320: ...Private Peripheral Bus PPB memory map Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 320 NXP Semiconductors...
Страница 342: ...Functional Description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 342 NXP Semiconductors...
Страница 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Страница 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Страница 550: ...Memory map and register definition Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 550 NXP Semiconductors...
Страница 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Страница 662: ...Power supply supervisor Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 662 NXP Semiconductors...
Страница 694: ...On chip resource access control mechanism Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 694 NXP Semiconductors...
Страница 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Страница 724: ...Application Information Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 724 NXP Semiconductors...
Страница 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Страница 750: ...Debug and Security Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 750 NXP Semiconductors...
Страница 798: ...Functional description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 798 NXP Semiconductors...
Страница 808: ...Functional description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 808 NXP Semiconductors...
Страница 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Страница 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Страница 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Страница 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Страница 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Страница 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...