How to use a grayed out function?

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

cross mob
Anonymous
Not applicable
        Hi, how can I "disgray" out a function from a library? I'm using the same library in two different projects, one is an example code and the other is mine. In the example, the function works but in my code the function doesn't works and I need it. The two blocks are exactly the same. How can I do it?   
0 Likes
1 Solution
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Depending on the configuration of the component some parts of the API are available or not. So you need to look there. (In your case you need to enable the injection channel)

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I suppose you are talking about functions in generated code.

   

Which component and which API function you are talking about? Which device??

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Yes, it is generated code. I'm trying to use ADC_SAR_SEQ_EnableInjection() on a CY8CKIT-043 (4200M). I've declared the library.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Depending on the configuration of the component some parts of the API are available or not. So you need to look there. (In your case you need to enable the injection channel)

0 Likes