/* Adds an isochronous endpoint to alternate setting interface Set synchronization feedback rate on synchronization isochronous endpoint Associates synchronization endpoint to isochronous endpoint Gets the maximum physical endpoint number  */
sl_status_t sl_usbd_core_get_max_phy_endpoint_number(uint8_t *p_ep_phy_nbr)
/* Adds an isochronous endpoint to alternate setting interface Set synchronization feedback rate on synchronization isochronous endpoint Associates synchronization endpoint to isochronous endpoint Gets the maximum physical endpoint number  */
sl_status_t sl_usbd_core_get_max_phy_endpoint_number(uint8_t *p_ep_phy_nbr)
{
  sli_usbd_device_t *p_dev;
  if (p_ep_phy_nbr == NULL) {
    return SL_STATUS_NULL_POINTER;
  }
  p_dev = &usbd_ptr->device;
  if (p_dev->endpoint_max_phy_nbr == 0u) {
    *p_ep_phy_nbr = SL_USBD_ENDPOINT_PHY_NONE;
  } else {
    *p_ep_phy_nbr = p_dev->endpoint_max_phy_nbr - 1u;
  }
  return SL_STATUS_OK;
}