mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 15:11:40 +01:00 
			
		
		
		
	
		
			
	
	
		
			52 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			52 lines
		
	
	
		
			1.8 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 = -1, | ||
|  |     .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, | ||
|  |             }, | ||
|  |             .out_sig_per_channel = { | ||
|  |                 [0] = PRO_ALONEGPIO_OUT0_IDX, | ||
|  |                 [1] = PRO_ALONEGPIO_OUT1_IDX, | ||
|  |                 [2] = PRO_ALONEGPIO_OUT2_IDX, | ||
|  |                 [3] = PRO_ALONEGPIO_OUT3_IDX, | ||
|  |             } | ||
|  |         }, | ||
|  |         [1] = { | ||
|  |             .in_sig_per_channel = { | ||
|  |                 [0] = PRO_ALONEGPIO_IN4_IDX, | ||
|  |                 [1] = PRO_ALONEGPIO_IN5_IDX, | ||
|  |                 [2] = PRO_ALONEGPIO_IN6_IDX, | ||
|  |                 [3] = PRO_ALONEGPIO_IN7_IDX, | ||
|  |             }, | ||
|  |             .out_sig_per_channel = { | ||
|  |                 [0] = PRO_ALONEGPIO_OUT4_IDX, | ||
|  |                 [1] = PRO_ALONEGPIO_OUT5_IDX, | ||
|  |                 [2] = PRO_ALONEGPIO_OUT6_IDX, | ||
|  |                 [3] = PRO_ALONEGPIO_OUT7_IDX, | ||
|  |             } | ||
|  |         }, | ||
|  |     }, | ||
|  | }; |