mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
4fde033a5f
This commit adds support for using the RTC I2C peripheral on the ULP RISC-V core for esp32s2 and esp32s3. It also adds an example to demonstrate the usage of the RTC I2C peripheral. This commit also modifies the rtc_i2c register structure files to enable the use of bitfields in the ULP RISC-V RTC I2C driver.
11 lines
233 B
Plaintext
11 lines
233 B
Plaintext
/*
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
PROVIDE ( RTCCNTL = 0x8000 );
|
|
PROVIDE ( RTCIO = 0xA400 );
|
|
PROVIDE ( SENS = 0xC800 );
|
|
PROVIDE ( RTC_I2C = 0x8C00 );
|