Discrepancy between SCB datasheet and PSoC Creator (I2C) | Cypress Semiconductor
Discrepancy between SCB datasheet and PSoC Creator (I2C)
I'm working with I2C. And I found next discrepancy:
In SCB datasheet on page 21, in description of function SCB_I2CMasterReadByte(uint32 acknNak) wrote:
"Parameters: uint32 acknNak: If nonzero, sends a ACK; if zero sends an NAK. "
On page 29 you can see example:
userArray[i] = SCB_I2CMasterReadByte(SCB_I2C_NAK_DATA);
But in PSoC Creator SCB_I2C_NAK_DATA equals 1u
It’s mistake ? Or, may be, I wrong translated?