[][src]Trait kernel::hil::radio::RadioData

pub trait RadioData {
    fn set_transmit_client(&self, client: &'static dyn TxClient);
fn set_receive_client(
        &self,
        client: &'static dyn 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 dyn TxClient)

fn set_receive_client(
    &self,
    client: &'static dyn 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]>)

Loading content...

Implementors

Loading content...