Added I2C clock config

This commit is contained in:
Ea-r-th
2025-09-16 00:38:36 -07:00
parent d4136f0761
commit 7b32859c88
4 changed files with 48 additions and 12 deletions

View File

@@ -27,6 +27,8 @@ public:
/// \param readLen number of bytes to be read
void masterWriteRead(uint8_t addr,const uint8_t* writeData, size_t writeLen, uint8_t* readData, size_t readLen);
uint8_t masterWriteReadByte(uint8_t addr, const uint8_t* writeData, size_t writeLen);
/// Function to write an array of commands to an I2C device
/// \param addr Address of slave device
/// \param writeData Pointer to array of commands