adis handler continued

This commit is contained in:
2021-05-24 20:57:12 +02:00
committed by Robin Mueller
parent fe62e38afc
commit 0fa32ef2ea
3 changed files with 72 additions and 1 deletions

View File

@ -42,11 +42,20 @@ private:
IDLE
};
enum class BurstModes {
BURST_16_BURST_SEL_0,
BURST_16_BURST_SEL_1,
BURST_32_BURST_SEL_0,
BURST_32_BURST_SEL_1
};
InternalState internalState = InternalState::STARTUP;
bool commandExecuted = false;
void prepareReadCommand(uint8_t* regList, size_t len);
BurstModes getBurstMode();
#if OBSW_ADIS16507_LINUX_COM_IF == 1
static ReturnValue_t spiSendCallback(SpiComIF* comIf, SpiCookie *cookie,
const uint8_t *sendData, size_t sendLen, void* args);