Tim1 Capture/Compare Enable Register (Timx_Ccer) - STMicroelectronics RM0365 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0365
Bits 7:4 IC3F: Input capture 3 filter
Bits 3:2 IC3PSC: Input capture 3 prescaler
Bits 1:0 CC3S: Capture/compare 3 selection
Note: CC3S bits are writable only when the channel is OFF (CC3E = '0' in TIMx_CCER).
20.4.9

TIM1 capture/compare enable register (TIMx_CCER)

Address offset: 0x20
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
CC4NP
Res.
CC4P
CC4E
rw
rw
Bits 31:22 Reserved, must be kept at reset value.
Bit 21 CC6P: Capture/Compare 6 output polarity
Bit 20 CC6E: Capture/Compare 6 output enable
Bits 19:18 Reserved, must be kept at reset value.
Bit 17 CC5P: Capture/Compare 5 output polarity
Bit 16 CC5E: Capture/Compare 5 output enable
Bit 15 CC4NP: Capture/Compare 4 complementary output polarity
Bit 14 Reserved, must be kept at reset value.
Bit 13 CC4P: Capture/Compare 4 output polarity
Bit 12 CC4E: Capture/Compare 4 output enable
Bit 11 CC3NP: Capture/Compare 3 complementary output polarity
Bit 10 CC3NE: Capture/Compare 3 complementary output enable
This bit-field defines the direction of the channel (input/output) as well as the used input.
00: CC3 channel is configured as output
01: CC3 channel is configured as input, IC3 is mapped on TI3
10: CC3 channel is configured as input, IC3 is mapped on TI4
11: CC3 channel is configured as input, IC3 is mapped on TRC. This mode is working only if
an internal trigger input is selected through TS bit (TIMx_SMCR register)
28
27
26
25
Res.
Res.
Res.
12
11
10
9
CC3NP CC3NE
CC3P
rw
rw
rw
rw
Refer to CC1P description
Refer to CC1E description
Refer to CC1P description
Refer to CC1E description
Refer to CC1NP description
Refer to CC1P description
Refer to CC1E description
Refer to CC1NP description
Refer to CC1NE description
24
23
22
Res.
Res.
Res.
8
7
6
CC3E
CC2NP CC2NE
rw
rw
rw
DocID025202 Rev 7
Advanced-control timers (TIM1)
21
20
19
18
CC6P
CC6E
Res.
Res.
rw
rw
5
4
3
2
CC2P
CC2E
CC1NP CC1NE
rw
rw
rw
rw
17
16
CC5P
CC5E
rw
rw
1
0
CC1P
CC1E
rw
rw
532/1080
549

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RM0365 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents