Microchip® Advanced Software Framework

state_function_t Struct Reference

This structure forms the jump table to address various main states in this application.

Data Fields

void(* func_ed_end_cb )(trx_id_t trx, uint8_t energy_level)
 
void(* func_main_state_exit )(trx_id_t trx)
 
void(* func_main_state_init )(trx_id_t trx, void *arg)
 
void(* func_rx_frame_cb )(trx_id_t trx, frame_info_t *frame)
 
void(* func_sub_state_set )(trx_id_t trx, uint8_t state, void *arg)
 
void(* func_task )(trx_id_t trx)
 
void(* func_tx_frame_done_cb )(trx_id_t trx, retval_t status, frame_info_t *frame)