Struct lpc55_pac::usart0::fifointenset::TXLVL_W [−][src]
pub struct TXLVL_W<'a> { /* fields omitted */ }
Field TXLVL
writer - Determines whether an interrupt occurs when a the transmit FIFO reaches the level specified by the TXLVL field in the FIFOTRIG register.
Implementations
impl<'a> TXLVL_W<'a>
[src]
impl<'a> TXLVL_W<'a>
[src]pub fn variant(self, variant: TXLVL_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
No interrupt will be generated based on the TX FIFO level.
pub fn enabled(self) -> &'a mut W
[src]
If TXLVLENA in the FIFOTRIG register = 1, an interrupt will be generated when the TX FIFO level decreases to the level specified by TXLVL in the FIFOTRIG register.
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field