![]() |
ISF
2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
|
#include "App1_Functions.h"
#include "App1.h"
#include "App1_types.h"
#include <mqxlite.h>
#include <lwevent.h>
#include "mqx_tasks.h"
#include "isf_target.h"
#include "isf_types.h"
#include "isf.h"
#include "isf_init.h"
#include "isf_ci.h"
#include "isf_ci_stream.h"
#include "isf_sm_types.h"
#include "isf_dsa_direct.h"
#include "isf_pm.h"
#include "Events.h"
#include "isf_sensor_configuration.h"
#include "isf_orientation_types.h"
#include "isf_pressure_types.h"
Go to the source code of this file.
Data Structures | |
struct | SensorInfo_t |
struct | App1AppSettings_t |
struct | App1AppInstance_t |
Macros | |
#define | startof(type, member) ((int32)&((type *)0)->member) |
#define | App1_Orientation0_DATA_READY_EVENT ((uint32)(1 << 0)) |
#define | App1_Pressure1_DATA_READY_EVENT ((uint32)(1 << 1)) |
#define | App1_ALL_SENSOR_DATA_READY (3) |
#define | SET_FIELD(name, val) (((val)<<name##_SHIFT)&(name##_MASK)) |
Macro that extracts one of the fields below. More... | |
#define | GET_FIELD(name, val) ((val&name##_MASK)>>name##_SHIFT) |
#define | CTRL_STATE_MASK 0x0F |
Control register mask/shift definitions for the application. More... | |
#define | CTRL_STATE_SHIFT 0 |
#define | CTRL_QREN_MASK 0x10 |
#define | CTRL_QREN_SHIFT 4 |
#define | CTRL_RESET_MASK 0x20 |
#define | CTRL_RESET_SHIFT 5 |
#define | CTRL_POWER_MASK 0xC0 |
#define | CTRL_POWER_SHIFT 6 |
#define | CONFIG_SETTINGS_REPORTRATE_BYTE_START (4) |
#define | CONFIG_SETTINGS_REPORTRATE_BYTE_ENDS (7) |
Enumerations | |
enum | App1AppState_t { App1_STATE_STOPPED_UNSUBSCRIBED = 0, App1_STATE_STOPPED_SUBSCRIBED, App1_STATE_STARTED_SUBSCRIBED } |
Functions | |
int32 | App1_GotoState (uint8 desiredState) |
void | TaskApp1_task (uint32_t task_init_data) |
void | App1_MainTask (void) |
ci_response_t | App1_ci_app_callback (ci_host_cmd_packet_t *pHostPacket, ci_app_resp_packet_t *pAppPacket) |
void | App1_ReturnSensorsToInit () |
Definition in file App1.c.