/* It updates the Ports handle stating the ending of RX phase.  */
void HW_IF_RX_Disable(uint8_t PortNum)
/* It updates the Ports handle stating the ending of RX phase.  */
void HW_IF_RX_Disable(uint8_t PortNum)
{
  Ports[PortNum].State = HAL_USBPD_PORT_STATE_READY;
  if (Ports[PortNum].cbs.USBPD_HW_IF_ReceiveMessage != NULL)
  {
    __NOP();
  }
}