1 // Copyright 2020 Espressif Systems (Shanghai) PTE LTD 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #include "soc/rmt_periph.h" 16 #include "soc/gpio_sig_map.h" 17 18 const rmt_signal_conn_t rmt_periph_signals = { 19 .groups = { 20 [0] = { 21 .module = PERIPH_RMT_MODULE, 22 .irq = ETS_RMT_INTR_SOURCE, 23 .channels = { 24 [0] = { 25 .tx_sig = RMT_SIG_OUT0_IDX, 26 .rx_sig = RMT_SIG_IN0_IDX 27 }, 28 [1] = { 29 .tx_sig = RMT_SIG_OUT1_IDX, 30 .rx_sig = RMT_SIG_IN1_IDX 31 }, 32 [2] = { 33 .tx_sig = RMT_SIG_OUT2_IDX, 34 .rx_sig = RMT_SIG_IN2_IDX 35 }, 36 [3] = { 37 .tx_sig = RMT_SIG_OUT3_IDX, 38 .rx_sig = RMT_SIG_IN3_IDX 39 } 40 } 41 } 42 } 43 }; 44