I2C_LINK_RECOMMENDED_SIZE macro
The following macro is used to determine the recommended size of the buffer to pass to `i2c_cmd_link_create_static()` function. It requires one parameter, `TRANSACTIONS`, describing the number of transactions intended to be performed on the I2C port. For example, if one wants to perform a read on an I2C device register, `TRANSACTIONS` must be at least 2, because the commands required are the following: - write device register - read register content Signals such as "(repeated) start", "stop", "nack", "ack" shall not be counted.