Internal Interface Wrap
API reference
Loading...
Searching...
No Matches
Variables
hf_can_flag Namespace Reference

Packed frame flags (see hf_can_message_t::GetFlags()). More...

Variables

constexpr hf_u8_t EXT = 0x01U
 29-bit identifier
 
constexpr hf_u8_t RTR = 0x02U
 remote request (classic only)
 
constexpr hf_u8_t FDF = 0x04U
 FD frame format.
 
constexpr hf_u8_t BRS = 0x08U
 bit-rate switch (FD only)
 
constexpr hf_u8_t ESI = 0x10U
 error state indicator (FD only)
 
constexpr hf_u8_t ALL = EXT | RTR | FDF | BRS | ESI
 

Detailed Description

Packed frame flags (see hf_can_message_t::GetFlags()).

The bit values are the same as vortex::contracts::frame_flag, so a flags byte can be copied between the two frame types unchanged.

Variable Documentation

◆ ALL

constexpr hf_u8_t hf_can_flag::ALL = EXT | RTR | FDF | BRS | ESI
inlineconstexpr

◆ BRS

constexpr hf_u8_t hf_can_flag::BRS = 0x08U
inlineconstexpr

bit-rate switch (FD only)

◆ ESI

constexpr hf_u8_t hf_can_flag::ESI = 0x10U
inlineconstexpr

error state indicator (FD only)

◆ EXT

constexpr hf_u8_t hf_can_flag::EXT = 0x01U
inlineconstexpr

29-bit identifier

◆ FDF

constexpr hf_u8_t hf_can_flag::FDF = 0x04U
inlineconstexpr

FD frame format.

◆ RTR

constexpr hf_u8_t hf_can_flag::RTR = 0x02U
inlineconstexpr

remote request (classic only)