stm32 /stm32h5 /STM32H503 /TIM2 /TIM2_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 TIM2_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

CC4S=B_0x0, CC3S=B_0x0

Description

TIM2 capture/compare mode register 2 [alternate]

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, tim_ic3 is mapped on tim_ti3

2 (B_0x2): CC3 channel is configured as input, tim_ic3 is mapped on tim_ti4

3 (B_0x3): CC3 channel is configured as input, tim_ic3 is mapped on tim_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

OC3PE

Output compare 3 preload enable

OC3M1

Output compare 3 mode Refer to OC1M description (bits 6:4 in TIMx_CCMR1 register)

OC3CE

Output compare 3 clear enable

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, tim_ic4 is mapped on tim_ti4

2 (B_0x2): CC4 channel is configured as input, tim_ic4 is mapped on tim_ti3

3 (B_0x3): CC4 channel is configured as input, tim_ic4 is mapped on tim_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

OC4PE

Output compare 4 preload enable

OC4M1

Output compare 4 mode Refer to OC1M description (bits 6:4 in TIMx_CCMR1 register)

OC4CE

Output compare 4 clear enable

OC3M2

Output compare 3 mode Refer to OC1M description (bits 6:4 in TIMx_CCMR1 register)

OC4M2

Output compare 4 mode Refer to OC1M description (bits 6:4 in TIMx_CCMR1 register)

Links

()