Struct stm32_hal2::pac::exti::ftsr1::TR2_W [−][src]
pub struct TR2_W<'a> { /* fields omitted */ }
Write proxy for field TR2
Implementations
impl<'a> TR2_W<'a>
[src]
impl<'a> TR2_W<'a>
[src]pub fn variant(self, variant: TR0_A) -> &'a mut W<u32, Reg<u32, _FTSR1>>
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W<u32, Reg<u32, _FTSR1>>
[src]
Falling edge trigger is disabled
pub fn enabled(self) -> &'a mut W<u32, Reg<u32, _FTSR1>>
[src]
Falling edge trigger is enabled
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _FTSR1>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _FTSR1>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _FTSR1>>
[src]
Writes raw bits to the field