Midnight Sun Firmware
Loading...
Searching...
No Matches
afe1_status

Storage class for afe1_status CAN message. More...

Public Member Functions

void decode (const uint8_t *data)
 Decode new CAN data and update the storage for AFE1_status. More...
 
nlohmann::json to_json () const
 Create a JSON object for AFE1_status using the storage.
 
std::string get_message_name () const
 Get the message name: AFE1_status. More...
 

Public Attributes

uint8_t id
 
uint8_t temp
 
uint16_t v1
 
uint16_t v2
 
uint16_t v3
 

Detailed Description

Storage class for afe1_status CAN message.

Member Function Documentation

◆ decode()

void decode ( const uint8_t *  data)
inline

Decode new CAN data and update the storage for AFE1_status.

Parameters
dataPointer to the CAN message to be decoded

◆ get_message_name()

std::string get_message_name ( ) const
inline

Get the message name: AFE1_status.

Returns
Returns the message name

Member Data Documentation

◆ id

uint8_t id

CAN signal 'id' defined in *.yaml

◆ temp

uint8_t temp

CAN signal 'temp' defined in *.yaml

◆ v1

uint16_t v1

CAN signal 'v1' defined in *.yaml

◆ v2

uint16_t v2

CAN signal 'v2' defined in *.yaml

◆ v3

uint16_t v3

CAN signal 'v3' defined in *.yaml


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