For the Arduino, the following code was used to read the state of a pin directly:
byte pinStatus; pinStatus= PIND >> 3& B00000001; //In PIND register, shift 3 right and check, whether it equals 1
What would be the equivalent on the NodeMCU 1.0? My search for port registers, I/O register names unfortunately came back empty.
Due to speed, I'd like to avoid using digitalRead(my_pin)