#[repr(transparent)]pub struct Ipcmd(pub u32);Expand description
IP Command Register
Tuple Fields§
§0: u32Implementations§
Source§impl Ipcmd
impl Ipcmd
Sourcepub const fn cmd(&self) -> u16
pub const fn cmd(&self) -> u16
SDRAM Commands: 0x8: Read 0x9: Write 0xA: Mode Register Set 0xB: Active 0xC: Auto Refresh 0xD: Self Refresh 0xE: Precharge 0xF: Precharge All Others: Reserved Self Refresh is sent to all SDRAM devices because they share the same SEMC_CLK pin
Sourcepub const fn set_cmd(&mut self, val: u16)
pub const fn set_cmd(&mut self, val: u16)
SDRAM Commands: 0x8: Read 0x9: Write 0xA: Mode Register Set 0xB: Active 0xC: Auto Refresh 0xD: Self Refresh 0xE: Precharge 0xF: Precharge All Others: Reserved Self Refresh is sent to all SDRAM devices because they share the same SEMC_CLK pin
Trait Implementations§
impl Copy for Ipcmd
impl Eq for Ipcmd
impl StructuralPartialEq for Ipcmd
Auto Trait Implementations§
impl Freeze for Ipcmd
impl RefUnwindSafe for Ipcmd
impl Send for Ipcmd
impl Sync for Ipcmd
impl Unpin for Ipcmd
impl UnwindSafe for Ipcmd
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