mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
27 lines
510 B
C
27 lines
510 B
C
/*
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "sdkconfig.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_1
|
|
#define GPIO_MATRIX_CONST_ONE_INPUT (0x38)
|
|
#define GPIO_MATRIX_CONST_ZERO_INPUT (0x3C)
|
|
#elif CONFIG_IDF_TARGET_ESP32H4_BETA_VERSION_2
|
|
#define GPIO_MATRIX_CONST_ONE_INPUT (0x1E)
|
|
#define GPIO_MATRIX_CONST_ZERO_INPUT (0x1F)
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|