Struct Ixr
#[repr(transparent)]pub struct Ixr(pub u32);Expand description
interrupt register
Tuple Fields§
§0: u32Implementations§
§impl Ixr
impl Ixr
pub const fn feif(&self, n: usize) -> bool
pub const fn feif(&self, n: usize) -> bool
Stream x FIFO error interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn set_feif(&mut self, n: usize, val: bool)
pub const fn set_feif(&mut self, n: usize, val: bool)
Stream x FIFO error interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn dmeif(&self, n: usize) -> bool
pub const fn dmeif(&self, n: usize) -> bool
Stream x direct mode error interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn set_dmeif(&mut self, n: usize, val: bool)
pub const fn set_dmeif(&mut self, n: usize, val: bool)
Stream x direct mode error interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn teif(&self, n: usize) -> bool
pub const fn teif(&self, n: usize) -> bool
Stream x transfer error interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn set_teif(&mut self, n: usize, val: bool)
pub const fn set_teif(&mut self, n: usize, val: bool)
Stream x transfer error interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn htif(&self, n: usize) -> bool
pub const fn htif(&self, n: usize) -> bool
Stream x half transfer interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
pub const fn set_htif(&mut self, n: usize, val: bool)
pub const fn set_htif(&mut self, n: usize, val: bool)
Stream x half transfer interrupt flag (stream 4*n+x of ISR[n]/IFCR[n])
Trait Implementations§
impl Copy for Ixr
impl Eq for Ixr
impl StructuralPartialEq for Ixr
Auto Trait Implementations§
impl Freeze for Ixr
impl RefUnwindSafe for Ixr
impl Send for Ixr
impl Sync for Ixr
impl Unpin for Ixr
impl UnsafeUnpin for Ixr
impl UnwindSafe for Ixr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more