Appiko
|
Hardware abstraction layer of Radio peripheral. More...
Data Structures | |
struct | hal_radio_config_t |
Structure used to store the data required for radio configuration. More... | |
Functions | |
void | hal_radio_init (hal_radio_config_t *radio_init_config) |
Function to Initiate Radio peripheral. More... | |
void | hal_radio_set_tx_payload_data (void *p_payload, uint32_t len) |
Function to Set the payload data for transmission. More... | |
void | hal_radio_start_tx () |
Function to start data transmission. | |
void | hal_radio_start_rx () |
Function to start data reception. | |
void | hal_radio_stop () |
Function to stop radio peripheral. | |
void | hal_radio_deinit () |
Function to de-initiate the radio peripheral. | |
bool | hal_radio_is_on () |
Function to check status of radio peripheral. More... | |
void hal_radio_init | ( | hal_radio_config_t * | radio_init_config | ) |
radio_init_config | Configuration used to initiate the radio peripheral |
Enable HF Clock
Definition at line 75 of file hal_radio.c.
References hal_radio_config_t::freq, hal_radio_config_t::irq_priority, hal_radio_config_t::rx_done_handler, and hal_radio_config_t::tx_done_handler.
bool hal_radio_is_on | ( | ) |
True | Radio is being used and is not available |
False | Radio is not being used and is available |
Definition at line 176 of file hal_radio.c.
void hal_radio_set_tx_payload_data | ( | void * | p_payload, |
uint32_t | len | ||
) |
p_payload | Pointer to sequential data which is to be sent. |
len | Length of data in bytes |
Definition at line 144 of file hal_radio.c.
References payload_t::p_payload, and payload_t::payload_len.