Reads the value of the port of the input configuration.
Get the input value of a pin that has been previously set as an input, either LOW or HIGH.
No conversion operator from type E_PIN_STATE to type int is defined, so direct assignment to a numeric type is not possible.