kopia lustrzana https://github.com/espressif/esp-idf
46 wiersze
1.7 KiB
C
46 wiersze
1.7 KiB
C
// Copyright 2020 Espressif Systems (Shanghai) PTE LTD
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#include "soc/dedic_gpio_periph.h"
|
|
#include "soc/gpio_sig_map.h"
|
|
|
|
const dedic_gpio_signal_conn_t dedic_gpio_periph_signals = {
|
|
.module = PERIPH_DEDIC_GPIO_MODULE,
|
|
.irq = ETS_DEDICATED_GPIO_INTR_SOURCE,
|
|
.cores = {
|
|
[0] = {
|
|
.in_sig_per_channel = {
|
|
[0] = PRO_ALONEGPIO_IN0_IDX,
|
|
[1] = PRO_ALONEGPIO_IN1_IDX,
|
|
[2] = PRO_ALONEGPIO_IN2_IDX,
|
|
[3] = PRO_ALONEGPIO_IN3_IDX,
|
|
[4] = PRO_ALONEGPIO_IN4_IDX,
|
|
[5] = PRO_ALONEGPIO_IN5_IDX,
|
|
[6] = PRO_ALONEGPIO_IN6_IDX,
|
|
[7] = PRO_ALONEGPIO_IN7_IDX,
|
|
},
|
|
.out_sig_per_channel = {
|
|
[0] = PRO_ALONEGPIO_OUT0_IDX,
|
|
[1] = PRO_ALONEGPIO_OUT1_IDX,
|
|
[2] = PRO_ALONEGPIO_OUT2_IDX,
|
|
[3] = PRO_ALONEGPIO_OUT3_IDX,
|
|
[4] = PRO_ALONEGPIO_OUT4_IDX,
|
|
[5] = PRO_ALONEGPIO_OUT5_IDX,
|
|
[6] = PRO_ALONEGPIO_OUT6_IDX,
|
|
[7] = PRO_ALONEGPIO_OUT7_IDX,
|
|
}
|
|
},
|
|
},
|
|
};
|