Struct espos_n2k::TwaiReceiverConfig¶
ClassList > espos_n2k > TwaiReceiverConfig
#include <espos_n2k/twai_receiver.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | bitrate = 250000 |
| gpio_num_t | rx_pin = GPIO\_NUM\_NC |
| size_t | rx_queue_depth = CONFIG\_ESPOS\_N2K\_RX\_QUEUE\_DEPTH |
| gpio_num_t | tx_pin = GPIO\_NUM\_NCNo default: which pins carry CAN is a property of the board, and a number that exists on one target does not on another (esp32c3 has no GPIO 22 at all). |
Public Attributes Documentation¶
variable bitrate¶
variable rx_pin¶
variable rx_queue_depth¶
variable tx_pin¶
No default: which pins carry CAN is a property of the board, and a number that exists on one target does not on another (esp32c3 has no GPIO 22 at all).
The application must say. GPIO_NUM_NC leaves the receiver unstarted with an explicit log line rather than binding whatever pin the number happens to mean here.
The documentation for this class was generated from the following file espos_n2k/include/espos_n2k/twai_receiver.h