Struct stm32_hal2::pac::gpioa::bsrr::BS2_W [−][src]
pub struct BS2_W<'a> { /* fields omitted */ }
Write proxy for field BS2
Implementations
impl<'a> BS2_W<'a>
[src]
impl<'a> BS2_W<'a>
[src]pub fn variant(self, variant: BS15_AW) -> &'a mut W<u32, Reg<u32, _BSRR>>
[src]
Writes variant
to the field
pub fn set(self) -> &'a mut W<u32, Reg<u32, _BSRR>>
[src]
Sets the corresponding ODRx bit
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _BSRR>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _BSRR>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _BSRR>>
[src]
Writes raw bits to the field