pub struct Flash { /* private fields */ }Expand description
FLASH
Implementations§
Source§impl Flash
impl Flash
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn stopa(self) -> Reg<Stopa, RW>
pub const fn stopa(self) -> Reg<Stopa, RW>
end address for next flash command, if command operates on address ranges
Sourcepub const fn dataw(self, n: usize) -> Reg<Dataw, RW>
pub const fn dataw(self, n: usize) -> Reg<Dataw, RW>
data register, word 0-7; Memory data, or command parameter, or command result.
Sourcepub const fn int_clr_enable(self) -> Reg<IntClrEnable, W>
pub const fn int_clr_enable(self) -> Reg<IntClrEnable, W>
Clear interrupt enable bits
Sourcepub const fn int_set_enable(self) -> Reg<IntSetEnable, W>
pub const fn int_set_enable(self) -> Reg<IntSetEnable, W>
Set interrupt enable bits
Sourcepub const fn int_status(self) -> Reg<IntStatus, RW>
pub const fn int_status(self) -> Reg<IntStatus, RW>
Interrupt status bits
Sourcepub const fn int_enable(self) -> Reg<IntEnable, RW>
pub const fn int_enable(self) -> Reg<IntEnable, RW>
Interrupt enable bits
Sourcepub const fn int_clr_status(self) -> Reg<IntClrStatus, W>
pub const fn int_clr_status(self) -> Reg<IntClrStatus, W>
Clear interrupt status bits
Sourcepub const fn int_set_status(self) -> Reg<IntSetStatus, W>
pub const fn int_set_status(self) -> Reg<IntSetStatus, W>
Set interrupt status bits
Trait Implementations§
impl Copy for Flash
impl Eq for Flash
impl Send for Flash
impl StructuralPartialEq for Flash
impl Sync for Flash
Auto Trait Implementations§
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