33 #ifndef ti_drivers_RCL_h__include 34 #define ti_drivers_RCL_h__include 49 #include <ti/drivers/dpl/SemaphoreP.h> 64 typedef struct RCL_s {
void RCL_init(void)
Initializes the RCL driver state.
Definition: RCL.c:588
RCL_Command * nextCmd
Definition: RCL.h:70
void RCL_close(RCL_Handle h)
Closes client instance and deallocates open resources.
Definition: RCL.c:672
RCL_CommandStatus RCL_Command_submit(RCL_Handle h, RCL_Command_Handle c)
Submit RCL command object to be scheduled for execution.
Definition: RCL.c:720
int8_t RCL_readRssi(void)
Get the last valid RSSI value.
Definition: RCL.c:886
LRF_RadioState lrfState
Definition: RCL.h:67
RCL_Command * doneCmd
Definition: RCL.h:71
RCL_CommandStatus RCL_Command_stop(RCL_Command_Handle c, RCL_StopType stopType)
Stop a command.
Definition: RCL.c:781
uint8_t powerNotifyEnableCount
Definition: RCL.h:66
uint8_t numClients
Definition: RCL.h:65
RCL_PowerState powerState
Definition: RCL.h:68
LRF_RadioState
Definition: LRF.h:88
RCL_StopType
Stop types.
Definition: RCL_Command.h:139
void RCL_closePowerNotifications(void)
Remove RCL power notification request.
Definition: RCL.c:625
RCL_PowerState
RCL power state.
Definition: RCL.h:56
Radio configuration structure.
Definition: LRFCC23X0.h:518
void RCL_openPowerNotifications(void)
Request RCL power notifications.
Definition: RCL.c:611
void * RCL_Command_Handle
Definition: RCL_Types.h:36
Global shared driver state.
Definition: RCL.h:64
const LRF_Config * lrfConfig
Definition: RCL.h:69
RCL_Handle RCL_open(RCL_Client *c, const LRF_Config *lrfConfig)
Initializes an RCL client instance.
Definition: RCL.c:639
RCL_CommandStatus
Command status.
Definition: RCL_Command.h:83
RCL_CommandStatus RCL_Command_pend(RCL_Command_Handle c)
Wait for a submitted command to complete.
Definition: RCL.c:754