STMicroelectronics /STM32G051 /TIM1 /CCMR2_Output

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CCMR2_Output

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)CC3S 0 (OC3FE)OC3FE 0 (OC3PE)OC3PE 0OC3M10 (OC3CE)OC3CE 0 (B_0x0)CC4S 0 (OC4FE)OC4FE 0 (OC4PE)OC4PE 0OC4M10 (OC4CE)OC4CE 0 (OC3M2)OC3M2 0 (OC4M2)OC4M2

CC3S=B_0x0, CC4S=B_0x0

Description

capture/compare mode register 2 (output mode)

Fields

CC3S

Capture/Compare 3 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC3S bits are writable only when the channel is OFF (CC3E = '0’ in TIMx_CCER).

0 (B_0x0): CC3 channel is configured as output

1 (B_0x1): CC3 channel is configured as input, IC3 is mapped on TI3

2 (B_0x2): CC3 channel is configured as input, IC3 is mapped on TI4

3 (B_0x3): 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)

OC3FE

Output compare 3 fast enable Refer to OC1FE description.

OC3PE

Output compare 3 preload enable Refer to OC1PE description.

OC3M1

Output compare 3 mode Refer to OC1M[3:0] description.

OC3CE

Output compare 3 clear enable Refer to OC1CE description.

CC4S

Capture/Compare 4 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC4S bits are writable only when the channel is OFF (CC4E = '0’ in TIMx_CCER).

0 (B_0x0): CC4 channel is configured as output

1 (B_0x1): CC4 channel is configured as input, IC4 is mapped on TI4

2 (B_0x2): CC4 channel is configured as input, IC4 is mapped on TI3

3 (B_0x3): CC4 channel is configured as input, IC4 is mapped on TRC. This mode is working only if an internal trigger input is selected through TS bit (TIMx_SMCR register)

OC4FE

Output compare 4 fast enable Refer to OC1FE description.

OC4PE

Output compare 4 preload enable Refer to OC1PE description.

OC4M1

Output compare 4 mode Refer to OC3M[3:0] description.

OC4CE

Output compare 4 clear enable Refer to OC1CE description.

OC3M2

Output compare 3 mode Refer to OC1M[3:0] description.

OC4M2

Output compare 4 mode Refer to OC3M[3:0] description.

Links

()