Anonymous
Not applicable
Oct 12, 2016
11:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
Solved! Go to Solution.
1 Solution

Level 8
HeLi_263931
Level 8
Oct 12, 2016
11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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)
3 Replies

Level 10
Bob_Marlowe
Level 10
Oct 12, 2016
11:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I suppose you are talking about functions in generated code.
Which component and which API function you are talking about? Which device??
Bob
Anonymous
Not applicable
Oct 12, 2016
03:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Yes, it is generated code. I'm trying to use ADC_SAR_SEQ_EnableInjection() on a CY8CKIT-043 (4200M). I've declared the library.

Level 8
HeLi_263931
Level 8
Oct 12, 2016
11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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)