Struct evegfx_spidriver::EVESPIDriverInterface [−][src]
Implementations
impl<TX, RX> EVESPIDriverInterface<TX, RX> where
TX: Write<u8>,
RX: Read<u8>,
[src]
TX: Write<u8>,
RX: Read<u8>,
Trait Implementations
impl<TX, RX> Interface for EVESPIDriverInterface<TX, RX> where
TX: Write<u8>,
RX: Read<u8>,
[src]
TX: Write<u8>,
RX: Read<u8>,
type Error = Error<TX::Error, RX::Error>
fn reset(&mut self) -> Result<(), Self::Error>
[src]
fn begin_write(&mut self, addr: u32) -> Result<(), Self::Error>
[src]
fn continue_write(&mut self, v: &[u8]) -> Result<(), Self::Error>
[src]
fn end_write(&mut self) -> Result<(), Self::Error>
[src]
fn begin_read(&mut self, addr: u32) -> Result<(), Self::Error>
[src]
fn continue_read(&mut self, into: &mut [u8]) -> Result<(), Self::Error>
[src]
fn end_read(&mut self) -> Result<(), Self::Error>
[src]
fn host_cmd(&mut self, cmd: u8, a0: u8, a1: u8) -> Result<(), Self::Error>
[src]
pub fn write(&mut self, addr: u32, v: &[u8]) -> Result<(), Self::Error>
[src]
pub fn read(&mut self, addr: u32, into: &mut [u8]) -> Result<(), Self::Error>
[src]
pub fn build_write_header(&self, addr: u32, into: &mut [u8; 3])
[src]
pub fn build_read_header(&self, addr: u32, into: &mut [u8; 4])
[src]
pub fn build_host_cmd_msg(&self, cmd: u8, a0: u8, a1: u8, into: &mut [u8; 3])
[src]
Auto Trait Implementations
impl<TX, RX> Send for EVESPIDriverInterface<TX, RX> where
RX: Send,
TX: Send,
[src]
RX: Send,
TX: Send,
impl<TX, RX> Sync for EVESPIDriverInterface<TX, RX> where
RX: Sync,
TX: Sync,
[src]
RX: Sync,
TX: Sync,
impl<TX, RX> Unpin for EVESPIDriverInterface<TX, RX> where
RX: Unpin,
TX: Unpin,
[src]
RX: Unpin,
TX: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,