change semantic of is_configured_mode and is_supported_mode to fix setting internal-pullup with digitalWrite on Input-pin