Skip to main content
Graduate
December 10, 2025
Question

Can't find the Definition inside stm32-mw-usbpd-core

  • December 10, 2025
  • 2 replies
  • 88 views

In your middle-ware for the usbpd i can't find any of the definition for the functions in usbpd_core.h.

https://github.com/STMicroelectronics/stm32-mw-usbpd-core

 

 

Example

USBPD_PE_SVDM_RequestMode

* USBPD_PE_SVDM_RequestModeEnter

USBPD_PE_SVDM_RequestModeExit

 

Can't be found anywhere in the repo.  It looks like you compiled them all down to assembly files.  Is there a reason for this or am i missing something?

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    December 10, 2025

    Hi @Brenden_PLUS 

    You can find the related documentation required in precompiled html user manual here.

    Graduate
    December 10, 2025

    That's fine i was looking for the source to usbpd_core.h. 

     

    Trying to figure out how the system works and there doesn't seem to be a usbpd_core.c or any place were the functions that live in usbpd_core.h are actually defined.  

    Technical Moderator
    December 10, 2025

    Hi @Brenden_PLUS 

    Not sure why do you need the source for the library. This is integrated in lib .a and the source files cannot be shared. For that reason the user manual attached explain the main reason behind the functions in source files.
    I hope it's clear.