nodemcu-firmware/app/modules
HuangRui 5894df1da6 Combined dsleep_set_options(option) to dsleep( us, option )
* dsleep( us, option )
Hardware has to support deep-sleep wake up (XPD_DCDC connects to EXT_RSTB with 0R). system_deep_sleep(0) ,set no wake up timer,connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST.
** us: Integer
time to sleep.
if us = 0, it will sleep forever.
** option: Integer
option=0, init data byte 108 is valuable;
option>0, init data byte 108 is valueless.
More details as follows:
0, RF_CAL or not after deep-sleep wake up, depends on init data byte 108.
1, RF_CAL after deep-sleep wake up, there will belarge current.
2, no RF_CAL after deep-sleep wake up, there will only be small current.
4, disable RF after deep-sleep wake up, just like modem sleep, there will be the smallest current.
2015-01-29 14:21:38 +08:00
..
Makefile merge mqtt branch to master and build pre_build bin 2015-01-23 11:48:05 +08:00
adc.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
auxmods.h merge mqtt branch to master and build pre_build bin 2015-01-23 11:48:05 +08:00
bit.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
file.c fix net.socket:send(), fix file.read() when 0xFF reached 2015-01-08 16:03:21 +08:00
gpio.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
i2c.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
modules.h merge mqtt branch to master and build pre_build bin 2015-01-23 11:48:05 +08:00
mqtt.c merge mqtt branch to master and build pre_build bin 2015-01-23 11:48:05 +08:00
net.c add spi, and some minor fix 2015-01-18 11:46:15 +08:00
node.c Combined dsleep_set_options(option) to dsleep( us, option ) 2015-01-29 14:21:38 +08:00
ow.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
pwm.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
spi.c Add SPI Module 2015-01-16 22:41:34 +02:00
tmr.c fix #132, #113, switch to lib/libssl.a 2015-01-27 20:47:41 +08:00
uart.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
wifi.c migrate to sdk 0.9.5 release version 2015-01-24 23:36:04 +08:00