1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00

Add offset parameter to rtcUserMemoryRead/Write, expose RTC_USER_MEM in esp8266_peri.h

This commit is contained in:
Ivan Grokhotkov
2016-06-02 13:39:53 +08:00
parent 9e60d4d463
commit 4b43860276
4 changed files with 11 additions and 9 deletions

View File

@ -169,6 +169,8 @@ extern uint8_t esp8266_gpioToFn[16];
#define RTCIC ESP8266_REG(0x724) //RTC INT Clear
#define RTCIE ESP8266_REG(0x728) //RTC INT Enable
#define RTC_USER_MEM ((volatile uint32_t*)0x60001200)
//IO SWAP Register
#define IOSWAP ESP8266_DREG(0x28)
#define IOSWAPU 0 //Swaps UART