ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::canbus Namespace Reference

Data Structures

class  Canbus
 
class  CanbusSendAction
 
class  CanbusTrigger
 
struct  CanFrame
 

Enumerations

enum  Error : uint8_t {
  ERROR_OK = 0 , ERROR_FAIL = 1 , ERROR_ALLTXBUSY = 2 , ERROR_FAILINIT = 3 ,
  ERROR_FAILTX = 4 , ERROR_NOMSG = 5
}
 
enum  CanSpeed : uint8_t {
  CAN_1KBPS , CAN_5KBPS , CAN_10KBPS , CAN_12K5BPS ,
  CAN_16KBPS , CAN_20KBPS , CAN_25KBPS , CAN_31K25BPS ,
  CAN_33KBPS , CAN_40KBPS , CAN_50KBPS , CAN_80KBPS ,
  CAN_83K3BPS , CAN_95KBPS , CAN_100KBPS , CAN_125KBPS ,
  CAN_200KBPS , CAN_250KBPS , CAN_500KBPS , CAN_800KBPS ,
  CAN_1000KBPS
}
 

Enumeration Type Documentation

◆ CanSpeed

enum esphome::canbus::CanSpeed : uint8_t
Enumerator
CAN_1KBPS 
CAN_5KBPS 
CAN_10KBPS 
CAN_12K5BPS 
CAN_16KBPS 
CAN_20KBPS 
CAN_25KBPS 
CAN_31K25BPS 
CAN_33KBPS 
CAN_40KBPS 
CAN_50KBPS 
CAN_80KBPS 
CAN_83K3BPS 
CAN_95KBPS 
CAN_100KBPS 
CAN_125KBPS 
CAN_200KBPS 
CAN_250KBPS 
CAN_500KBPS 
CAN_800KBPS 
CAN_1000KBPS 

Definition at line 22 of file canbus.h.

◆ Error

enum esphome::canbus::Error : uint8_t
Enumerator
ERROR_OK 
ERROR_FAIL 
ERROR_ALLTXBUSY 
ERROR_FAILINIT 
ERROR_FAILTX 
ERROR_NOMSG 

Definition at line 13 of file canbus.h.