Information
FTM memory map (continued)
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
4003_9084 Configuration (FTM1_CONF) 32 R/W 0000_0000h
35.3.22/
731
4003_9088 FTM Fault Input Polarity (FTM1_FLTPOL) 32 R/W 0000_0000h
35.3.23/
733
4003_908C Synchronization Configuration (FTM1_SYNCONF) 32 R/W 0000_0000h
35.3.24/
734
4003_9090 FTM Inverting Control (FTM1_INVCTRL) 32 R/W 0000_0000h
35.3.25/
736
4003_9094 FTM Software Output Control (FTM1_SWOCTRL) 32 R/W 0000_0000h
35.3.26/
737
4003_9098 FTM PWM Load (FTM1_PWMLOAD) 32 R/W 0000_0000h
35.3.27/
740
35.3.3 Status And Control (FTMx_SC)
SC contains the overflow status flag and control bits used to configure the interrupt
enable, FTM configuration, clock source, and prescaler factor. These controls relate to all
channels within this module.
Addresses: FTM0_SC is 4003_8000h base + 0h offset = 4003_8000h
FTM1_SC is 4003_9000h base + 0h offset = 4003_9000h
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R
0
W
Reset
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R
0 TOF
TOIE
CPWMS
CLKS PS
W
0
Reset
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FTMx_SC field descriptions
Field Description
31–8
Reserved
This read-only field is reserved and always has the value zero.
7
TOF
Timer Overflow Flag
Set by hardware when the FTM counter passes the value in the MOD register. The TOF bit is cleared by
reading the SC register while TOF is set and then writing a 0 to TOF bit. Writing a 1 to TOF has no effect.
Table continues on the next page...
Chapter 35 FlexTimer Module (FTM)
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
Freescale Semiconductor, Inc. 697
