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

Writes variant to the field

CC2 channel is configured as output.

CC2 channel is configured as input, IC2 is mapped on TI2.

CC2 channel is configured as input, IC2 is mapped on TI1.

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)

Writes raw bits to the field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.