Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
274
/
631
Bit field
Name
Description
9:8
CC4SEL[1:0]
Capture/Compare 4 selection
These bits are used to select the input/output and input mapping of the channel
00: CC4 channel is configured as output
01: CC4 channel is configured as input, IC4 is mapped on TI4
10: CC4 channel is configured as input, IC4 is mapped on TI3
11: CC4 channel is configured as input, IC4 is mapped on TRC. This mode is only active when
the internal trigger input is selected by TIMx_SMCTRL.TSEL.
Note: CC4SEL is writable only when the channel is off (TIMx_CCEN.CC4EN = 0).
7:4
IC3F[3:0]
Input Capture 3 filter
3:2
IC3PSC[1:0]
Input Capture 3 Prescaler
1:0
CC3SEL[1:0]
Capture/compare 3 selection
These bits are used to select the input/output and input mapping of the channel
00: CC3 channel is configured as output
01: CC3 channel is configured as input, IC3 is mapped to TI3
10: CC3 channel is configured as input, IC3 is mapped on TI4
11: CC3 channel is configured as input, IC3 is mapped to TRC. This mode is only active when
the internal trigger input is selected by TIMx_SMCTRL.TSEL.
Note: CC3SEL is writable only when the channel is off (TIMx_CCEN.CC3EN = 0).
Capture/compare enable registers (TIMx_CCEN)
Offset address: 0x20
Reset value: 0x0000
Bit field
Name
Description
15:14
Reserved
Reserved, the reset value must be maintained.
13
CC4P
Capture/Compare 4 output polarity
See TIMx_CCEN.CC1P description.
12
CC4EN
Capture/Compare 4 output enable
See TIMx_CCEN.CC1EN description.
11:10
Reserved
Reserved, the reset value must be maintained
9
CC3P
Capture/Compare 3 output polarity
See TIMx_CCEN.CC1P description.
8
CC3EN
Capture/Compare 3 output enable
See TIMx_CCEN.CC1EN description.
7:6
Reserved
Reserved, the reset value must be maintained
5
CC2P
Capture/Compare 2 output polarity
See TIMx_CCEN.CC1P description.