Trait kernel::hil::radio::RadioData
[−]
[src]
pub trait RadioData { fn set_transmit_client(&self, client: &'static TxClient); fn set_receive_client(
&self,
client: &'static RxClient,
receive_buffer: &'static mut [u8]
); fn set_receive_buffer(&self, receive_buffer: &'static mut [u8]); fn transmit(
&self,
spi_buf: &'static mut [u8],
frame_len: usize
) -> (ReturnCode, Option<&'static mut [u8]>); }
Required Methods
fn set_transmit_client(&self, client: &'static TxClient)
fn set_receive_client(
&self,
client: &'static RxClient,
receive_buffer: &'static mut [u8]
)
&self,
client: &'static RxClient,
receive_buffer: &'static mut [u8]
)
fn set_receive_buffer(&self, receive_buffer: &'static mut [u8])
fn transmit(
&self,
spi_buf: &'static mut [u8],
frame_len: usize
) -> (ReturnCode, Option<&'static mut [u8]>)
&self,
spi_buf: &'static mut [u8],
frame_len: usize
) -> (ReturnCode, Option<&'static mut [u8]>)