Skip to content

Commit bc05920

Browse files
authored
Update esp32-hal-gpio.h
1 parent 6ae2427 commit bc05920

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: cores/esp32/esp32-hal-gpio.h

+7
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ extern "C" {
4949
#define INPUT_PULLDOWN 0x09
5050
#define OPEN_DRAIN 0x10
5151
#define OUTPUT_OPEN_DRAIN 0x12
52+
#define SPECIAL 0xF0
53+
#define FUNCTION_1 0x00
54+
#define FUNCTION_2 0x20
55+
#define FUNCTION_3 0x40
56+
#define FUNCTION_4 0x60
57+
#define FUNCTION_5 0x80
58+
#define FUNCTION_6 0xA0
5259
#define ANALOG 0xC0
5360

5461
//Interrupt Modes

0 commit comments

Comments
 (0)