Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::ADCData Struct Reference

Structure to handle ADC data. More...

#include <SensorData.h>

Inheritance diagram for Boardcore::ADCData:

Public Member Functions

 operator VoltageData () const
 Allows implicit conversions to VoltageData.
 

Static Public Member Functions

static constexpr auto reflect ()
 

Public Attributes

uint64_t voltageTimestamp = 0
 
uint8_t channelId = 0
 
float voltage = 0
 

Detailed Description

Structure to handle ADC data.

Definition at line 336 of file SensorData.h.

Member Function Documentation

◆ operator VoltageData()

Boardcore::ADCData::operator VoltageData ( ) const
inline

Allows implicit conversions to VoltageData.

Definition at line 345 of file SensorData.h.

◆ reflect()

static constexpr auto Boardcore::ADCData::reflect ( )
inlinestaticconstexpr

Definition at line 353 of file SensorData.h.

Member Data Documentation

◆ channelId

uint8_t Boardcore::ADCData::channelId = 0

Definition at line 339 of file SensorData.h.

◆ voltage

float Boardcore::ADCData::voltage = 0

Definition at line 340 of file SensorData.h.

◆ voltageTimestamp

uint64_t Boardcore::ADCData::voltageTimestamp = 0

Definition at line 338 of file SensorData.h.


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