Tim14 Capture/Compare Mode Register 1 [Alternate] (Tim14_Ccmr1) - ST STM32G0 1 Series Reference Manual

Table of Contents

Advertisement

RM0444
Bits 15:2 Reserved, must be kept at reset value.
Bit 1 CC1G: Capture/compare 1 generation
Bit 0 UG: Update generation
24.4.5

TIM14 capture/compare mode register 1 [alternate] (TIM14_CCMR1)

Address offset: 0x18
Reset value: 0x0000 0000
The same register can be used for input capture mode (this section) or for output compare
mode (next section). The direction of a channel is defined by configuring the corresponding
CCxS bits. All the other bits of this register have a different function in input and in output
mode.
Input capture mode:
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31:8
This bit is set by software in order to generate an event, it is automatically cleared by
hardware.
0: No action
1: A capture/compare event is generated on channel 1:
If channel CC1 is configured as output:
CC1IF flag is set, Corresponding interrupt or is sent if enabled.
If channel CC1 is configured as input:
The current value of the counter is captured in TIMx_CCR1 register. The CC1IF flag is set,
the corresponding interrupt is sent if enabled. The CC1OF flag is set if the CC1IF flag was
already high.
This bit can be set by software, it is automatically cleared by hardware.
0: No action
1: Re-initialize the counter and generates an update of the registers. Note that the prescaler
counter is cleared too (anyway the prescaler ratio is not affected). The counter is cleared.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
Reserved, must be kept at reset value.
24
23
22
Res.
Res.
Res.
8
7
6
Res.
IC1F[3:0]
rw
rw
RM0444 Rev 5
General-purpose timers (TIM14)
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
IC1PSC[1:0]
rw
rw
rw
rw
17
16
Res.
Res.
1
0
CC1S[1:0]
rw
rw
733/1390
740

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G0 1 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF