|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
ESP32 TWAI node configuration structure for ESP-IDF v5.5. More...
#include <EspCan.h>
Public Member Functions | |
| hf_esp_can_config_t () noexcept | |
Public Attributes | |
| hf_pin_num_t | tx_pin |
| TX GPIO pin number. | |
| hf_pin_num_t | rx_pin |
| RX GPIO pin number. | |
| uint32_t | baud_rate |
| Target baud rate in bps. | |
| uint32_t | sample_point_permill |
| Sample point in permille (750 = 75%) | |
| uint32_t | secondary_sample_point |
| Secondary sample point for enhanced timing. | |
| uint32_t | tx_queue_depth |
| Transmit queue depth. | |
| uint32_t | rx_queue_depth |
| Receive queue depth (internal) | |
| hf_can_controller_id_t | controller_id |
| Controller ID (0 for ESP32-C6) | |
| hf_can_mode_t | mode |
| Operating mode. | |
| int8_t | fail_retry_cnt |
| Retry count (-1 = infinite, 0 = single shot) | |
| uint8_t | intr_priority |
| Interrupt priority (0-3) | |
| bool | enable_self_test |
| Enable self-test mode (no ACK required) | |
| bool | enable_loopback |
| Enable loopback mode. | |
| bool | enable_listen_only |
| Enable listen-only mode. | |
| bool | no_receive_rtr |
| Filter out remote frames when using filters. | |
| bool | enable_alerts |
| Enable alert monitoring. | |
| uint32_t | clk_flags |
| Clock source flags for specific requirements. | |
ESP32 TWAI node configuration structure for ESP-IDF v5.5.
Comprehensive configuration following ESP-IDF v5.5 node-based API.
|
inlinenoexcept |
| uint32_t hf_esp_can_config_t::baud_rate |
Target baud rate in bps.
| uint32_t hf_esp_can_config_t::clk_flags |
Clock source flags for specific requirements.
| hf_can_controller_id_t hf_esp_can_config_t::controller_id |
Controller ID (0 for ESP32-C6)
| bool hf_esp_can_config_t::enable_alerts |
Enable alert monitoring.
| bool hf_esp_can_config_t::enable_listen_only |
Enable listen-only mode.
| bool hf_esp_can_config_t::enable_loopback |
Enable loopback mode.
| bool hf_esp_can_config_t::enable_self_test |
Enable self-test mode (no ACK required)
| int8_t hf_esp_can_config_t::fail_retry_cnt |
Retry count (-1 = infinite, 0 = single shot)
| uint8_t hf_esp_can_config_t::intr_priority |
Interrupt priority (0-3)
| hf_can_mode_t hf_esp_can_config_t::mode |
Operating mode.
| bool hf_esp_can_config_t::no_receive_rtr |
Filter out remote frames when using filters.
| hf_pin_num_t hf_esp_can_config_t::rx_pin |
RX GPIO pin number.
| uint32_t hf_esp_can_config_t::rx_queue_depth |
Receive queue depth (internal)
| uint32_t hf_esp_can_config_t::sample_point_permill |
Sample point in permille (750 = 75%)
| uint32_t hf_esp_can_config_t::secondary_sample_point |
Secondary sample point for enhanced timing.
| hf_pin_num_t hf_esp_can_config_t::tx_pin |
TX GPIO pin number.
| uint32_t hf_esp_can_config_t::tx_queue_depth |
Transmit queue depth.