/* VDM Discover Mode callback (report all the modes supported by SVID)  */
static USBPD_StatusTypeDef USBPD_VDM_DiscoverModes(uint8_t PortNum, uint16_t SVID, uint32_t **p_ModeInfo, uint8_t *nbMode)
/* VDM Discover Mode callback (report all the modes supported by SVID)  */
static USBPD_StatusTypeDef USBPD_VDM_DiscoverModes(uint8_t PortNum, uint16_t SVID, uint32_t **p_ModeInfo, uint8_t *nbMode)
{
  USBPD_StatusTypeDef _status = USBPD_NAK;
  switch(SVID)
  {
  case DISPLAY_PORT_SVID :
    *nbMode  = 2;
    *p_ModeInfo = (uint32_t *)vdo_dp_modes;
    _status = USBPD_ACK;
    break;
  default :
    *nbMode = 0;
    *p_ModeInfo = NULL;
     break;
  }
  return _status;
}