working SUS in externally clocked mode
This commit is contained in:
@ -41,15 +41,10 @@ protected:
|
||||
private:
|
||||
|
||||
enum class CommunicationStep {
|
||||
PERFORM_CONVERSIONS,
|
||||
REQUEST_TEMP,
|
||||
READ_TEMP,
|
||||
WRITE_SETUP
|
||||
};
|
||||
|
||||
enum class InternalState {
|
||||
SETUP,
|
||||
CONFIGURED
|
||||
WRITE_SETUP,
|
||||
REQUEST_TEMPERATURE,
|
||||
READ_TEMPERATURE,
|
||||
READ_CHANNELS
|
||||
};
|
||||
|
||||
LinuxLibgpioIF* gpioComIF = nullptr;
|
||||
@ -59,7 +54,6 @@ private:
|
||||
SUS::SusDataset dataset;
|
||||
|
||||
uint8_t cmdBuffer[SUS::MAX_CMD_SIZE];
|
||||
InternalState internalState = InternalState::SETUP;
|
||||
CommunicationStep communicationStep = CommunicationStep::WRITE_SETUP;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user