Maxim-integrated 73S12xxF Software Manual do Utilizador Página 39

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 93
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 38
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:
Serial_Init() (page 40)
Serial_Tx() (page 40)
Serial_CTx() (page 41)
Serial_TxLen() (page 41)
Serial_TxByte () (page 41 )
Serial_Rx() (page 41)
Serial_CRx() (page 42)
Serial_RxLen() (page 42)
Serial_RxByte () (page 42)
Vista de página 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 92 93

Comentários a estes Manuais

Sem comentários