Trigger Options; Global Timebase; Tpm Interrupts - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

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.
TPMx_CONF[TRGSEL]

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.
Freescale Semiconductor, Inc.
Table 29-3. TPM external trigger options
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Chapter 29 Timer/PWM Module (TPM)
Selected source
External trigger pin input (EXTRG_IN)
CMP0 output
Reserved
Reserved
PIT trigger 0
PIT trigger 1
Reserved
Reserved
TPM0 overflow
TPM1 overflow
TPM2 overflow
Reserved
RTC alarm
RTC seconds
LPTMR trigger
Reserved
457

Advertisement

Table of Contents
loading

Table of Contents