1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-26 07:02:15 +03:00

Add wakeup pullup and pulldown pin modes

This commit is contained in:
Ivan Grokhotkov
2015-05-29 21:26:23 +03:00
parent d862cdbb5a
commit 6387005c7f
2 changed files with 12 additions and 0 deletions

View File

@ -51,6 +51,8 @@ void yield(void);
#define INPUT_PULLDOWN 0x04
#define OUTPUT 0x01
#define OUTPUT_OPEN_DRAIN 0x03
#define WAKEUP_PULLUP 0x05
#define WAKEUP_PULLDOWN 0x07
#define SPECIAL 0xF8 //defaults to the usable BUSes uart0rx/tx uart1tx and hspi
#define FUNCTION_0 0x08
#define FUNCTION_1 0x18