有些问题有关ESP8266的手册中的如下一段话。 我想问的是
1)在硬件 reset 时,是否还能保持该 GPIO 的状态?
2)在deep-sleep 中是否还能保持该 GPIO 的状态?
3)能否给个详细的说明如何实现 把“选择性的保持功能植入IO中”?
4) 能否给个样例代码呢?
我目前的情况是希望能保持 GPIO 14 为 输出 0 状态, 在 reset 和 deep-sleep 醒来后也保持不变。 想知道如何办到? 如果这个 GPIO14 不能, 是否有其他的 GPIO 管脚可以办到?
谢谢!
===8.4.3. 数字IO 管脚
===数字IO焊盘是双向、三态的。它包括输入和输出的三态控制缓冲器。此外,对于低功耗的运算,IO
===还能被设定为保持状态。比如说,当我们降低芯片的功耗,所有输出使能信号可以被设定为保持低
===功耗状态。
===选择性的保持功能可以应需植入IO中。当IO 不由内外部电路驱动时,保持功能可以被用于保持上次
===状态。
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.