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
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:61
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:129
void hal_cancel_hard_stop_time(void)
Definition: hal_octopus.c:210
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
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
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
void hal_cancel_setup_time(void)
Definition: hal_octopus.c:198
@ RCL_Schedule_Now
Definition: RCL_Command.h:143
@ RCL_StopType_Graceful
Definition: RCL_Command.h:132
RCL_Events postedRclEvents
Definition: RCL_Scheduler.h:91
@ HAL_TIMER_EVT_GRACEFUL_STOP
Definition: hal.h:65
@ RCL_CommandStatus_Descheduled
Definition: RCL_Command.h:98
HalTimerEvent hal_check_clear_timer_compare(void)
Definition: hal_octopus.c:233
@ RCL_StopType_None
Definition: RCL_Command.h:130
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:131
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
#define RCL_LITE_SCHEDULE_MARGIN
Definition: RCL_Lite.c:51
@ RCL_CommandStatus_Error_StartTooLate
Definition: RCL_Command.h:108
uint32_t hal_get_ifg_reg(void)
Definition: hal_octopus.c:80
LRF_SetupResult LRF_setupRadio(const LRF_Config *lrfConfig, uint16_t phyFeatures, LRF_RadioState lrfState)
Definition: LRFCC23X0.c:88
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:1261
@ HAL_TIMER_EVT_START
Definition: hal.h:64
#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:1235
@ HAL_TIMER_EVT_HARD_STOP
Definition: hal.h:66
void hal_setup_setup_time(uint32_t startTime)
Definition: hal_octopus.c:149
@ HAL_TIMER_EVT_SETUP
Definition: hal.h:63
@ 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)
void hal_cancel_graceful_stop_time(void)
Definition: hal_octopus.c:216
@ 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
void hal_disable_radio_interrupts(void)
Definition: hal_octopus.c:266
@ RCL_StopType_Hard
Definition: RCL_Command.h:133
RCL_StopType RCL_Scheduler_setStopTimes(void)
Function to apply relevant stop times.
Definition: RCL_Scheduler.c:294