Struct stm32_hal2::pac::gpioa::odr::ODR0_W [−][src]
pub struct ODR0_W<'a> { /* fields omitted */ }
Write proxy for field ODR0
Implementations
impl<'a> ODR0_W<'a>
[src]
impl<'a> ODR0_W<'a>
[src]pub fn variant(self, variant: ODR15_A) -> &'a mut W<u32, Reg<u32, _ODR>>
[src]
Writes variant
to the field
pub fn high(self) -> &'a mut W<u32, Reg<u32, _ODR>>
[src]
Set output to logic high
pub fn low(self) -> &'a mut W<u32, Reg<u32, _ODR>>
[src]
Set output to logic low
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _ODR>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _ODR>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _ODR>>
[src]
Writes raw bits to the field