|
Radio Control Layer (RCL)
|
#include <stdint.h>#include <string.h>#include <ti/devices/DeviceFamily.h>#include <ti/drivers/RCL.h>#include <ti/drivers/rcl/commands/adc_noise.h>#include <ti/drivers/Power.h>
Include dependency graph for RCL_AdcNoise.c:Macros | |
| #define | RCL_CLIENT_PTR (&rclClient) |
| #define | RCL_ADC_NOISE_CMD_PTR (&cmdAdcNoiseGet) |
| #define | CALLBACK_PTR (&applicationCallback) |
| #define | STATUS_SUCCESS 0 |
| #define | STATUS_ERROR -1 |
| #define | RCL_STATUS_TO_WRAPPER_STATUS(x) ((x) == RCL_CommandStatus_Finished ? STATUS_SUCCESS : STATUS_ERROR) |
Typedefs | |
| typedef void(* | applicationCallback_t) (uint32_t *buffer, uint32_t numWords, int_fast16_t status) |
Functions | |
| int_fast16_t | RCL_AdcNoise_get_samples_blocking (uint32_t *buffer, uint32_t numWords) |
| int_fast16_t | RCL_AdcNoise_get_samples_callback (uint32_t *buffer, uint32_t numWords, applicationCallback_t callback) |
| static void | adcNoiseCallback (RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEvents) |
| __attribute__ ((weak)) | |
Variables | |
| const LRF_Config | LRF_configAdcNoise |
| static RCL_Client | rclClient |
| static RCL_CmdAdcNoiseGet | cmdAdcNoiseGet |
| static applicationCallback_t | applicationCallback |
| #define RCL_CLIENT_PTR (&rclClient) |
Referenced by __attribute__().
| #define RCL_ADC_NOISE_CMD_PTR (&cmdAdcNoiseGet) |
Referenced by __attribute__().
| #define CALLBACK_PTR (&applicationCallback) |
Referenced by __attribute__(), and adcNoiseCallback().
| #define STATUS_SUCCESS 0 |
| #define STATUS_ERROR -1 |
| #define RCL_STATUS_TO_WRAPPER_STATUS | ( | x | ) | ((x) == RCL_CommandStatus_Finished ? STATUS_SUCCESS : STATUS_ERROR) |
Referenced by __attribute__(), and adcNoiseCallback().
| typedef void(* applicationCallback_t) (uint32_t *buffer, uint32_t numWords, int_fast16_t status) |
| int_fast16_t RCL_AdcNoise_get_samples_blocking | ( | uint32_t * | buffer, |
| uint32_t | numWords | ||
| ) |
| int_fast16_t RCL_AdcNoise_get_samples_callback | ( | uint32_t * | buffer, |
| uint32_t | numWords, | ||
| applicationCallback_t | callback | ||
| ) |
Referenced by __attribute__().
|
static |
References CALLBACK_PTR, RCL_close(), RCL_Hal_powerReleaseStandbyConstraint(), and RCL_STATUS_TO_WRAPPER_STATUS.
Referenced by __attribute__().
| __attribute__ | ( | (weak) | ) |
References adcNoiseCallback(), CALLBACK_PTR, RCL_ADC_NOISE_CMD_PTR, RCL_AdcNoise_get_samples_callback(), RCL_CLIENT_PTR, RCL_close(), RCL_CmdAdcNoiseGet_Default, RCL_Command_pend(), RCL_Command_submit(), RCL_CommandStatus_Finished, RCL_EventLastCmdDone, RCL_Hal_powerReleaseStandbyConstraint(), RCL_Hal_powerSetStandbyConstraint(), RCL_init(), RCL_open(), and RCL_STATUS_TO_WRAPPER_STATUS.
| const LRF_Config LRF_configAdcNoise |
|
static |
|
static |
|
static |