#include <CanandgyroDetails.h>
◆ decode()
static constexpr PartyMode redux::sensors::canandgyro::details::msg::PartyMode::decode |
( |
uint64_t |
data | ) |
|
|
inlinestaticconstexpr |
Decodes a struct.
- Parameters
-
- Returns
- a decoded struct
◆ encode()
constexpr uint64_t redux::sensors::canandgyro::details::msg::PartyMode::encode |
( |
| ) |
|
|
inlineconstexpr |
Encodes a struct.
- Returns
- an encoded struct.
◆ send()
Sends the message struct to a CanandAddress.
- Parameters
-
addr | the address to send to |
- Returns
- the return value of SendCANMessage
◆ DLC_MAX
const uint32_t redux::sensors::canandgyro::details::msg::PartyMode::DLC_MAX = 8 |
|
static |
Maximum acceptable data length code for this message
◆ DLC_MIN
const uint32_t redux::sensors::canandgyro::details::msg::PartyMode::DLC_MIN = 1 |
|
static |
Minimum acceptable data length code for this message
◆ party_level
uint8_t redux::sensors::canandgyro::details::msg::PartyMode::party_level |
Party level. 0 disables the strobe, whereas each increased value up to 10 increases strobe period by 50 ms.
The documentation for this struct was generated from the following file: