We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a1563ef + ceacc17 commit e2a8653Copy full SHA for e2a8653
cores/arduino/Arduino.h
@@ -129,6 +129,7 @@ bool isDoubleBondedActive(uint8_t pin);
129
130
#define portOutputRegister(P) ( (volatile uint8_t *)( &portToPortStruct(P)->OUT ) )
131
#define portInputRegister(P) ( (volatile uint8_t *)( &portToPortStruct(P)->IN ) )
132
+#define portModeRegister(P) ( (volatile uint8_t *)( &portToPortStruct(P)->DIR ) )
133
134
#ifdef __cplusplus
135
} // extern "C"
0 commit comments