![Ronetix PEEDI User Manual Download Page 83](http://html1.mh-extra.com/html/ronetix/peedi/peedi_user-manual_1485040083.webp)
Using PEEDI
Description:
The first byte in the I2C communication, which carries the chip address in the bus.
I2C_DELAY
Synopsis:
I2C_DELAY = <value>
Description:
Number of empty loops, used to achieve the I2C clock period.
SDA_SET/CLR, SDA_IN/OUT, SDA_READ, SCL_SET/CLR
Synopsis:
SDA_SET = ADDRESS, AND|OR|EQU, DATA, [x8|x16|x32]
Description:
Describes operation that will set/clear, set as input/output and read SDA/SCL pins of
the CPU. AND, OR and EQU operations are permitted:
•
AND - The value pointed by the address is AND-ed with the given data
•
OR - The value pointed by the address is OR-ed with the given data
•
EQU The data provided is written at the given address
CS_ASSERT/RELEASE, SCLK_SET/CLR, MOSI_SET/CLR, MISO_READ
Synopsis:
MOSI_SET = ADDRESS, AND|OR|EQU, DATA, [x8|x16|x32]
Description:
Describes operation that will set/clear or read SPI pins of the CPU. AND, OR and EQU
operations are permitted:
•
AND - The value pointed by the address is AND-ed with the given data
•
OR - The value pointed by the address is OR-ed with the given data
•
EQU - The data provided is written at the given address
PEEDI User’s Manual
83