Struct stm32_hal2::pac::tim2::cr2::TI1S_W [−][src]
pub struct TI1S_W<'a> { /* fields omitted */ }
Write proxy for field TI1S
Implementations
impl<'a> TI1S_W<'a>
[src]
impl<'a> TI1S_W<'a>
[src]pub fn variant(self, variant: TI1S_A) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Writes variant
to the field
pub fn normal(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
The TIMx_CH1 pin is connected to TI1 input
pub fn xor(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
The TIMx_CH1, CH2, CH3 pins are connected to TI1 input
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _CR2>>
[src]
Writes raw bits to the field