PSOC4 Warning:  implicit declaration of function 'I2C_I@CMasterSendStart'

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
        Trying to complie attached project and I am getting the warning (in the subject). I have searched and Internet Info says that I am missing a header file. Not sure which one. Any help would be appreciated!   
0 Likes
3 Replies
Anonymous
Not applicable
        All...OK I found the problem. I had the I2C configured as a slave. When I configured it as a master ( the correct configuration ) it compiled and worked. Just for my knowledge why would there be a difference between master and slave? Thanks!!!   
0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Well, Master and slave have different APIs and to reduce code space only the required APIs become generated when your project is built.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Bob, Thanks!!!

0 Likes