Struct stm32_hal2::pac::lpuart1::cr1::TXEIE_W [−][src]
pub struct TXEIE_W<'a> { /* fields omitted */ }
Write proxy for field TXEIE
Implementations
impl<'a> TXEIE_W<'a>
[src]
impl<'a> TXEIE_W<'a>
[src]pub fn variant(self, variant: TXEIE_A) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Interrupt is disabled
pub fn enabled(self) -> &'a mut W<u32, Reg<u32, _CR1>>
[src]
Interrupt is generated whenever TXE=1 in the ISR register
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