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

Storage class for battery_status CAN message. More...

Public Member Functions

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

Public Attributes

uint16_t fault
 
uint16_t fault_val
 
uint16_t aux_batt_v
 
uint8_t afe_status
 

Detailed Description

Storage class for battery_status CAN message.

Warning
This file is autogenerated

Member Function Documentation

◆ decode()

void decode ( const uint8_t *  data)
inline

Decode new CAN data and update the storage for battery_status.

Parameters
dataPointer to the CAN message to be decoded

◆ get_message_name()

std::string get_message_name ( ) const
inline

Get the message name: battery_status.

Returns
Returns the message name

Member Data Documentation

◆ afe_status

uint8_t afe_status

CAN signal 'afe_status' defined in *.yaml

◆ aux_batt_v

uint16_t aux_batt_v

CAN signal 'aux_batt_v' defined in *.yaml

◆ fault

uint16_t fault

CAN signal 'fault' defined in *.yaml

◆ fault_val

uint16_t fault_val

CAN signal 'fault_val' defined in *.yaml


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