TPMx_CONF field descriptions (continued)
Field
Description
27–24
TRGSEL
Trigger Select
Selects the input trigger to use for starting, reloading and/or pausing the counter. The source of the trigger
(external or internal to the TPM) is configured by the TRGSRC field. This field should only be changed
when the TPM counter is disabled.
Refer to the chip configuration section for available external trigger options.
The available internal trigger sources are listed below.
0001
Channel 0 pin input capture
0010
Channel 1 pin input capture
0011
Channel 0 or Channel 1 pin input capture
0100
Channel 2 pin input capture
0101
Channel 0 or Channel 2 pin input capture
0110
Channel 1 or Channel 2 pin input capture
0111
Channel 0 or Channel 1 or Channel 2 pin input capture
1000
Channel 3 pin input capture
1001
Channel 0 or Channel 3 pin input capture
1010
Channel 1 or Channel 3 pin input capture
1011
Channel 0 or Channel 1 or Channel 3 pin input capture
1100
Channel 2 or Channel 3 pin input capture
1101
Channel 0 or Channel 2 or Channel 3 pin input capture
1110
Channel 1 or Channel 2 or Channel 3 pin input capture
1111
Channel 0 or Channel 1 or Channel 2 or Channel 3 pin input capture
23
TRGSRC
Trigger Source
Selects between internal (channel pin input capture) or external trigger sources.
When selecting an internal trigger, the channel selected should be configured for input capture. Only a
rising edge input capture can be used to initially start the counter using the CSOT configuration; either
rising edge or falling edge input capture can be used to reload the counter using the CROT configuration;
and the state of the channel input pin is used to pause the counter using the CPOT configuration. The
channel polarity register can be used to invert the polarity of the channel input pins.
This field should only be changed when the TPM counter is disabled.
0
Trigger source selected by TRGSEL is external.
1
Trigger source selected by TRGSEL is internal (channel pin input capture).
22
TRGPOL
Trigger Polarity
Selects the polarity of the external trigger source. This field should only be changed when the TPM
counter is disabled.
0
Trigger is active high.
1
Trigger is active low.
21–20
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
19
CPOT
Counter Pause On Trigger
When enabled, the counter will pause incrementing while the trigger remains asserted (level sensitive).
This field should only be changed when the TPM counter is disabled.
18
CROT
Counter Reload On Trigger
Table continues on the next page...
Memory Map and Register Definition
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
472
Freescale Semiconductor, Inc.
Содержание MKL27Z128VFM4
Страница 2: ...KL27 Sub Family Reference Manual Rev 5 01 2016 2 Freescale Semiconductor Inc...
Страница 54: ...AWIC introduction KL27 Sub Family Reference Manual Rev 5 01 2016 54 Freescale Semiconductor Inc...
Страница 100: ...Module operation in low power modes KL27 Sub Family Reference Manual Rev 5 01 2016 100 Freescale Semiconductor Inc...
Страница 142: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 142 Freescale Semiconductor Inc...
Страница 248: ...Memory map and register descriptions KL27 Sub Family Reference Manual Rev 5 01 2016 248 Freescale Semiconductor Inc...
Страница 256: ...Memory map register descriptions KL27 Sub Family Reference Manual Rev 5 01 2016 256 Freescale Semiconductor Inc...
Страница 262: ...Initialization application information KL27 Sub Family Reference Manual Rev 5 01 2016 262 Freescale Semiconductor Inc...
Страница 292: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 292 Freescale Semiconductor Inc...
Страница 324: ...Functional Description KL27 Sub Family Reference Manual Rev 5 01 2016 324 Freescale Semiconductor Inc...
Страница 390: ...Application information KL27 Sub Family Reference Manual Rev 5 01 2016 390 Freescale Semiconductor Inc...
Страница 422: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 422 Freescale Semiconductor Inc...
Страница 432: ...Initialization Application Information KL27 Sub Family Reference Manual Rev 5 01 2016 432 Freescale Semiconductor Inc...
Страница 442: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 442 Freescale Semiconductor Inc...
Страница 512: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 512 Freescale Semiconductor Inc...
Страница 610: ...Initialization application information KL27 Sub Family Reference Manual Rev 5 01 2016 610 Freescale Semiconductor Inc...
Страница 646: ...Initialization application information KL27 Sub Family Reference Manual Rev 5 01 2016 646 Freescale Semiconductor Inc...
Страница 744: ...Application information KL27 Sub Family Reference Manual Rev 5 01 2016 744 Freescale Semiconductor Inc...
Страница 784: ...Application Information KL27 Sub Family Reference Manual Rev 5 01 2016 784 Freescale Semiconductor Inc...
Страница 830: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 830 Freescale Semiconductor Inc...
Страница 850: ...Application information KL27 Sub Family Reference Manual Rev 5 01 2016 850 Freescale Semiconductor Inc...
Страница 886: ...Functional description KL27 Sub Family Reference Manual Rev 5 01 2016 886 Freescale Semiconductor Inc...