- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to use i2c.c file Is there any working example related to it ?
How does the I2CMODE |= 0x02; work?
I cannot find any reference to it in the TRM ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The file which you referred is the library file. You may refer to an I2C example, Vend_Ax.c
The I2C functions such as EZUSB_ReadI2C() and EZUSB_WriteI2C() defined in i2c.c are called in Vend_Ax.c.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Kindly let me know which I2C example are you referring to?
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
I refer to the file i2c.c in the folder C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The file which you referred is the library file. You may refer to an I2C example, Vend_Ax.c
The I2C functions such as EZUSB_ReadI2C() and EZUSB_WriteI2C() defined in i2c.c are called in Vend_Ax.c.
Regards,
Mallika