/* DPM callback to allow PE to enter ERROR_RECOVERY state.  */
void USBPD_DPM_EnterErrorRecovery(uint8_t PortNum)
/* DPM callback to allow PE to enter ERROR_RECOVERY state.  */
void USBPD_DPM_EnterErrorRecovery(uint8_t PortNum)
{
  DPM_TurnOffPower(PortNum, DPM_Params[PortNum].PE_PowerRole);
  USBPD_CAD_EnterErrorRecovery(PortNum);
}