- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dose CCG3PA SDK have any API to read VBUS current ( mA ) Or there is another way?
I check "pd_hal_measure_vbus_cur(port)” function, it seems just a empty function.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have CCG_CABLE_COMP_ENABLE been defined in your project?
If it's not enabled, then pd_hal_measure_vbus_cur could be empty. You can comment out #if CCG_CABLE_COMP_ENABLE to enable its feature.
Regards,
Eddie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have CCG_CABLE_COMP_ENABLE been defined in your project?
If it's not enabled, then pd_hal_measure_vbus_cur could be empty. You can comment out #if CCG_CABLE_COMP_ENABLE to enable its feature.
Regards,
Eddie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, i want the API to read current, not voltage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, my former answer was incorrect. So I modified the answer.
Regards,
Eddie