Added a missing function description + minor description rephrasing

This commit is contained in:
Th3maz1ng 2023-02-03 13:34:19 +01:00
parent 15c4486967
commit 90aac63257

View File

@ -16,7 +16,7 @@
void i2c_init(enum tls_io_name SDAPin, enum tls_io_name SCLPin, uint32_t frequency);
/**
* @brief
* @brief Writes multiple bytes in one I2C transfer to the slave device.
*
* @param address the 7 bit address of the slave device
* @param reg the address of the register from where the write will start (the device should have write with autoincrement register functionality)
@ -28,7 +28,7 @@ void i2c_init(enum tls_io_name SDAPin, enum tls_io_name SCLPin, uint32_t frequen
bool i2c_write(uint8_t address, uint8_t reg, const uint8_t * const data, size_t length);
/**
* @brief Writes the given data to the provided register of the slave device.
* @brief Writes the given byte to the provided register of the slave device.
*
* @param address the 7 bit address of the slave device
* @param reg the address of the register
@ -39,7 +39,7 @@ bool i2c_write(uint8_t address, uint8_t reg, const uint8_t * const data, size_t
bool i2c_write_reg(uint8_t address, uint8_t reg, uint8_t data);
/**
* @brief Reads multiple data in one I2C transaction from the slave device.
* @brief Reads multiple data in one I2C transfer from the slave device.
*
* @param address the 7 bit address of the slave device
* @param reg the address of the register from where the read will start (the device should have read with autoincrement register functionality)