8#ifndef USEREXTENSIONS_SRC_MTENCODERSPI_H_
9#define USEREXTENSIONS_SRC_MTENCODERSPI_H_
43 uint32_t
getCpr()
override;
CommandHandler(const char *clsname, uint16_t clsid, uint8_t instance=0)
int32_t getPos() override
static bool isCreatable()
uint32_t getCpr() override
cpp_freertos::BinarySemaphore requestNewDataSem
void saveFlash() override
cpp_freertos::BinarySemaphore waitForUpdateSem
uint8_t readSpi(uint16_t addr)
int32_t getPosAbs() override
void writeSpi(uint16_t addr, uint8_t data)
void setMode(MtEncoderSPI_mode mode)
const ClassIdentifier getInfo()
void restoreFlash() override
EncoderType getEncoderType()
void spiTxRxCompleted(SPIPort *port)
bool updateAngleStatusCb()
void setCsPin(uint8_t cspin)
static ClassIdentifier info
CommandStatus command(const ParsedCommand &cmd, std::vector< CommandReply > &replies)
static std::array< uint8_t, 256 > tableCRC
SPIDevice(SPIPort &port, OutputPin csPin)
static struct @024127060247016123033304002117326322243354210111 data