Files | Macros | Functions | Variables
StreamSensorDataOverUsb

Application of printing all the defined sensors on serialport. More...

+ Collaboration diagram for StreamSensorDataOverUsb:

Files

file  AppController.c
 

Macros

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER
 

Functions

static void AccelAppCallback (void *param1, uint32_t param2)
 Callback function called when interrupt occurs. More...
 
void AppController_Init (void *cmdProcessorHandle, uint32_t param2)
 Gives control to the Application controller. More...
 
static void AppControllerEnable (void *param1, uint32_t param2)
 To enable the necessary modules for the application. More...
 
static void AppControllerFire (void *pvParameters)
 This function controls the application flow. More...
 
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
 
static void LightAppCallback (void *param1, uint32_t param2)
 Callback function called when interrupt occurs. More...
 

Variables

static CmdProcessor_TAppCmdProcessor
 
static xTaskHandle AppControllerHandle = NULL
 
static Sensor_Setup_T SensorSetup
 

Detailed Description

Demo application of printing all the defined sensors on serialport(USB virtual comport) every configured interval (APP_CONTROLLER_TX_DELAY)

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER

Function Documentation

static void AccelAppCallback ( void *  param1,
uint32_t  param2 
)
static
Parameters
[in]param1Unused
[in]param2Unused
void AppController_Init ( void *  cmdProcessorHandle,
uint32_t  param2 
)

This is a template function where the user can write his custom application.

Refer interface header for description

+ Here is the call graph for this function:

static void AppControllerEnable ( void *  param1,
uint32_t  param2 
)
static
  • Sensor
Parameters
[in]param1Unused
[in]param2Unused

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void AppControllerFire ( void *  pvParameters)
static
  • Triggers Sensor data sampling
  • Read the sampled Sensor data
Parameters
[in]pvParametersUnused

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void AppControllerSetup ( void *  param1,
uint32_t  param2 
)
static
  • Sensor
Parameters
[in]param1Unused
[in]param2Unused

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void LightAppCallback ( void *  param1,
uint32_t  param2 
)
static
Parameters
[in]param1Unused
[in]param2Unused

Variable Documentation

CmdProcessor_T* AppCmdProcessor
static

Handle to store the main Command processor handle to be reused by ServalPAL thread

xTaskHandle AppControllerHandle = NULL
static

OS thread handle for Application controller to be used by run-time blocking threads

Sensor_Setup_T SensorSetup
static

Sensor setup parameters


This documentation file has been automatically generated on Wed May 6 2020 20:45:24 by doxygen 1.8.8