From 90aac63257c26dab94fa6cbd2c70375dff2bfe00 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Fri, 3 Feb 2023 13:34:19 +0100 Subject: [PATCH] Added a missing function description + minor description rephrasing --- src/W800 SDK v1.00.08/app/app_drivers/i2c/i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/W800 SDK v1.00.08/app/app_drivers/i2c/i2c.h b/src/W800 SDK v1.00.08/app/app_drivers/i2c/i2c.h index dceaae4..23f7936 100644 --- a/src/W800 SDK v1.00.08/app/app_drivers/i2c/i2c.h +++ b/src/W800 SDK v1.00.08/app/app_drivers/i2c/i2c.h @@ -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)