Use information from STM32Cube to update the I2C driver.

This commit is contained in:
Jonathan Naylor
2021-02-28 13:23:17 +00:00
parent f033fea2fb
commit 2ae731e78c
4 changed files with 51 additions and 72 deletions
+1 -3
View File
@@ -52,10 +52,8 @@ private:
bool m_ok;
uint8_t m_addr;
bool setAddr(uint8_t addr, uint8_t dir);
bool write(uint8_t c);
bool waitISRFlagsSet(uint32_t flags);
bool waitLineIdle();
void configureDataTransfer(uint8_t size);
};
#endif