-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Labels
hal-apiAPI design for the different components of avr-halAPI design for the different components of avr-halhal-genericRelated to MCU generic parts of avr-halRelated to MCU generic parts of avr-halhelp wantedExtra attention is neededExtra attention is needed
Description
I'd love to be able to use the Transactional
IO model of embedded_hal
for I2c
(https://docs.rs/embedded-hal/latest/embedded_hal/blocking/i2c/trait.Transactional.html), would it be possible to add this in? I'm happy to do the work if there are no objections or concerns.
The only question I have is related to multiple read operations -- in the linked docs for Transactional
, it states: If the last operation is a Read the master does not send an acknowledge for the last byte.
Would this mean that read operations that are not the last one in the batch send an ACK versus a NACK? Or would each read operation send a NACK?
Metadata
Metadata
Assignees
Labels
hal-apiAPI design for the different components of avr-halAPI design for the different components of avr-halhal-genericRelated to MCU generic parts of avr-halRelated to MCU generic parts of avr-halhelp wantedExtra attention is neededExtra attention is needed