#[repr(transparent)]pub struct Srambase(pub u32);Expand description
SRAM address of the channel configuration table.
Tuple Fields§
§0: u32Implementations§
Source§impl Srambase
impl Srambase
Sourcepub const fn offset(&self) -> u32
pub const fn offset(&self) -> u32
Address bits 31:9 of the beginning of the DMA descriptor table. For 18 channels, the table must begin on a 512 byte boundary.
Sourcepub const fn set_offset(&mut self, val: u32)
pub const fn set_offset(&mut self, val: u32)
Address bits 31:9 of the beginning of the DMA descriptor table. For 18 channels, the table must begin on a 512 byte boundary.
Trait Implementations§
impl Copy for Srambase
impl Eq for Srambase
impl StructuralPartialEq for Srambase
Auto Trait Implementations§
impl Freeze for Srambase
impl RefUnwindSafe for Srambase
impl Send for Srambase
impl Sync for Srambase
impl Unpin for Srambase
impl UnwindSafe for Srambase
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