If true, master retains control of the bus at the end of the transfer (no Stop is issued), and the next transfer will begin with a Restart rather than a Start.
Return value
Number of bytes written, or PICO_ERROR_GENERIC if address not acknowledged, no device present.
Related Functions
Found 26 other functions taking a i2c_inst
argument:
Initialise the I2C HW block Put the I2C hardware into a known state, and enable it. Must be called before other functions. By default, the I2C is configured to operate as a master. The I2C bus frequency is set as close as possible to requested, and the actual rate set is returned
Set I2C baudrate Set I2C bus frequency as close as possible to requested, and return actual rate set. Baudrate may not be as exactly requested due to clocking limitations.