Icc_clk_restart(), Icc_clk_stop(), E 39) – Maxim Integrated 73S12xxF Software User Manual
Page 39
UG_12xxF_016
73S12xxF Software User Guide
Rev. 1.50
39
Return Codes
ICC_OK
The SmartCard is present and active.
ICC_ERR_PRESENT_INACTIVE
The SmartCard is present but inactive.
ICC_ERR_NO_CARD
The SmartCard is not present.
This API is part of the support for Synchronous cards.
ICC_Clk_Restart()
Purpose
Restarts an ICC’s clock.
Synopsis
ICC_Clk_Restart ( IN int nIccDelayIO );
Parameters
nIccDelayIO: Input parameter
Delay in clock cycles after restart of the clock before allowing I/O.
Return Codes
ICC_OK Successful operation. IccLen bytes have been received from the SmartCard.
ICC_ERR_PRESENT_INACTIVE
The SmartCard is present but inactive.
ICC_ERR_REMOVED
The SmartCard is removed.
The hardware TIMER1 is used by this routine, making it unavailable to the application. This
approach helps support lower power consumption.
ICC_Clk_Stop()
Purpose
Stops an ICC’s clock.
Synopsis
ICC_RC ICC_Clk_Stop ( IN Boolean bIccClkStop, IN int nIccDelayStop );
Parameters
bIccClkStop: Input parameter
Specifies whether to stop the IccClk when HIGH (TRUE) or when LOW (FALSE).
nIccDelayStop: Input parameter
Delay in clock cycles before stopping clock.
Return Codes ICC_OK
Successful operation.
ICC_ERR_PRESENT
The SmartCard is present but inactive.
ICC_ERR_REMOVED
The SmartCard is removed
The hardware TIMER1 is used by this routine, making it unavailable to the application. This
approach helps support lower power consumption.
4.2.6 SERIAL (RS232) Driver API – Available with all 73S12xxF Devices
The Serial Driver API manages the RS232 interface (Serial Channel 0). It may be used to communicate
through the UART with any host that supports an RS232 interface. The API includes:
•
(page 40)
•
(page 40)
•
(page 41)
•
(page 41)
•
(page 41 )
•
(page 41)
•
(page 42)
•
(page 42)
•
(page 42)