![Freescale Semiconductor KKL02Z32CAF4R Скачать руководство пользователя страница 421](http://html1.mh-extra.com/html/freescale-semiconductor/kkl02z32caf4r/kkl02z32caf4r_reference-manual_2330635421.webp)
TPMx_CONF field descriptions (continued)
Field
Description
This field should only be changed when the TPM counter is disabled.
0
TPM counter continues incrementing or decrementing after overflow
1
TPM counter stops incrementing or decrementing after overflow.
16
CSOT
Counter Start on Trigger
When set, the TPM counter will not start incrementing after it is enabled until a rising edge on the selected
trigger input is detected. If the TPM counter is stopped due to an overflow, a rising edge on the selected
trigger input will also cause the TPM counter to start incrementing again.
The trigger input is ignored if the TPM counter is paused during debug mode or doze mode. This field
should only be changed when the TPM counter is disabled.
0
TPM counter starts to increment immediately, once it is enabled.
1
TPM counter only starts to increment when it a rising edge on the selected input trigger is detected,
after it has been enabled or after it has stopped due to overflow.
15–10
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
9
GTBEEN
Global time base enable
Configures the TPM to use an externally generated global time base counter. When an externally
generated timebase is used, the internal TPM counter is not used by the channels but can be used to
generate a periodic interrupt using the Modulo register and timer overflow flag.
0
All channels use the internally generated TPM counter as their timebase
1
All channels use an externally generated global timebase as their timebase
8
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
7–6
DBGMODE
Debug Mode
Configures the TPM behavior in debug mode. All other configurations are reserved.
00
TPM counter is paused and does not increment during debug mode. Trigger inputs and input capture
events are also ignored.
11
TPM counter continues in debug mode.
5
DOZEEN
Doze Enable
Configures the TPM behavior in wait mode.
0
Internal TPM counter continues in Doze mode.
1
Internal TPM counter is paused and does not increment during Doze mode. Trigger inputs and input
capture events are also ignored.
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
27.4 Functional Description
The following sections describe the TPM features.
Chapter 27 Timer/PWM Module (TPM)
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
421
Содержание KKL02Z32CAF4R
Страница 2: ...KL02 Sub Family Reference Manual Rev 2 1 July 2013 2 Freescale Semiconductor Inc...
Страница 24: ...KL02 Sub Family Reference Manual Rev 2 1 July 2013 24 Freescale Semiconductor Inc...
Страница 36: ...Orderable part numbers KL02 Sub Family Reference Manual Rev 2 1 July 2013 36 Freescale Semiconductor Inc...
Страница 76: ...Human machine interfaces HMI KL02 Sub Family Reference Manual Rev 2 1 July 2013 76 Freescale Semiconductor Inc...
Страница 94: ...Module clocks KL02 Sub Family Reference Manual Rev 2 1 July 2013 94 Freescale Semiconductor Inc...
Страница 142: ...Functional description KL02 Sub Family Reference Manual Rev 2 1 July 2013 142 Freescale Semiconductor Inc...
Страница 188: ...Memory map and register descriptions KL02 Sub Family Reference Manual Rev 2 1 July 2013 188 Freescale Semiconductor Inc...
Страница 214: ...Application information KL02 Sub Family Reference Manual Rev 2 1 July 2013 214 Freescale Semiconductor Inc...
Страница 222: ...Memory map register descriptions KL02 Sub Family Reference Manual Rev 2 1 July 2013 222 Freescale Semiconductor Inc...
Страница 256: ...Memory map and register definition KL02 Sub Family Reference Manual Rev 2 1 July 2013 256 Freescale Semiconductor Inc...
Страница 300: ...Functional description KL02 Sub Family Reference Manual Rev 2 1 July 2013 300 Freescale Semiconductor Inc...
Страница 532: ...Functional description KL02 Sub Family Reference Manual Rev 2 1 July 2013 532 Freescale Semiconductor Inc...
Страница 534: ...KL02 Sub Family Reference Manual Rev 2 1 July 2013 534 Freescale Semiconductor Inc...