Updates
This commit is contained in:
8
Gpio.h
8
Gpio.h
@@ -16,6 +16,8 @@ enum class PinRole
|
||||
InputActivateRTO,
|
||||
InputActivateCM,
|
||||
InputDeactivateRtoCm,
|
||||
InputDeactivateRTO,
|
||||
InputDeactivateCM,
|
||||
OutputHighLocked,
|
||||
OutputHighUnlocked,
|
||||
OutputHighMotorBlocked,
|
||||
@@ -38,6 +40,8 @@ enum class GpioAction
|
||||
ActivateRTO,
|
||||
ActivateCM,
|
||||
DeactivateRtoCm,
|
||||
DeactivateRTO,
|
||||
DeactivateCM,
|
||||
GeneralInput
|
||||
};
|
||||
|
||||
@@ -88,6 +92,8 @@ private:
|
||||
PinRole::InputActivateRTO,
|
||||
PinRole::InputActivateCM,
|
||||
PinRole::InputDeactivateRtoCm,
|
||||
PinRole::InputDeactivateRTO,
|
||||
PinRole::InputDeactivateCM,
|
||||
PinRole::OutputHighLocked,
|
||||
PinRole::OutputHighUnlocked,
|
||||
PinRole::OutputHighRtoActive,
|
||||
@@ -110,6 +116,8 @@ private:
|
||||
static void IRAM_ATTR isrActivateRTO();
|
||||
static void IRAM_ATTR isrActivateCM();
|
||||
static void IRAM_ATTR isrDeactivateRtoCm();
|
||||
static void IRAM_ATTR isrDeactivateRTO();
|
||||
static void IRAM_ATTR isrDeactivateCM();
|
||||
|
||||
std::vector<std::function<void(const GpioAction&, const int&)>> _callbacks;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user