Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

SDK • Re: i2c routine question.

$
0
0
Try this option:
int i2c_read_blocking (i2c_inst_t * i2c, uint8_t addr, uint8_t * dst, size_t len, bool nostop)
...
nostop 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.
A restart should return NACK at the last read.

Statistics: Posted by gmx — Fri Jan 16, 2026 9:30 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles