Files | Macros | Functions | Variables
XdkApplicationTemplate

XDK Application Template. More...

+ Collaboration diagram for XdkApplicationTemplate:

Files

file  AppController.c
 

Macros

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER
 
#define XDK_APP_DELAY   UINT32_C(1000)
 

Functions

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)
 Responsible for controlling application control flow. Any application logic which is blocking in nature or fixed time dependent can be placed here. More...
 
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
 

Variables

static CmdProcessor_TAppCmdProcessor
 
static xTaskHandle AppControllerHandle = NULL
 

Detailed Description

XDK Application Template without any functionality. Could be used as a starting point to develop new application based on XDK platform.

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER
#define XDK_APP_DELAY   UINT32_C(1000)

Function Documentation

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
Parameters
[in]param1A generic pointer to any context data structure which will be passed to the function when it is invoked by the command processor.
[in]param2A generic 32 bit value which will be passed to the function when it is invoked by the command processor..

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void AppControllerFire ( void *  pvParameters)
static
Parameters
[in]pvParametersFreeRTOS task handle. Could be used if more than one thread is using this function block.

+ 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
Parameters
[in]param1A generic pointer to any context data structure which will be passed to the function when it is invoked by the command processor.
[in]param2A generic 32 bit value which will be passed to the function when it is invoked by the command processor..

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

CmdProcessor_T* AppCmdProcessor
static

Handle to store the main Command processor handle to be used by run-time event driven threads

xTaskHandle AppControllerHandle = NULL
static

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


This documentation file has been automatically generated on Fri Oct 4 2019 03:47:44 by doxygen 1.8.8