1 /* 2 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "soc/twai_periph.h" 8 #include "soc/gpio_sig_map.h" 9 10 const twai_controller_signal_conn_t twai_controller_periph_signals = { 11 .controllers = { 12 [0] = { 13 .module = PERIPH_TWAI_MODULE, 14 .irq_id = ETS_TWAI_INTR_SOURCE, 15 .tx_sig = TWAI_TX_IDX, 16 .rx_sig = TWAI_RX_IDX, 17 .bus_off_sig = TWAI_BUS_OFF_ON_IDX, 18 .clk_out_sig = TWAI_CLKOUT_IDX, 19 .stand_by_sig = -1, 20 }, 21 } 22 }; 23