Adlink ACL-8112 Series Manual do Utilizador Página 89

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 88
C Language Library 81
7.22 _8112_TIMER_Read
Description
This function is used to read the counter value of Timer #0.
Syntax
int _8112_TIMER_Read( unsigned int *counter_value )
int _8112pg_TIMER_Read( unsigned int *counter_value )
Argument:
counter_value:
the counter value of the Timer #0
Return Code:
ERR_NoError
ERR_BoardNoInit
Example:
See demo program 'TMR_DEMO.C'
7.23 _8112_TIMER_Stop
Description
This function is used to stop the timer operation. The timer is set to
'One-shot' mode with counter value ' 0 '. That is, the clocks’ output
signal will be set high after executing this function.
Syntax
int _8112_TIMER_Stop( unsigned int *counter_value )
int _8112pg_TIMER_Stop( unsigned int *counter_value )
Argument:
*counter_value: the current counter value of the
Timer #0
Return Code:
ERR_NoError
ERR_BoardNoInit
Example:
See demo program 'TMR_DEMO.C'
Vista de página 88
1 2 ... 84 85 86 87 88 89 90 91 92

Comentários a estes Manuais

Sem comentários