/* Event handler for the CCID_PC_to_RDR_IccPowerOff message. This message is sent to the device whenever an application at the host wants to send a power off signal to a slot.  */
uint8_t CALLBACK_CCID_IccPowerOff(USB_ClassInfo_CCID_Device_t *const CCIDInterfaceInfo, const uint8_t slot, uint8_t *const error)
/* Event handler for the CCID_PC_to_RDR_IccPowerOff message. This message is sent to the device whenever an application at the host wants to send a power off signal to a slot.  */
uint8_t CALLBACK_CCID_IccPowerOff(USB_ClassInfo_CCID_Device_t *const CCIDInterfaceInfo, const uint8_t slot, uint8_t *const error)
{
	if (slot < CCID_Interface.Config.TotalSlots)
	{
		*error = CCID_ERROR_NO_ERROR;
		return CCID_COMMANDSTATUS_PROCESSEDWITHOUTERROR | CCID_ICCSTATUS_NOICCPRESENT;
	}
	else
	{
		*error = CCID_ERROR_SLOT_NOT_FOUND;
		return CCID_COMMANDSTATUS_FAILED | CCID_ICCSTATUS_NOICCPRESENT;
	}
}