Struct Int
#[repr(transparent)]pub struct Int(pub u32);Expand description
Enable or disable interrupt.
Tuple Fields§
§0: u32Implementations§
§impl Int
impl Int
pub const fn set_txdrdy(&mut self, val: bool)
pub const fn set_txdrdy(&mut self, val: bool)
Enable or disable interrupt for event TXDRDY.
pub const fn set_rxdrdy(&mut self, val: bool)
pub const fn set_rxdrdy(&mut self, val: bool)
Enable or disable interrupt for event RXDRDY.
pub const fn set_txstopped(&mut self, val: bool)
pub const fn set_txstopped(&mut self, val: bool)
Enable or disable interrupt for event TXSTOPPED.
pub const fn set_dmarxend(&mut self, val: bool)
pub const fn set_dmarxend(&mut self, val: bool)
Enable or disable interrupt for event DMARXEND.
pub const fn dmarxready(&self) -> bool
pub const fn dmarxready(&self) -> bool
Enable or disable interrupt for event DMARXREADY.
pub const fn set_dmarxready(&mut self, val: bool)
pub const fn set_dmarxready(&mut self, val: bool)
Enable or disable interrupt for event DMARXREADY.
pub const fn dmarxbuserror(&self) -> bool
pub const fn dmarxbuserror(&self) -> bool
Enable or disable interrupt for event DMARXBUSERROR.
pub const fn set_dmarxbuserror(&mut self, val: bool)
pub const fn set_dmarxbuserror(&mut self, val: bool)
Enable or disable interrupt for event DMARXBUSERROR.
pub const fn dmarxmatch0(&self) -> bool
pub const fn dmarxmatch0(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[0].
pub const fn set_dmarxmatch0(&mut self, val: bool)
pub const fn set_dmarxmatch0(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[0].
pub const fn dmarxmatch1(&self) -> bool
pub const fn dmarxmatch1(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[1].
pub const fn set_dmarxmatch1(&mut self, val: bool)
pub const fn set_dmarxmatch1(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[1].
pub const fn dmarxmatch2(&self) -> bool
pub const fn dmarxmatch2(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[2].
pub const fn set_dmarxmatch2(&mut self, val: bool)
pub const fn set_dmarxmatch2(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[2].
pub const fn dmarxmatch3(&self) -> bool
pub const fn dmarxmatch3(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[3].
pub const fn set_dmarxmatch3(&mut self, val: bool)
pub const fn set_dmarxmatch3(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[3].
pub const fn set_dmatxend(&mut self, val: bool)
pub const fn set_dmatxend(&mut self, val: bool)
Enable or disable interrupt for event DMATXEND.
pub const fn dmatxready(&self) -> bool
pub const fn dmatxready(&self) -> bool
Enable or disable interrupt for event DMATXREADY.
pub const fn set_dmatxready(&mut self, val: bool)
pub const fn set_dmatxready(&mut self, val: bool)
Enable or disable interrupt for event DMATXREADY.
pub const fn dmatxbuserror(&self) -> bool
pub const fn dmatxbuserror(&self) -> bool
Enable or disable interrupt for event DMATXBUSERROR.
pub const fn set_dmatxbuserror(&mut self, val: bool)
pub const fn set_dmatxbuserror(&mut self, val: bool)
Enable or disable interrupt for event DMATXBUSERROR.
pub const fn frametimeout(&self) -> bool
pub const fn frametimeout(&self) -> bool
Enable or disable interrupt for event FRAMETIMEOUT.
pub const fn set_frametimeout(&mut self, val: bool)
pub const fn set_frametimeout(&mut self, val: bool)
Enable or disable interrupt for event FRAMETIMEOUT.