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

void print (std::ostream &os) const
 
 operator VoltageData () const
 Allows implicit conversions to VoltageData.
 

Static Public Member Functions

static std::string header ()
 

Public Attributes

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

Detailed Description

Structure to handle ADC data.

Definition at line 355 of file SensorData.h.

Member Function Documentation

◆ header()

static std::string Boardcore::ADCData::header ( )
inlinestatic

Definition at line 361 of file SensorData.h.

◆ operator VoltageData()

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

Allows implicit conversions to VoltageData.

Definition at line 372 of file SensorData.h.

◆ print()

void Boardcore::ADCData::print ( std::ostream & os) const
inline

Definition at line 363 of file SensorData.h.

Member Data Documentation

◆ channelId

uint8_t Boardcore::ADCData::channelId = 0

Definition at line 358 of file SensorData.h.

◆ voltage

float Boardcore::ADCData::voltage = 0

Definition at line 359 of file SensorData.h.

◆ voltageTimestamp

uint64_t Boardcore::ADCData::voltageTimestamp = 0

Definition at line 357 of file SensorData.h.


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