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

Storage class for medium_one_shot_msg CAN message. More...

Public Member Functions

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

Public Attributes

uint16_t sig1
 
uint16_t sig2
 

Detailed Description

Storage class for medium_one_shot_msg CAN message.

Member Function Documentation

◆ decode()

void decode ( const uint8_t *  data)
inline

Decode new CAN data and update the storage for medium_one_shot_msg.

Parameters
dataPointer to the CAN message to be decoded

◆ get_message_name()

std::string get_message_name ( ) const
inline

Get the message name: medium_one_shot_msg.

Returns
Returns the message name

Member Data Documentation

◆ sig1

uint16_t sig1

CAN signal 'sig1' defined in *.yaml

◆ sig2

uint16_t sig2

CAN signal 'sig2' defined in *.yaml


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