OpenCores
Issue List
oc_i2c_master.h: wrong ACK-bit definition #47
Open wyzzz opened this issue almost 8 years ago
wyzzz commented almost 8 years ago

In oc_i2c_master.h there is a following definition: #define OC_I2C_ACK (1<<3) / Acknowledge from slave / / 1 - ACK / / 0 - NACK /

But according to the specification it must be 1 = NACK, 0 = ACK

The same is about #define OC_I2C_RXACK (1<<7)


Assignee
No one
Labels
Reminder