public static bool Read(BroadcomPinNumberEnum pin) => InternalRead((int)pin);
public static void Write(BroadcomPinNumberEnum pin, bool state) => InternalWrite((int)pin, state);
public static void Setup(BroadcomPinNumberEnum pin, PinModeEnum mode, PullUpModeEnum?pullUpMode = null) => InternalSetup((int)pin, mode, pullUpMode);
public static void Remove(BroadcomPinNumberEnum pin) => Setup(pin, InterruptModeEnum.None, null);
public static IDisposable SetupPolled(BroadcomPinNumberEnum pin, InterruptModeEnum mode, Action handler) => InternalSetupPolled((int)pin, mode, handler);
public static void Setup(BroadcomPinNumberEnum pin, InterruptModeEnum mode, Action handler) => InternalSetup((int)pin, mode, handler);