Ivan Grokhotkov
5bf3654637
soc/rtc: Force power on 8M clock if it is used to derive RTC slow clock
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
94250e42a0
sleep: optimize light sleep wakeup latency
2018-04-26 19:36:47 +08:00
Ivan Grokhotkov
ac623a9756
soc/rtc: restore dbg attenuation when waking from sleep
...
This fixes inability to enter deep sleep after waking up from light sleep
2018-04-26 18:52:46 +08:00
Ivan Grokhotkov
b0a91630fb
soc/rtc: allow main XTAL to be powered on in sleep
2018-04-26 18:52:45 +08:00
Ivan Grokhotkov
3c78faa0a9
soc/rtc: don’t switch frequency in rtc_sleep_init
2018-04-26 18:52:45 +08:00
Ivan Grokhotkov
fb9c106bcb
soc/rtc: add function to get/set VDDSDIO configuration
...
Also consider case of VDDSDIO force powered on in rtc_sleep.
2017-11-03 15:49:09 +08:00
Ivan Grokhotkov
9bfb45aa1d
soc/rtc: fix increased current consumption in light sleep
...
This fixes a configuration issue of RTC, which caused light sleep current
to be 1.35mA instead of 0.85mA.
2017-11-02 13:57:26 +08:00
Ivan Grokhotkov
d2acf1ce77
sleep: add light sleep, factor out APIs common for deep/light sleep
2017-09-01 10:36:14 +08:00
Ivan Grokhotkov
f8b719d911
soc/rtc: add sleep flag to control powerdown of VDD_SDIO
2017-09-01 10:36:14 +08:00
Tian Hao
26a3cb93c7
component/soc : move dport access header files to soc
...
1. move dport access header files to soc
2. reduce dport register write protection. Only protect read operation
2017-05-09 18:06:00 +08:00
Tian Hao
f7e8856520
component/esp32 : fix dualcore bug
...
1. When dual core cpu run access DPORT register, must do protection.
2. If access DPORT register, must use DPORT_REG_READ/DPORT_REG_WRITE and DPORT_XXX register operation macro.
2017-05-08 21:53:43 +08:00
Ivan Grokhotkov
7ee8ee8b7e
soc: add source code of rtc_clk, rtc_pm
2017-04-11 15:45:54 +08:00