pub struct Interrupts {
pub transfer_complete: bool,
pub half_transfer: bool,
pub transfer_error: bool,
pub direct_mode_error: bool,
}Expand description
Used by Transfer::enable_interrupts to identify DMA interrupts
Fields§
§transfer_complete: bool§half_transfer: bool§transfer_error: bool§direct_mode_error: boolTrait Implementations§
Source§impl Clone for Interrupts
impl Clone for Interrupts
Source§fn clone(&self) -> Interrupts
fn clone(&self) -> Interrupts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for Interrupts
impl Default for Interrupts
impl Copy for Interrupts
Auto Trait Implementations§
impl Freeze for Interrupts
impl RefUnwindSafe for Interrupts
impl Send for Interrupts
impl Sync for Interrupts
impl Unpin for Interrupts
impl UnwindSafe for Interrupts
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