Skip to content

Commit e03b653

Browse files
authored
Merge pull request #157 from obra/master
Add a new 'OUTPUT_OPENDRAIN' pinmode for platforms.
2 parents 6a524ad + df98331 commit e03b653

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

api/Common.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ typedef enum {
1616
} PinStatus;
1717

1818
typedef enum {
19-
INPUT = 0x0,
20-
OUTPUT = 0x1,
21-
INPUT_PULLUP = 0x2,
22-
INPUT_PULLDOWN = 0x3,
19+
INPUT = 0x0,
20+
OUTPUT = 0x1,
21+
INPUT_PULLUP = 0x2,
22+
INPUT_PULLDOWN = 0x3,
23+
OUTPUT_OPENDRAIN = 0x4,
2324
} PinMode;
2425

2526
typedef enum {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy