mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-26 18:14:11 +00:00
rtcio: add hal for driver
This commit is contained in:
21
components/soc/esp32/include/soc/rtc_io_caps.h
Normal file
21
components/soc/esp32/include/soc/rtc_io_caps.h
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright 2015-2019 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.
|
||||
|
||||
#ifndef _SOC_RTC_IO_CAPS_H_
|
||||
#define _SOC_RTC_IO_CAPS_H_
|
||||
|
||||
#define SOC_RTC_IO_PIN_COUNT 18
|
||||
#define SOC_PIN_FUNC_RTC_IO 0
|
||||
|
||||
#endif
|
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef _SOC_RTC_GPIO_CHANNEL_H
|
||||
#define _SOC_RTC_GPIO_CHANNEL_H
|
||||
#ifndef _SOC_RTC_IO_CHANNEL_H
|
||||
#define _SOC_RTC_IO_CHANNEL_H
|
||||
|
||||
#define RTC_GPIO_NUMBER 18
|
||||
|
Reference in New Issue
Block a user