Trait capsules_extra::sdcard::SDCardClient
source · pub trait SDCardClient {
// Required methods
fn card_detection_changed(&self, installed: bool);
fn init_done(&self, block_size: u32, total_size: u64);
fn read_done(&self, data: &'static mut [u8], len: usize);
fn write_done(&self, buffer: &'static mut [u8]);
fn error(&self, error: u32);
}
Expand description
Callback functions from SDCard
Required Methods§
fn card_detection_changed(&self, installed: bool)
fn init_done(&self, block_size: u32, total_size: u64)
fn read_done(&self, data: &'static mut [u8], len: usize)
fn write_done(&self, buffer: &'static mut [u8])
fn error(&self, error: u32)
Implementors§
impl<'a, A: Alarm<'a>> SDCardClient for SDCardDriver<'a, A>
Handle callbacks from SDCard