[−][src]Trait wifi_nina::transport::Transport
Associated Types
type Error
Required methods
fn reset(&mut self) -> Result<(), Self::Error>
fn delay(&mut self, duration: Duration) -> Result<(), Self::Error>
fn handle_cmd<SP, RP>(
&mut self,
command: Command,
send_params: &SP,
recv_params: &mut RP,
long_send: bool,
long_recv: bool
) -> Result<(), Self::Error> where
SP: SendParams + Debug,
RP: RecvParams + Debug,
&mut self,
command: Command,
send_params: &SP,
recv_params: &mut RP,
long_send: bool,
long_recv: bool
) -> Result<(), Self::Error> where
SP: SendParams + Debug,
RP: RecvParams + Debug,
Implementors
impl<SPI, BUSY, RESET, CS, DELAY> Transport for SpiTransport<SPI, BUSY, RESET, CS, DELAY> where
SPI: FullDuplex<u8>,
BUSY: InputPin,
RESET: OutputPin,
CS: OutputPin,
DELAY: FnMut(Duration),
[src]
SPI: FullDuplex<u8>,
BUSY: InputPin,
RESET: OutputPin,
CS: OutputPin,
DELAY: FnMut(Duration),
type Error = SpiError<SPI::Error, BUSY::Error, RESET::Error, CS::Error>
fn reset(&mut self) -> Result<(), Self::Error>
[src]
fn delay(&mut self, duration: Duration) -> Result<(), Self::Error>
[src]
fn handle_cmd<SP, RP>(
&mut self,
command: Command,
send_params: &SP,
recv_params: &mut RP,
long_send: bool,
long_recv: bool
) -> Result<(), Self::Error> where
SP: SendParams + Debug,
RP: RecvParams + Debug,
[src]
&mut self,
command: Command,
send_params: &SP,
recv_params: &mut RP,
long_send: bool,
long_recv: bool
) -> Result<(), Self::Error> where
SP: SendParams + Debug,
RP: RecvParams + Debug,