sources/common/libs/STM32Cube_F4/Middlewares/ST/STM32_USB_Device_Library/Class/CCID/Src/usbd_ccid_if_template.c
/**
  * @brief  CCID_SetSlotStatus
  *         Set Slot Status of the Interrupt Transfer
  * @param  pdev: device instance
  * @retval status
  */
@brief  CCID_SetSlotStatus
Set Slot Status of the Interrupt Transfer
@param  pdev: device instance
@retval status
@brief CCID_SetSlotStatus Set Slot Status of the Interrupt Transfer @param pdev : device instance @retval status
uint8_t CCID_SetSlotStatus(USBD_HandleTypeDef *pdev)
{
#ifdef USE_USBD_COMPOSITE
  USBD_CCID_HandleTypeDef  *hccid = (USBD_CCID_HandleTypeDef *)pdev->pClassDataCmsit[pdev->classId];
#else
  USBD_CCID_HandleTypeDef  *hccid = (USBD_CCID_HandleTypeDef *)pdev->pClassData;
#endif 
  if ((hccid->SlotStatus.SlotStatus) == 1U) 
  {
  }
  else
  {
  }
  return (uint8_t)USBD_OK;
}
uint8_t CCID_SetSlotStatus ( USBD_HandleTypeDef * pdev ) { #ifdef USE_USBD_COMPOSITE USBD_CCID_HandleTypeDef * hccid = ( USBD_CCID_HandleTypeDef * ) pdev -> pClassDataCmsit [ pdev -> classId ] ; #else USBD_CCID_HandleTypeDef * hccid = ( USBD_CCID_HandleTypeDef * ) pdev -> pClassData ; #endif if ( ( hccid -> SlotStatus . SlotStatus ) == 1U ) { } else { } return ( uint8_t ) USBD_OK ; }
@brief  CCID_SetSlotStatus
         Set Slot Status of the Interrupt Transfer
 @param  pdev: device instance
 @retval status
@brief CCID_SetSlotStatus Set Slot Status of the Interrupt Transfer @param pdev : device instance @retval status
/* Get the CCID handler pointer */ /* USE_USBD_COMPOSITE */ /* Transfer Complete Status
                        of previous Interrupt transfer */ /* Add your code here */ /* Add your code here */