Struct stm32_hal2::pac::lpuart1::cr3::DEM_W [−][src]
pub struct DEM_W<'a> { /* fields omitted */ }
Write proxy for field DEM
Implementations
impl<'a> DEM_W<'a>
[src]
impl<'a> DEM_W<'a>
[src]pub fn variant(self, variant: DEM_A) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
DE function is disabled
pub fn enabled(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
The DE signal is output on the RTS pin
pub fn set_bit(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Writes raw bits to the field