pub struct SdioInterface<B: MmcBus, D: DelayNs> { /* private fields */ }Expand description
SDIO interface for esp-hosted.
Wraps an SdioCard. The card is (re)acquired by Interface::init after
the runner pulses reset, so pass an un-acquired card from SdioCard::new_uninit.
Implementations§
Trait Implementations§
Source§impl<B: MmcBus, D: DelayNs> Interface for SdioInterface<B, D>
impl<B: MmcBus, D: DelayNs> Interface for SdioInterface<B, D>
Source§async fn wait_for_handshake(&mut self)
async fn wait_for_handshake(&mut self)
Wait for the ESP to indicate readiness for a new transaction.
Source§async fn wait_for_ready(&mut self)
async fn wait_for_ready(&mut self)
Wait for the ESP to indicate that it has data to send.
Auto Trait Implementations§
impl<B, D> Freeze for SdioInterface<B, D>
impl<B, D> RefUnwindSafe for SdioInterface<B, D>where
B: RefUnwindSafe,
D: RefUnwindSafe,
impl<B, D> Send for SdioInterface<B, D>
impl<B, D> Sync for SdioInterface<B, D>
impl<B, D> Unpin for SdioInterface<B, D>
impl<B, D> UnwindSafe for SdioInterface<B, D>where
B: UnwindSafe,
D: UnwindSafe,
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