Struct stm32_hal2::pac::tim1::ccmr1_output::CC2S_W [−][src]
pub struct CC2S_W<'a> { /* fields omitted */ }
Write proxy for field CC2S
Implementations
impl<'a> CC2S_W<'a>
[src]
impl<'a> CC2S_W<'a>
[src]pub fn variant(self, variant: CC2S_A) -> &'a mut W<u32, Reg<u32, _CCMR1_OUTPUT>>
[src]
Writes variant
to the field
pub fn output(self) -> &'a mut W<u32, Reg<u32, _CCMR1_OUTPUT>>
[src]
CC2 channel is configured as output
pub unsafe fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _CCMR1_OUTPUT>>
[src]
Writes raw bits to the field