Developer World
Spresense SDK Library v3.2.0-ebc0364
step_counter_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  step_counter_param_s
 
struct  step_counter_setting_s
 
struct  StepCounterDebugDumpInfo
 
struct  SensorInitStepCounter
 the structure of Accelstep setting for initilaize. More...
 
struct  SensorExecStepCounter
 the command of STEP_COUNTER execute by a frame(a few sample). More...
 
struct  SensorFlushStepCounter
 the command of STEP_COUNTER terminate. More...
 
struct  StepCounterStepInfo
 the structure of STEP_COUNTER results. More...
 
struct  SensorResultStepCounter
 the structure of sensor result on step counter commands. More...
 
struct  SensorCmdStepCounter
 the structure of step counter commands. More...
 

Macros

#define STEP_COUNTER_SAMPLING_MAX   (32)
 Indicates the maximum number of samples.
 

Typedefs

typedef struct step_counter_param_s StepCounterSetParam
 
typedef struct step_counter_setting_s StepCounterSetting
 

Enumerations

enum  StepCounterStepMode { STEP_COUNTER_MODE_FIXED_LENGTH = 0 , STEP_COUNTER_MODE_NEW_TABLE , STEP_COUNTER_MODE_STEP_TABLE }
 Step modes. More...
 
enum  StepCounterMovementType { STEP_COUNTER_MOVEMENT_TYPE_OTHER = 0 , STEP_COUNTER_MOVEMENT_TYPE_STILL , STEP_COUNTER_MOVEMENT_TYPE_WALK , STEP_COUNTER_MOVEMENT_TYPE_RUN }
 Activity Class. More...
 
enum  StepCounterCmdType { STEP_COUNTER_CMD_UPDATE_ACCELERATION = 0 , STEP_COUNTER_CMD_UPDATE_GPS , STEP_COUNTER_CMD_STEP_SET }
 Publishers. More...