Developer World
Spresense SDK Library v1.4.0-aa7f53a
sensor_command_header_t Struct Reference

Sensor Commnad Header. All sensor command has this header. More...

#include <sensor_api.h>

Public Member Functions

unsigned int get_code (void)
 

Public Attributes

unsigned int size: 8
 
unsigned int code: 8
 
unsigned int reserve: 16
 

Detailed Description

Sensor Commnad Header. All sensor command has this header.

Member Function Documentation

◆ get_code()

unsigned int get_code ( void  )
inline

command code getter function

Member Data Documentation

◆ size

unsigned int size

packet length

◆ code

unsigned int code

command code

◆ reserve

unsigned int reserve

reserve


The documentation for this struct was generated from the following file: