ReduxLib C++ 2024.3.2
Loading...
Searching...
No Matches
redux::sensors::canandgyro::details::msg::SetSetting Struct Reference

#include <CanandgyroDetails.h>

Public Member Functions

constexpr uint64_t encode ()
 
bool send (redux::canand::CanandAddress &addr)
 

Static Public Member Functions

static constexpr SetSetting decode (uint64_t data)
 

Public Attributes

uint8_t address
 
uint64_t value
 
types::SettingFlags flags
 

Static Public Attributes

static const uint32_t DLC_MIN = 8
 
static const uint32_t DLC_MAX = 8
 

Detailed Description

update setting on device struct

Member Function Documentation

◆ decode()

static constexpr SetSetting redux::sensors::canandgyro::details::msg::SetSetting::decode ( uint64_t  data)
inlinestaticconstexpr

Decodes a struct.

Parameters
dataintfield to decode
Returns
a decoded struct

◆ encode()

constexpr uint64_t redux::sensors::canandgyro::details::msg::SetSetting::encode ( )
inlineconstexpr

Encodes a struct.

Returns
an encoded struct.

◆ send()

bool redux::sensors::canandgyro::details::msg::SetSetting::send ( redux::canand::CanandAddress addr)
inline

Sends the message struct to a CanandAddress.

Parameters
addrthe address to send to
Returns
the return value of SendCANMessage

Member Data Documentation

◆ address

uint8_t redux::sensors::canandgyro::details::msg::SetSetting::address

Setting index to write to

◆ DLC_MAX

const uint32_t redux::sensors::canandgyro::details::msg::SetSetting::DLC_MAX = 8
static

Maximum acceptable data length code for this message

◆ DLC_MIN

const uint32_t redux::sensors::canandgyro::details::msg::SetSetting::DLC_MIN = 8
static

Minimum acceptable data length code for this message

◆ flags

types::SettingFlags redux::sensors::canandgyro::details::msg::SetSetting::flags

Setting flags

◆ value

uint64_t redux::sensors::canandgyro::details::msg::SetSetting::value

6-byte setting value


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