diff --git a/docs/source/pynq_libraries/axiiic.rst b/docs/source/pynq_libraries/axiiic.rst index 00b7752c68..172ebe7be9 100644 --- a/docs/source/pynq_libraries/axiiic.rst +++ b/docs/source/pynq_libraries/axiiic.rst @@ -13,18 +13,19 @@ The ``send()`` and ``receive()`` methods are used to read and write data. send(address, data, length, option=0) - * address is the address of the IIC peripheral - * data is an array of bytes to be sent to the IP - * length is the number of bytes to be transferred - * option allows an IIC *repeated start* +* address is the address of the IIC peripheral +* data is an array of bytes to be sent to the IP +* length is the number of bytes to be transferred +* option allows an IIC *repeated start* + +.. code-block:: Python - .. code-block:: Python receive(address, data, length, option=0) - * address is the address of the IIC peripheral - * data is an array of bytes to receive data from the IP - * length is the number of bytes to be received - * option allows an IIC *repeated start* +* address is the address of the IIC peripheral +* data is an array of bytes to receive data from the IP +* length is the number of bytes to be received +* option allows an IIC *repeated start* More information about the AxiIIC module and the API for reading, writing and waiting can be found in the :ref:`pynq-lib-axiiic` sections.