HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
hf_can_config_t Struct Reference

Platform-agnostic CAN bus configuration. More...

#include <BaseCan.h>

Public Member Functions

 hf_can_config_t () noexcept
 

Public Attributes

hf_pin_num_t tx_pin
 CAN TX pin.
 
hf_pin_num_t rx_pin
 CAN RX pin.
 
hf_baud_rate_t baudrate
 CAN baudrate (bps)
 
bool loopback_mode
 Enable loopback mode for testing.
 
bool silent_mode
 Enable silent mode (listen-only)
 
hf_u16_t tx_queue_size
 TX queue size (implementation-dependent)
 
hf_u16_t rx_queue_size
 RX queue size (implementation-dependent)
 

Detailed Description

Platform-agnostic CAN bus configuration.

Configuration structure that works across different CAN implementations without exposing MCU-specific types.

Constructor & Destructor Documentation

◆ hf_can_config_t()

hf_can_config_t::hf_can_config_t ( )
inlinenoexcept

Member Data Documentation

◆ baudrate

hf_baud_rate_t hf_can_config_t::baudrate

CAN baudrate (bps)

◆ loopback_mode

bool hf_can_config_t::loopback_mode

Enable loopback mode for testing.

◆ rx_pin

hf_pin_num_t hf_can_config_t::rx_pin

CAN RX pin.

◆ rx_queue_size

hf_u16_t hf_can_config_t::rx_queue_size

RX queue size (implementation-dependent)

◆ silent_mode

bool hf_can_config_t::silent_mode

Enable silent mode (listen-only)

◆ tx_pin

hf_pin_num_t hf_can_config_t::tx_pin

CAN TX pin.

◆ tx_queue_size

hf_u16_t hf_can_config_t::tx_queue_size

TX queue size (implementation-dependent)


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