
1.8.1.2 Clock options
The TPM blocks are clocked from a single TPM clock that can be selected from
OSCERCLK, MCGIRCLK, MCGPLLCLK/2, or MCGFLLCLK . The selected source is
controlled by SIM_SOPT2[TPMSRC] and SIM_SOPT2[PLLFLLSEL].
Each TPM also supports an external clock mode (TPM_SC[CMOD]=1x) in which the
counter increments after a synchronized (to the selected TPM clock source) rising edge
detect of an external clock input. The available external clock (either TPM_CLKIN0 or
TPM_CLKIN1) is selected by SIM_SOPT4[TPMxCLKSEL] control register. To
guarantee valid operation the selected external clock must be less than half the frequency
of the selected TPM clock source.
1.8.1.3 Trigger options
Each TPM has a selectable 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 1-39. TPM trigger options
TPMx_CONF[TRGSEL]
Selected source
0000
Reserved.
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
Timers
MKW01Z128 MCU Reference Manual, Rev. 3, 04/2016
68
Freescale Semiconductor, Inc.
Summary of Contents for MKW01Z128
Page 7: ...MKW01xxRM Reference Manual Rev 3 04 2016 viii Freescale Semiconductor Inc...
Page 11: ...MKW01xxRM Reference Manual Rev 3 04 2016 xii Freescale Semiconductor Inc...
Page 133: ...MKW01Z128 MCU Reference Manual Rev 3 04 2016 2 Freescale Semiconductor Inc...
Page 233: ...Module clocks MKW01Z128 MCU Reference Manual Rev 3 04 2016 102 Freescale Semiconductor Inc...
Page 513: ...Interrupts MKW01Z128 MCU Reference Manual Rev 3 04 2016 382 Freescale Semiconductor Inc...
Page 633: ...CMP Trigger Mode MKW01Z128 MCU Reference Manual Rev 3 04 2016 502 Freescale Semiconductor Inc...