Radio Control Layer (RCL)
|
Go to the documentation of this file.
33 #ifndef ti_drivers_RCL_Lite_h__include
34 #define ti_drivers_RCL_Lite_h__include
@ RadioState_Down
Definition: LRF.h:87
void hal_setup_setup_time(uint32_t time)
Definition: hal_cc23x0rx.c:170
uint32_t apiStopEnabled
Definition: RCL_Scheduler.h:81
static int8_t RCL_Lite_readRssi(void)
Get the last valid RSSI value.
Definition: RCL_Lite.h:157
RCL_Command * currCmd
Definition: RCL_Scheduler.h:88
HalTimerEvent
Definition: hal.h:59
RCL_Command_Handle * RCL_Lite_Command_stop(RCL_StopType stopType)
Stop the running command if any.
Definition: RCL_Lite.c:220
RCL_StopType
Stop types.
Definition: RCL_Command.h:121
LRF_SetupResult
Setup operation result.
Definition: LRF.h:95
void RCL_Lite_CommandHwi(void)
Routine to be called in the RFD_IRQ0 interrupt handler.
Definition: RCL_Lite.c:56
static uint32_t RCL_Scheduler_getCurrentTime(void)
Get current time.
Definition: RCL_Scheduler.h:233
void LRF_sendGracefulStop(void)
@ RCL_CommandStatus_Finished
Definition: RCL_Command.h:90
uint32_t hal_get_ifg_reg(void)
Definition: hal_cc23x0rx.c:99
void RCL_Lite_CommandHwi(void)
Routine to be called in the RFD_IRQ0 interrupt handler.
Definition: RCL_Lite.c:56
RCL_Command_Handle * RCL_Lite_Command_stop(RCL_StopType stopType)
Stop the running command if any.
Definition: RCL_Lite.c:220
RCL_SchedulerStopInfo gracefulStopInfo
Definition: RCL_Scheduler.h:94
void RCL_Lite_Command_start(RCL_Command_Handle c)
Submit RCL command object to be executed.
Definition: RCL_Lite.c:164
void hal_disable_radio_interrupts(void)
Definition: hal_cc23x0rx.c:293
bool RCL_Scheduler_isLater(uint32_t refTime, uint32_t chkTime)
Find if a time instant occurs after another, allowing wrap-around.
Definition: RCL_Scheduler.c:345
#define RCL_Debug_assert(expr)
Definition: RCL_Debug.h:39
@ RCL_Schedule_Now
Definition: RCL_Command.h:135
void hal_cancel_graceful_stop_time(void)
Definition: hal_cc23x0rx.c:231
@ RCL_StopType_Graceful
Definition: RCL_Command.h:124
RCL_Events postedRclEvents
Definition: RCL_Scheduler.h:91
@ HAL_TIMER_EVT_GRACEFUL_STOP
Definition: hal.h:63
@ RCL_CommandStatus_Descheduled
Definition: RCL_Command.h:98
@ RCL_StopType_None
Definition: RCL_Command.h:122
void RCL_Lite_Command_start(RCL_Command_Handle c)
Submit RCL command object to be executed.
Definition: RCL_Lite.c:164
static LRF_SetupResult RCL_Lite_config(const LRF_Config *lrfConfig)
Sets up the radio for configuration with default PHY features.
Definition: RCL_Lite.h:78
Definition: RCL_Scheduler.h:87
@ RCL_StopType_DescheduleOnly
Definition: RCL_Command.h:123
static LRF_SetupResult RCL_Lite_configSetPhyFeatures(const LRF_Config *lrfConfig, uint16_t phyFeatures)
Sets up the radio for configuration with non-default PHY features.
Definition: RCL_Lite.h:62
@ RCL_CommandStatus_Idle
Definition: RCL_Command.h:84
void hal_cancel_setup_time(void)
Definition: hal_cc23x0rx.c:207
#define RCL_LITE_SCHEDULE_MARGIN
Definition: RCL_Lite.c:51
@ RCL_CommandStatus_Error_StartTooLate
Definition: RCL_Command.h:108
LRF_SetupResult LRF_setupRadio(const LRF_Config *lrfConfig, uint16_t phyFeatures, LRF_RadioState lrfState)
Definition: LRFCC23X0.c:87
static RCL_Command_Handle * RCL_Lite_Command_abort(void)
Abort the running command if any.
Definition: RCL_Lite.h:143
bool RCL_Lite_Command_isFinished(void)
Check if a command is finished. The function may be polled to wait for the running command to end.
Definition: RCL_Lite.c:212
int8_t LRF_readRssi(void)
Definition: LRFCC23X0.c:1247
@ HAL_TIMER_EVT_START
Definition: hal.h:62
#define LRF_PhyFeatures_Default
Definition: LRF.h:182
bool RCL_Lite_Command_isFinished(void)
Check if a command is finished. The function may be polled to wait for the running command to end.
Definition: RCL_Lite.c:212
void LRF_rclEnableRadioClocks(void)
Definition: LRFCC23X0.c:1221
HalTimerEvent hal_check_clear_timer_compare(void)
Definition: hal_cc23x0rx.c:258
void hal_cancel_hard_stop_time(void)
Definition: hal_cc23x0rx.c:223
@ HAL_TIMER_EVT_HARD_STOP
Definition: hal.h:64
@ HAL_TIMER_EVT_SETUP
Definition: hal.h:61
@ RadioState_Configured
Definition: LRF.h:89
#define RCL_EventNone
Definition: RCL_Event.h:38
RCL_SchedulerStopInfo hardStopInfo
Definition: RCL_Scheduler.h:93
void * RCL_Command_Handle
Definition: RCL_Types.h:36
static LRF_SetupResult RCL_Lite_setPhyFeatures(const LRF_Config *lrfConfig, uint16_t phyFeatures)
Change PHY features after radio has been configured.
Definition: RCL_Lite.h:96
#define RCL_EventSetup
Definition: RCL_Event.h:53
void LRF_sendHardStop(void)
@ RCL_CommandStatus_Scheduled
Definition: RCL_Command.h:86
bool RCL_Scheduler_postEvent(RCL_Command_Handle c, RCL_Events e)
Post event to command handler.
Definition: RCL_Scheduler.c:498
RCL_SchedulerState rclSchedulerState
Definition: RCL_Scheduler.c:51
Radio configuration structure.
Definition: LRFCC23X0.h:456
@ RCL_StopType_Hard
Definition: RCL_Command.h:125
RCL_StopType RCL_Scheduler_setStopTimes(void)
Function to apply relevant stop times.
Definition: RCL_Scheduler.c:294