pub struct FLASHCALW { /* private fields */ }
Implementations§
Source§impl FLASHCALW
impl FLASHCALW
pub fn new( ahb_clk: HSBClock, hramc1_clk: HSBClock, pb_clk: PBBClock, ) -> FLASHCALW
Sourcepub fn enable_cache(&self)
pub fn enable_cache(&self)
Enable HCACHE
pub fn handle_interrupt(&self)
Sourcepub fn set_wait_state(&self, wait_state: u32)
pub fn set_wait_state(&self, wait_state: u32)
FLASHC Control
Sourcepub fn enable_high_speed_flash(&self)
pub fn enable_high_speed_flash(&self)
Configure high-speed flash mode. This is taken from the ASF code
Trait Implementations§
Source§impl DeferredCallClient for FLASHCALW
impl DeferredCallClient for FLASHCALW
Source§impl Flash for FLASHCALW
impl Flash for FLASHCALW
Source§fn read_page(
&self,
page_number: usize,
buf: &'static mut Self::Page,
) -> Result<(), (ErrorCode, &'static mut Self::Page)>
fn read_page( &self, page_number: usize, buf: &'static mut Self::Page, ) -> Result<(), (ErrorCode, &'static mut Self::Page)>
Read a page of flash into the buffer.
Source§impl<C: Client<Self>> HasClient<'static, C> for FLASHCALW
impl<C: Client<Self>> HasClient<'static, C> for FLASHCALW
Source§fn set_client(&self, client: &'static C)
fn set_client(&self, client: &'static C)
Set the client for this flash peripheral. The client will be called
when operations complete.
Auto Trait Implementations§
impl !Freeze for FLASHCALW
impl !RefUnwindSafe for FLASHCALW
impl !Send for FLASHCALW
impl !Sync for FLASHCALW
impl Unpin for FLASHCALW
impl !UnwindSafe for FLASHCALW
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