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:567
RCL_Command * nextCmd
Definition: RCL.h:69
void RCL_close(RCL_Handle h)
Closes client instance and deallocates open resources.
Definition: RCL.c:618
RCL_CommandStatus RCL_Command_submit(RCL_Handle h, RCL_Command_Handle c)
Submit RCL command object to be scheduled for execution.
Definition: RCL.c:664
int8_t RCL_readRssi(void)
Get the last valid RSSI value.
Definition: RCL.c:797
LRF_RadioState lrfState
Definition: RCL.h:66
RCL_Command * doneCmd
Definition: RCL.h:70
uint16_t numClients
Definition: RCL.h:65
RCL_CommandStatus RCL_Command_stop(RCL_Command_Handle c, RCL_StopType stopType)
Stop a command.
Definition: RCL.c:725
RCL_PowerState powerState
Definition: RCL.h:67
LRF_RadioState
Definition: LRF.h:87
RCL_StopType
Stop types.
Definition: RCL_Command.h:138
RCL_PowerState
RCL power state.
Definition: RCL.h:56
Radio configuration structure.
Definition: LRFCC23X0.h:476
void * RCL_Command_Handle
Definition: RCL_Types.h:36
Global shared driver state.
Definition: RCL.h:64
const LRF_Config * lrfConfig
Definition: RCL.h:68
RCL_Handle RCL_open(RCL_Client *c, const LRF_Config *lrfConfig)
Initializes an RCL client instance.
Definition: RCL.c:585
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:698