Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sensor_chan_spec Struct Reference

Sensor Channel Specification. More...

#include <sensor.h>

Data Fields

uint16_t chan_type
 A sensor channel type.
 
uint16_t chan_idx
 A sensor channel index.
 

Detailed Description

Sensor Channel Specification.

A sensor channel specification is a unique identifier per sensor device describing a measurement channel.

Note
Typically passed by value as the size of a sensor_chan_spec is a single word.

Field Documentation

◆ chan_idx

uint16_t sensor_chan_spec::chan_idx

A sensor channel index.

◆ chan_type

uint16_t sensor_chan_spec::chan_type

A sensor channel type.


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