Struct stm32_hal2::pac::usart1::cr1::M1_W [−][src]
pub struct M1_W<'a> { /* fields omitted */ }
Write proxy for field M1
Implementations
impl<'a> M1_W<'a>
[src]
impl<'a> M1_W<'a>
[src]pub fn variant(self, variant: M1_A) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Writes variant
to the field
pub fn m0(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Use M0 to set the data bits
pub fn bit7(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
1 start bit, 7 data bits, n stop bits
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