Struct stm32_hal2::pac::lpuart1::cr1::PS_W [−][src]
pub struct PS_W<'a> { /* fields omitted */ }
Write proxy for field PS
Implementations
impl<'a> PS_W<'a>
[src]
impl<'a> PS_W<'a>
[src]pub fn variant(self, variant: PS_A) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Writes variant
to the field
pub fn even(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Even parity
pub fn odd(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Odd parity
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Writes raw bits to the field