Added missing PinState enum

The enum was missing. Just added it.