/* Sends a USB endpoint event to the core task  */
sl_status_t sli_usbd_core_endpoint_event(uint8_t ep_addr, sl_status_t status)
/* Sends a USB endpoint event to the core task  */
sl_status_t sli_usbd_core_endpoint_event(uint8_t ep_addr, sl_status_t status)
{
  sli_usbd_core_event_t core_event;
  core_event.type = SLI_USBD_EVENT_ENDPOINT;
  core_event.endpoint_address = ep_addr;
  core_event.status = status;
  sli_usbd_core_os_put_core_event(&core_event);
  return SL_STATUS_OK;
}