Trait kernel::hil::uart::Client
[−]
[src]
pub trait Client { fn transmit_complete(&self, tx_buffer: &'static mut [u8], error: Error); fn receive_complete(
&self,
rx_buffer: &'static mut [u8],
rx_len: usize,
error: Error
); }
Implement Client to receive callbacks from UART.
Required Methods
fn transmit_complete(&self, tx_buffer: &'static mut [u8], error: Error)
UART transmit complete.
fn receive_complete(
&self,
rx_buffer: &'static mut [u8],
rx_len: usize,
error: Error
)
&self,
rx_buffer: &'static mut [u8],
rx_len: usize,
error: Error
)
UART receive complete.