Struct stm32_hal2::pac::usart1::cr3::HDSEL_W [−][src]
pub struct HDSEL_W<'a> { /* fields omitted */ }
Write proxy for field HDSEL
Implementations
impl<'a> HDSEL_W<'a>
[src]
impl<'a> HDSEL_W<'a>
[src]pub fn variant(self, variant: HDSEL_A) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Writes variant
to the field
pub fn not_selected(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Half duplex mode is not selected
pub fn selected(self) -> &'a mut W<u32, Reg<u32, _CR3>>
[src]
Half duplex mode is selected
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