AxiIICΒΆ
The AxiIIC class provides methods to read from , and write to an AXI IIC controller IP.
The send() and receive() methods are used to read and write data.
send(address, data, length, option=0)
addressis the address of the IIC peripheraldatais an array of bytes to be sent to the IPlengthis the number of bytes to be transferredoptionallows an IIC repeated start
receive(address, data, length, option=0)
addressis the address of the IIC peripheraldatais an array of bytes to receive data from the IPlengthis the number of bytes to be receivedoptionallows an IIC repeated start
More information about the AxiIIC module and the API for reading, writing and waiting can be found in the pynq.lib.iic Module sections.