Changeset 65 for trunk/fw_g473rct/USBPD/Target/usbpd_dpm_user.h
- Timestamp:
- Apr 2, 2026, 3:56:21 PM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/fw_g473rct/USBPD/Target/usbpd_dpm_user.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fw_g473rct/USBPD/Target/usbpd_dpm_user.h
r59 r65 47 47 uint32_t PE_DR_Swap_To_UFP : 1U; /*!< If supported, DR Swap to UFP can be accepted or not by the user else directly rejected */ 48 48 uint32_t Reserved1 :28U; /*!< Reserved bits */ 49 USBPD_SNKPowerRequest_TypeDef DPM_SNKRequestedPower; /*!< Requested Power by the sink board*/49 uint32_t Reserved_ReqPower[6]; /*!< Reserved bits to match with Resquested power information */ 50 50 USBPD_MIDB_TypeDef DPM_ManuInfoPort; /*!< Manufacturer information used for the port */ 51 USBPD_SKEDB_TypeDef DPM_SNKExtendedCapa; /*!< SNK Extended Capability */ 52 uint8_t ReservedSnkCapa[3]; /*!< Reserved bits to match with SnkCapaExt information */ 51 uint32_t ReservedSnkCapa[6]; /*!< Reserved bits to match with SnkCapaExt information */ 53 52 uint16_t ReservedManu; /*!< Reserved bits to match with Manufacturer information */ 54 53 } USBPD_USER_SettingsTypeDef; … … 105 104 */ 106 105 void USBPD_DPM_Notification(uint8_t PortNum, USBPD_NotifyEventValue_TypeDef EventVal); 106 USBPD_StatusTypeDef USBPD_DPM_SetupNewPower(uint8_t PortNum); 107 107 void USBPD_DPM_HardReset(uint8_t PortNum, USBPD_PortPowerRole_TypeDef CurrentRole, USBPD_HR_Status_TypeDef Status); 108 108 void USBPD_DPM_ExtendedMessageReceived(uint8_t PortNum, USBPD_ExtendedMsg_TypeDef MsgType, uint8_t *ptrData, uint16_t DataSize); 109 109 void USBPD_DPM_GetDataInfo(uint8_t PortNum, USBPD_CORE_DataInfoType_TypeDef DataId , uint8_t *Ptr, uint32_t *Size); 110 110 void USBPD_DPM_SetDataInfo(uint8_t PortNum, USBPD_CORE_DataInfoType_TypeDef DataId , uint8_t *Ptr, uint32_t Size); 111 void USBPD_DPM_SNK_EvaluateCapabilities(uint8_t PortNum, uint32_t *PtrRequestData, USBPD_CORE_PDO_Type_TypeDef *PtrPowerObjectType); 112 uint32_t USBPD_DPM_SNK_EvaluateMatchWithSRCPDO(uint8_t PortNum, uint32_t SrcPDO, uint32_t* PtrRequestedVoltage, uint32_t* PtrRequestedPower); 111 USBPD_StatusTypeDef USBPD_DPM_EvaluateRequest(uint8_t PortNum, USBPD_CORE_PDO_Type_TypeDef *PtrPowerObject); 113 112 USBPD_StatusTypeDef USBPD_DPM_EvaluateVconnSwap(uint8_t PortNum); 114 113 USBPD_StatusTypeDef USBPD_DPM_PE_VconnPwr(uint8_t PortNum, USBPD_FunctionalState State);
Note:
See TracChangeset
for help on using the changeset viewer.
