![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 457](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847457.webp)
29.1.3 Trigger options
Each TPM has a selectable external trigger input source controlled by
TPMx_CONF[TRGSEL] to use for starting the counter and/or reloading the counter. The
options available are shown in the following table.
Table 29-3. TPM external trigger options
TPMx_CONF[TRGSEL]
Selected source
0000
External trigger pin input (EXTRG_IN)
0001
CMP0 output
0010
Reserved
0011
Reserved
0100
PIT trigger 0
0101
PIT trigger 1
0110
Reserved
0111
Reserved
1000
TPM0 overflow
1001
TPM1 overflow
1010
TPM2 overflow
1011
Reserved
1100
RTC alarm
1101
RTC seconds
1110
LPTMR trigger
1111
Reserved
29.1.4 Global timebase
Each TPM has a global timebase feature controlled by TPMx_CONF[GTBEEN]. TPM1
is configured as the global time when this option is enabled.
29.1.5 TPM interrupts
The TPM has multiple sources of interrupt. However, these sources are OR'd together to
generate a single interrupt request to the interrupt controller. When an TPM interrupt
occurs, read the TPM status registers to determine the exact interrupt source.
Chapter 29 Timer/PWM Module (TPM)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
457