Ignore:
Timestamp:
Apr 2, 2026, 3:56:21 PM (5 weeks ago)
Author:
f.jahn
Message:
  • USB-PD function was implemented;
  • HW parity check on RAM was activated;
  • USB Device CDC mode was activated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fw_g473rct/USBPD/App/usbpd_pwr_if.h

    r59 r65  
    217217
    218218/**
     219  * @brief  Sets the required power profile
     220  * @param  PortNum Port number
     221  * @retval USBPD status
     222  */
     223USBPD_StatusTypeDef USBPD_PWR_IF_SetProfile(uint8_t PortNum);
     224
     225/**
    219226  * @brief  Checks if the power on a specified port is ready
    220227  * @param  PortNum Port number
     
    223230  */
    224231USBPD_StatusTypeDef USBPD_PWR_IF_SupplyReady(uint8_t PortNum, USBPD_VSAFE_StatusTypeDef Vsafe);
     232
     233/**
     234  * @brief  Enable VBUS power on a specified port
     235  * @param  PortNum Port number
     236  * @retval USBPD status
     237  */
     238USBPD_StatusTypeDef USBPD_PWR_IF_VBUSEnable(uint8_t PortNum);
     239
     240/**
     241  * @brief  Disable VBUS power on a specified port
     242  * @param  PortNum Port number
     243  * @retval USBPD status
     244  */
     245USBPD_StatusTypeDef USBPD_PWR_IF_VBUSDisable(uint8_t PortNum);
     246
     247/**
     248  * @brief  Checks if the power on a specified port is enabled
     249  * @param  PortNum Port number
     250  * @retval ENABLE or DISABLE
     251  */
     252USBPD_FunctionalState USBPD_PWR_IF_VBUSIsEnabled(uint8_t PortNum);
    225253
    226254/**
Note: See TracChangeset for help on using the changeset viewer.