Module RW

Source

Constants§

CMD_0
Transmit DATA[7:0]
CMD_1
Receive (DATA[7:0] + 1) bytes
CMD_2
Generate STOP condition
CMD_3
Receive and discard (DATA[7:0] + 1) bytes
CMD_4
Generate (repeated) START and transmit address in DATA[7:0]
CMD_5
Generate (repeated) START and transmit address in DATA[7:0]. This transfer expects a NACK to be returned.
CMD_6
Generate (repeated) START and transmit address in DATA[7:0] using high speed mode
CMD_7
Generate (repeated) START and transmit address in DATA[7:0] using high speed mode. This transfer expects a NACK to be returned.