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

Storage class for cc_regen_percentage CAN message. More...

Public Member Functions

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

Public Attributes

uint32_t percent
 

Detailed Description

Storage class for cc_regen_percentage CAN message.

Member Function Documentation

◆ decode()

void decode ( const uint8_t *  data)
inline

Decode new CAN data and update the storage for cc_regen_percentage.

Parameters
dataPointer to the CAN message to be decoded

◆ get_message_name()

std::string get_message_name ( ) const
inline

Get the message name: cc_regen_percentage.

Returns
Returns the message name

Member Data Documentation

◆ percent

uint32_t percent

CAN signal 'percent' defined in *.yaml


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