Microchip® Advanced Software Framework

radio_task_manager.h File Reference

This is the Radio Driver Task Manager header file which contains Radio task scheduler of the Radio Driver.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define RADIO_TASKS_COUNT   5u
 

Enumerations

enum  RadioTaskIds_t {
  RADIO_TX_DONE_TASK_ID = (1 << 0),
  RADIO_RX_DONE_TASK_ID = (1 << 1),
  RADIO_TX_TASK_ID = (1 << 2),
  RADIO_RX_TASK_ID = (1 << 3),
  RADIO_SCAN_TASK_ID = (1 << 4),
  RADIO_SLEEP_TASK_ID = (1 << 5)
}
 

Functions

SYSTEM_TaskStatus_t RADIO_RxDoneHandler (void)
 
SYSTEM_TaskStatus_t RADIO_RxHandler (void)
 
SYSTEM_TaskStatus_t RADIO_ScanHandler (void)
 
SYSTEM_TaskStatus_t RADIO_TxDoneHandler (void)
 
SYSTEM_TaskStatus_t RADIO_TxHandler (void)
 
void radioClearTask (RadioTaskIds_t id)
 Clear task for RADIO task manager. More...
 
void radioPostTask (RadioTaskIds_t id)
 Set task for RADIO task manager. More...
 

#define RADIO_TASKS_COUNT   5u

Enumerator
RADIO_TX_DONE_TASK_ID 
RADIO_RX_DONE_TASK_ID 
RADIO_TX_TASK_ID 
RADIO_RX_TASK_ID 
RADIO_SCAN_TASK_ID 
RADIO_SLEEP_TASK_ID 

SYSTEM_TaskStatus_t RADIO_RxDoneHandler ( void  )
SYSTEM_TaskStatus_t RADIO_RxHandler ( void  )
SYSTEM_TaskStatus_t RADIO_ScanHandler ( void  )
SYSTEM_TaskStatus_t RADIO_TxDoneHandler ( void  )
SYSTEM_TaskStatus_t RADIO_TxHandler ( void  )
void radioClearTask ( RadioTaskIds_t  id)

Clear task for RADIO task manager.

Parameters
[in]id- a single value from the type RadioTaskIds_t
void radioPostTask ( RadioTaskIds_t  id)

Set task for RADIO task manager.

Parameters
[in]id- a single value from the type RadioTaskIds_t