/* 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 CCID_IccPowerOff(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 CCID_IccPowerOff(uint8_t Slot, uint8_t *const Error)
{
	if (Slot == 0)
	{
		*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;
	}
}