ESPHome  2024.4.0
Public Member Functions | Data Fields
esphome::canbus::CanFrame Struct Reference

#include <canbus.h>

Public Member Functions

uint8_t data [CAN_MAX_DATA_LENGTH] __attribute__ ((aligned(8)))

Data Fields

bool use_extended_id = false
bool remote_transmission_request = false
uint32_t can_id
uint8_t can_data_length_code

Detailed Description

Definition at line 57 of file canbus.h.

Member Function Documentation

◆ __attribute__()

uint8_t data [CAN_MAX_DATA_LENGTH] esphome::canbus::CanFrame::__attribute__ ( (aligned(8))  )

Field Documentation

◆ can_data_length_code

uint8_t esphome::canbus::CanFrame::can_data_length_code

Definition at line 61 of file canbus.h.

◆ can_id

uint32_t esphome::canbus::CanFrame::can_id

Definition at line 60 of file canbus.h.

◆ remote_transmission_request

bool esphome::canbus::CanFrame::remote_transmission_request = false

Definition at line 59 of file canbus.h.

◆ use_extended_id

bool esphome::canbus::CanFrame::use_extended_id = false

Definition at line 58 of file canbus.h.

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