Struct stm32g0::stm32g0b0::tim3::ccmr1_output::CC2S_W [−][src]
pub struct CC2S_W<'a> { /* fields omitted */ }
Expand description
Field CC2S
writer - Capture/compare 2 selection This bit-field defines the direction of the channel (input/output) as well as the used input. Note: CC2S bits are writable only when the channel is OFF (CC2E = 0 in TIMx_CCER).
Implementations
CC2 channel is configured as input, IC2 is mapped on TRC. This mode is working only if an internal trigger input is selected through TS bit (TIMx_SMCR register)