- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use the macro callbacks feature described in the I2C component datasheet, but the auto-generated I2C API does not include cyapicallbacks.h like the datasheet suggests that it should. I see the #ifdefs and the compiled-out callback functions in the source file, but the source file does not include the macro callbacks header file.
I'm using I2C Slave component v3.50. What am I missing??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haha I've been racking my brain trying to figure out why cyapicallbacks.h wasn't included, but I found my answer here: http://www.cypress.com/forum/psoc-4-architecture/cmostartc-no-return-exception-handler-callback?sour....
As you noticed, I'm new to the forum and couldn't figure out how to properly search the forums. Figured it out, and found my answer.
Thanks Bob!
-Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum.
Relax!
The cyapicallback.h file is #included in i2c.h.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haha I've been racking my brain trying to figure out why cyapicallbacks.h wasn't included, but I found my answer here: http://www.cypress.com/forum/psoc-4-architecture/cmostartc-no-return-exception-handler-callback?sour....
As you noticed, I'm new to the forum and couldn't figure out how to properly search the forums. Figured it out, and found my answer.
Thanks Bob!
-Matt