We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa78359 + cf3c6d0 commit 5da10b0Copy full SHA for 5da10b0
os/hal/ports/LPC/LLD/GPIO/hal_pal_lld.h
@@ -51,6 +51,9 @@
51
#define PAL_MODE_INPUT_PULLUP (MODE_DIR_IN | MODE_MODE_PULL_UP | MODE_AD_DIGITAL)
52
#define PAL_MODE_INPUT_PULLDOWN (MODE_DIR_IN | MODE_MODE_PULL_DOWN | MODE_AD_DIGITAL)
53
#define PAL_MODE_OUTPUT_OPENDRAIN (MODE_DIR_OUT | MODE_OD_ENABLE | MODE_AD_DIGITAL)
54
+/* LPC11Uxx does not support true pushpull output, but its non-opendrain output
55
+ * is sufficient in many use cases, so convenient to alias PUSHPULL to it. */
56
+#define PAL_MODE_OUTPUT_PUSHPULL (MODE_DIR_OUT | MODE_AD_DIGITAL)
57
58
/*===========================================================================*/
59
/* I/O Ports Types and constants. */
0 commit comments