Developer World
Spresense SDK Library v3.2.0-ebc0364
transport_mode_command.h File Reference
#include <stdint.h>
#include <stddef.h>
#include "sensing/logical_sensor/sensor_command.h"
#include "sensing/logical_sensor/physical_command.h"

Go to the source code of this file.

Classes

struct  TramDebugDumpInfo
 
struct  SensorInitTram
 
struct  SensorExecTram
 
struct  SensorFlushTram
 
struct  SensorResultTram
 the structure of sensor result on transport mode commands. More...
 
struct  SensorCmdTram
 the structure of transport mode commands. More...
 

Macros

#define TRAM_ACC_SAMPLING   64
 
#define TRAM_MAG_SAMPLING   8
 
#define TRAM_BAR_SAMPLING   8
 

Enumerations

enum  TramCmdType { TramCmdTypeResult = 0 , TramCmdTypeTrans , TramCmdTypeNum }
 
enum  TramState { TramStateMs = 0 , TramStateCmd , TramStateTmi , TramStateNum }
 
enum  TramSensorType { TramSensorAcc = 0 , TramSensorMag , TramSensorBar }
 
enum  {
  TRAM_CLASS_UNDETERMINED = 0 , TRAM_CLASS_STAY , TRAM_CLASS_WALK , TRAM_CLASS_RUN ,
  TRAM_CLASS_UPSTAIRS , TRAM_CLASS_DOWNSTAIRS , TRAM_CLASS_ESCUP , TRAM_CLASS_ESCDOWN ,
  TRAM_CLASS_ELEVUP , TRAM_CLASS_ELEVDOWN , TRAM_CLASS_TRAIN , TRAM_CLASS_BUS ,
  TRAM_CLASS_CAR , TRAM_CLASS_BICYCLE
}