Struct stm32g0::stm32g0c1::tim1::ccmr2_output::CC4S_W[][src]

pub struct CC4S_W<'a> { /* fields omitted */ }
Expand description

Field CC4S writer - 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).

Implementations

Writes variant to the field

CC4 channel is configured as output

CC4 channel is configured as input, IC4 is mapped on TI4

CC4 channel is configured as input, IC4 is mapped on TI3

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)

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.