add output of opener states via gpio

This commit is contained in:
technyon
2023-04-07 17:01:17 +02:00
parent 0ae0fb6265
commit 10c662fb5f
4 changed files with 44 additions and 1 deletions

8
Gpio.h
View File

@@ -17,6 +17,9 @@ enum class PinRole
OutputHighLocked,
OutputHighUnlocked,
OutputHighMotorBlocked,
OutputHighRtoActive,
OutputHighCmActive,
OutputHighRtoOrCmActive
};
enum class GpioAction
@@ -72,7 +75,10 @@ private:
PinRole::InputActivateCM,
PinRole::InputDeactivateRtoCm,
PinRole::OutputHighLocked,
PinRole::OutputHighUnlocked
PinRole::OutputHighUnlocked,
PinRole::OutputHighRtoActive,
PinRole::OutputHighCmActive,
PinRole::OutputHighRtoOrCmActive,
};
std::vector<PinEntry> _pinConfiguration;