#[repr(transparent)]pub struct DmaCh1Status(pub u32);Expand description
DMA Channel 1 Status.
Tuple Fields§
§0: u32Implementations§
Source§impl DmaCh1Status
impl DmaCh1Status
Sourcepub const fn ti(&self) -> bool
pub const fn ti(&self) -> bool
Transmit Interrupt. Raw bit values: false (0) = Inactive: Transmit Interrupt status not detected.; true (1) = Active: Transmit Interrupt status detected.
Sourcepub const fn set_ti(&mut self, val: bool)
pub const fn set_ti(&mut self, val: bool)
Transmit Interrupt. Raw bit values: false (0) = Inactive: Transmit Interrupt status not detected.; true (1) = Active: Transmit Interrupt status detected.
Sourcepub const fn tps(&self) -> bool
pub const fn tps(&self) -> bool
Transmit Process Stopped. Raw bit values: false (0) = Inactive: Transmit Process Stopped status not detected.; true (1) = Active: Transmit Process Stopped status detected.
Sourcepub const fn set_tps(&mut self, val: bool)
pub const fn set_tps(&mut self, val: bool)
Transmit Process Stopped. Raw bit values: false (0) = Inactive: Transmit Process Stopped status not detected.; true (1) = Active: Transmit Process Stopped status detected.
Sourcepub const fn tbu(&self) -> bool
pub const fn tbu(&self) -> bool
Transmit Buffer Unavailable. Raw bit values: false (0) = Inactive: Transmit Buffer Unavailable status not detected.; true (1) = Active: Transmit Buffer Unavailable status detected.
Sourcepub const fn set_tbu(&mut self, val: bool)
pub const fn set_tbu(&mut self, val: bool)
Transmit Buffer Unavailable. Raw bit values: false (0) = Inactive: Transmit Buffer Unavailable status not detected.; true (1) = Active: Transmit Buffer Unavailable status detected.
Sourcepub const fn ri(&self) -> bool
pub const fn ri(&self) -> bool
Receive Interrupt. Raw bit values: false (0) = Inactive: Receive Interrupt status not detected.; true (1) = Active: Receive Interrupt status detected.
Sourcepub const fn set_ri(&mut self, val: bool)
pub const fn set_ri(&mut self, val: bool)
Receive Interrupt. Raw bit values: false (0) = Inactive: Receive Interrupt status not detected.; true (1) = Active: Receive Interrupt status detected.
Sourcepub const fn rbu(&self) -> bool
pub const fn rbu(&self) -> bool
Receive Buffer Unavailable. Raw bit values: false (0) = Inactive: Receive Buffer Unavailable status not detected.; true (1) = Active: Receive Buffer Unavailable status detected.
Sourcepub const fn set_rbu(&mut self, val: bool)
pub const fn set_rbu(&mut self, val: bool)
Receive Buffer Unavailable. Raw bit values: false (0) = Inactive: Receive Buffer Unavailable status not detected.; true (1) = Active: Receive Buffer Unavailable status detected.
Sourcepub const fn rps(&self) -> bool
pub const fn rps(&self) -> bool
Receive Process Stopped. Raw bit values: false (0) = Inactive: Receive Process Stopped status not detected.; true (1) = Active: Receive Process Stopped status detected.
Sourcepub const fn set_rps(&mut self, val: bool)
pub const fn set_rps(&mut self, val: bool)
Receive Process Stopped. Raw bit values: false (0) = Inactive: Receive Process Stopped status not detected.; true (1) = Active: Receive Process Stopped status detected.
Sourcepub const fn rwt(&self) -> bool
pub const fn rwt(&self) -> bool
Receive Watchdog Timeout. Raw bit values: false (0) = Inactive: Receive Watchdog Timeout status not detected.; true (1) = Active: Receive Watchdog Timeout status detected.
Sourcepub const fn set_rwt(&mut self, val: bool)
pub const fn set_rwt(&mut self, val: bool)
Receive Watchdog Timeout. Raw bit values: false (0) = Inactive: Receive Watchdog Timeout status not detected.; true (1) = Active: Receive Watchdog Timeout status detected.
Sourcepub const fn eti(&self) -> bool
pub const fn eti(&self) -> bool
Early Transmit Interrupt. Raw bit values: false (0) = Inactive: Early Transmit Interrupt status not detected.; true (1) = Active: Early Transmit Interrupt status detected.
Sourcepub const fn set_eti(&mut self, val: bool)
pub const fn set_eti(&mut self, val: bool)
Early Transmit Interrupt. Raw bit values: false (0) = Inactive: Early Transmit Interrupt status not detected.; true (1) = Active: Early Transmit Interrupt status detected.
Sourcepub const fn eri(&self) -> bool
pub const fn eri(&self) -> bool
Early Receive Interrupt. Raw bit values: false (0) = Inactive: Early Receive Interrupt status not detected.; true (1) = Active: Early Receive Interrupt status detected.
Sourcepub const fn set_eri(&mut self, val: bool)
pub const fn set_eri(&mut self, val: bool)
Early Receive Interrupt. Raw bit values: false (0) = Inactive: Early Receive Interrupt status not detected.; true (1) = Active: Early Receive Interrupt status detected.
Sourcepub const fn fbe(&self) -> bool
pub const fn fbe(&self) -> bool
Fatal Bus Error. Raw bit values: false (0) = Inactive: Fatal Bus Error status not detected.; true (1) = Active: Fatal Bus Error status detected.
Sourcepub const fn set_fbe(&mut self, val: bool)
pub const fn set_fbe(&mut self, val: bool)
Fatal Bus Error. Raw bit values: false (0) = Inactive: Fatal Bus Error status not detected.; true (1) = Active: Fatal Bus Error status detected.
Sourcepub const fn cde(&self) -> bool
pub const fn cde(&self) -> bool
Context Descriptor Error. Raw bit values: false (0) = Inactive: Context Descriptor Error status not detected.; true (1) = Active: Context Descriptor Error status detected.
Sourcepub const fn set_cde(&mut self, val: bool)
pub const fn set_cde(&mut self, val: bool)
Context Descriptor Error. Raw bit values: false (0) = Inactive: Context Descriptor Error status not detected.; true (1) = Active: Context Descriptor Error status detected.
Sourcepub const fn ais(&self) -> bool
pub const fn ais(&self) -> bool
Abnormal Interrupt Summary. Raw bit values: false (0) = Inactive: Abnormal Interrupt Summary status not detected.; true (1) = Active: Abnormal Interrupt Summary status detected.
Sourcepub const fn set_ais(&mut self, val: bool)
pub const fn set_ais(&mut self, val: bool)
Abnormal Interrupt Summary. Raw bit values: false (0) = Inactive: Abnormal Interrupt Summary status not detected.; true (1) = Active: Abnormal Interrupt Summary status detected.
Sourcepub const fn nis(&self) -> bool
pub const fn nis(&self) -> bool
Normal Interrupt Summary. Raw bit values: false (0) = Inactive: Normal Interrupt Summary status not detected.; true (1) = Active: Normal Interrupt Summary status detected.
Trait Implementations§
Source§impl Clone for DmaCh1Status
impl Clone for DmaCh1Status
Source§fn clone(&self) -> DmaCh1Status
fn clone(&self) -> DmaCh1Status
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more