/* PC_to_RDR_GetSlotStatus Provides the Slot status to the host.  */
uint8_t PC_to_RDR_GetSlotStatus(USBD_HandleTypeDef *pdev)
/* PC_to_RDR_GetSlotStatus Provides the Slot status to the host.  */
uint8_t PC_to_RDR_GetSlotStatus(USBD_HandleTypeDef *pdev)
{
  uint8_t error;
  error = CCID_CheckCommandParams(pdev, CHK_PARAM_SLOT |  CHK_PARAM_DWLENGTH |
                                  CHK_PARAM_CARD_PRESENT | CHK_PARAM_ABRFU3);
  if (error != 0U)
  {
    return error;
  }
  CCID_UpdateCommandStatus(pdev, (BM_COMMAND_STATUS_NO_ERROR), (BM_ICC_PRESENT_ACTIVE));
  return SLOT_NO_ERROR;
}