-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Area: driversArea: Device driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
The I2C peripheral driver interface does not currently handle a slave NACK
.
As there are I2C devices which have NACK
as a valid part of the communication process, the current interface (which only returns -1
on undefined device given
) can not cope with these devices.
I'd suggest adding a -2
for no ACK received
to the interface documentation and changing the driver implementations accordingly.
Metadata
Metadata
Assignees
Labels
Area: driversArea: Device driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)