Searched refs:g_config (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.6.0/components/driver/ |
D | twai.c | 398 esp_err_t twai_driver_install(const twai_general_config_t *g_config, const twai_timing_config_t *t_… in twai_driver_install() argument 401 TWAI_CHECK(g_config != NULL, ESP_ERR_INVALID_ARG); in twai_driver_install() 404 TWAI_CHECK(g_config->rx_queue_len > 0, ESP_ERR_INVALID_ARG); in twai_driver_install() 405 TWAI_CHECK(g_config->tx_io >= 0 && g_config->tx_io < GPIO_NUM_MAX, ESP_ERR_INVALID_ARG); in twai_driver_install() 406 TWAI_CHECK(g_config->rx_io >= 0 && g_config->rx_io < GPIO_NUM_MAX, ESP_ERR_INVALID_ARG); in twai_driver_install() 409 TWAI_CHECK(!(g_config->intr_flags & ESP_INTR_FLAG_IRAM), ESP_ERR_INVALID_ARG); in twai_driver_install() 419 p_twai_obj_dummy = twai_alloc_driver_obj(g_config->tx_queue_len, g_config->rx_queue_len); in twai_driver_install() 424 p_twai_obj_dummy->mode = g_config->mode; in twai_driver_install() 425 p_twai_obj_dummy->alerts_enabled = g_config->alerts_enabled; in twai_driver_install() 442 …twai_hal_configure(&twai_context, t_config, f_config, DRIVER_DEFAULT_INTERRUPTS, g_config->clkout_… in twai_driver_install() [all …]
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | can.h | 51 #define can_driver_install(g_config, t_config, f_config) twai_driver_install(g_config, t_con… argument
|
D | twai.h | 142 esp_err_t twai_driver_install(const twai_general_config_t *g_config, const twai_timing_config_t *t_…
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_listen_only/main/ |
D | twai_network_example_listen_only_main.c | 48 static const twai_general_config_t g_config = {.mode = TWAI_MODE_LISTEN_ONLY, variable 106 ESP_ERROR_CHECK(twai_driver_install(&g_config, &t_config, &f_config)); in app_main()
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_alert_and_recovery/main/ |
D | twai_alert_and_recovery_example_main.c | 45 static const twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(TX_GPIO_NUM, RX_GPIO_NUM,… 141 ESP_ERROR_CHECK(twai_driver_install(&g_config, &t_config, & f_config)); in app_main()
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_self_test/main/ |
D | twai_self_test_example_main.c | 49 static const twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(TX_GPIO_NUM, RX_GPIO_NUM,… 124 ESP_ERROR_CHECK(twai_driver_install(&g_config, &t_config, &f_config)); in app_main()
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_master/main/ |
D | twai_network_example_master_main.c | 67 static const twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(TX_GPIO_NUM, RX_GPIO_NUM,… 221 ESP_ERROR_CHECK(twai_driver_install(&g_config, &t_config, &f_config)); in app_main()
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_slave/main/ |
D | twai_network_example_slave_main.c | 66 static const twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(TX_GPIO_NUM, RX_GPIO_NUM,… 248 ESP_ERROR_CHECK(twai_driver_install(&g_config, &t_config, &f_config)); in app_main()
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | twai.rst | 375 …twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(GPIO_NUM_21, GPIO_NUM_22, TWAI_MODE_N… 380 if (twai_driver_install(&g_config, &t_config, &f_config) == ESP_OK) {
|