XDK API  3.6.0
Documentation
Macros | Functions | Variables
ExtensionBusTemperatureIOBoard

Extension Temperature IO Board provides the Implementation of Extension Temperature IO Board(MAX31865) prints Temperature Data from PT100/1000 to Serial Console. More...

+ Collaboration diagram for ExtensionBusTemperatureIOBoard:

Macros

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER
 

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)
 This function controls the application flow. 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
 
static ExternalSensor_Setup_T ExternalSensorSetup
 
static Sensor_Setup_T SensorSetup
 

Detailed Description

External Temperature Sensor and Digital I/O The XDK External Temperature Sensor and Digital I/O extension board consists of three main elements: the external temperature, two digital inputs and two digital outputs. Please have a look into the extension of the External Temperature Sensor and Digital I/O Board.This web page will go over how to use each element of the board and the maximum rating of each element.

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER

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
  • 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
Note
Internal Temperature sensor, external temperature sensor and external resistance is enabled. The external temperature sensor is connected to the XDK which gives the temperature value based on the resistance provided. The internal temperature sensor uses BME280 sensor and gives the temperature value

+ 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:

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

ExternalSensor_Setup_T ExternalSensorSetup
static
Initial value:
=
{
.CmdProcessorHandle = NULL,
.Enable =
{
.LemCurrent = false,
.LemVoltage = false,
.MaxTemp = true,
.MaxResistance = true,
},
.LemConfig =
{
.CurrentRatedTransformationRatio = APP_CURRENT_RATED_TRANSFORMATION_RATIO,
},
.Max31865Config =
{
},
}
#define APP_CURRENT_RATED_TRANSFORMATION_RATIO
Definition: AppController.h:76
#define NULL
Definition: BCDS_Basics.h:80
Definition: XDK_ExternalSensor.h:64

External Sensor setup parameters

Sensor_Setup_T SensorSetup
static

Sensor setup parameters


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:54 by doxygen 1.8.8