#[repr(transparent)]pub struct Intenset0(pub u32);Expand description
Interrupt Enable read and Set for all DMA channels.
Tuple Fields§
§0: u32Implementations§
Source§impl Intenset0
impl Intenset0
Sourcepub const fn inten(&self) -> u32
pub const fn inten(&self) -> u32
Interrupt Enable read and set for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = interrupt for DMA channel is disabled. 1 = interrupt for DMA channel is enabled.
Sourcepub const fn set_inten(&mut self, val: u32)
pub const fn set_inten(&mut self, val: u32)
Interrupt Enable read and set for DMA channel n. Bit n corresponds to DMA channel n. The number of bits = number of DMA channels in this device. Other bits are reserved. 0 = interrupt for DMA channel is disabled. 1 = interrupt for DMA channel is enabled.
Trait Implementations§
impl Copy for Intenset0
impl Eq for Intenset0
impl StructuralPartialEq for Intenset0
Auto Trait Implementations§
impl Freeze for Intenset0
impl RefUnwindSafe for Intenset0
impl Send for Intenset0
impl Sync for Intenset0
impl Unpin for Intenset0
impl UnwindSafe for Intenset0
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