ESP-IDF + 0/5 examples
SourceVu will show references to twai_general_config_t from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxRelatedReferences

Fields

Field
Declared as
Description
uint32_t
Bit field of alerts to enable (see documentation).
uint32_t
CLKOUT divider. Can be 1 or any even number from 2 to 14 (optional, set to 0 if unused).
int
Interrupt flags to set the priority of the driver's ISR. Note that to use the ESP_INTR_FLAG_IRAM, the CONFIG_TWAI_ISR_IN_IRAM option should be enabled first.
struct { uint32_t sleep_allow_pd; }
General flags.
int
TWAI controller ID, index from 0. If you want to install TWAI driver with a non-zero controller_id, please use `twai_driver_install_v2`.
Mode of TWAI controller.
Transmit GPIO number.
Receive GPIO number.
CLKOUT GPIO number (optional, set to -1 if unused).
Bus off indicator GPIO number (optional, set to -1 if unused).
uint32_t
Number of messages TX queue can hold (set to 0 to disable TX Queue).
uint32_t
Number of messages RX queue can hold.

References

from examples