
typedef struct
{
struct
{
uint8_t bDebuggerEnabled:1;
uint8_t GNSS_NEW_DATA:1;
uint8_t ENVIRONMENTAL_NEW_DATA:1;
uint8_t POW_MAN_NEW_DATA:1;
uint8_t MEMS_EVENT_NEW_DATA:1;
uint8_t INERTIAL_NEW_DATA:1;
uint8_t bReserved7:1;
uint8_t bReserved8:1;
uint8_t bReserved8_16;
uint8_t bReserved116_24;
uint8_t bReserved124_32;
}c;
The following code is used for the
AstraEngData_t
sensor data.
struct
{
/* gnss */
float gnss_latitude;
float gnss_longitude;
float gnss_altitude;
int32_t gnss_sats;
uint8_t gnss_fix_validity;
/* sensors */
MOTION_SENSOR_Axes_t AccValue;
MOTION_SENSOR_Axes_t LPAccValue;
MOTION_SENSOR_Axes_t GyrValue;
float LPTempValue;
float PressValue;
float TempValue;
float HumValue;
MOTION_SENSOR_Event_Status_t LPAccInt;
MOTION_SENSOR_Event_Status_t AccInt;
The following code is used for the
AstraEngData_t
ADC data.
/* ADC */
uint16_t batteryVoltage;
uint16_t USBVoltage;
}d;
uint32_t nFwVersion;
} AstraEngData_t;
3.4
SM_APP.c/.h
These files contain the configuration structures of state machine.
See
for more details.
UM3019
SM_APP.c/.h
UM3019
-
Rev 1
page 13/43