Developer World
Spresense SDK Library v3.3.0-375c679
sensor_command_data_t Struct Reference

The command of send some sensor data without MemHandle to the sensor manager. More...

#include <sensor_api.h>

Collaboration diagram for sensor_command_data_t:

Public Member Functions

unsigned int get_self (void)
 

Public Attributes

sensor_command_header_t header
 
unsigned int self: 8
 
unsigned int time: 24
 
unsigned int fs: 16
 
unsigned int size: 16
 
bool is_ptr
 
union {
   uint32_t   data
 
   void *   adr
 
}; 
 

Detailed Description

The command of send some sensor data without MemHandle to the sensor manager.

Member Function Documentation

◆ get_self()

unsigned int get_self ( void  )
inline

self sensor id getter function

Member Data Documentation

◆ header

command header

◆ self

unsigned int self

sender sensor ID

◆ time

unsigned int time

time stamp

◆ fs

unsigned int fs

frequensy

◆ size

unsigned int size

number of samples

◆ is_ptr

bool is_ptr

pointer or not

◆ data

uint32_t data

send data

◆ adr

void* adr

send data address


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