Struct lpc55_pac::spi0::fifointenset::TXERR_W [−][src]
pub struct TXERR_W<'a> { /* fields omitted */ }
Field TXERR
writer - Determines whether an interrupt occurs when a transmit error occurs, based on the TXERR flag in the FIFOSTAT register.
Implementations
impl<'a> TXERR_W<'a>
[src]
impl<'a> TXERR_W<'a>
[src]pub fn variant(self, variant: TXERR_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
No interrupt will be generated for a transmit error.
pub fn enabled(self) -> &'a mut W
[src]
An interrupt will be generated when a transmit error occurs.
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