Acrosser AR-B104D Manual do Utilizador Página 25

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 27
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 24
AR-B104D Software Programming Guide
21
2.4 Timer
2.4.1 SetTimerInterruptEnable
Description
Enable the selected timer interrupt. Timer will start automatically once
interrupt is set to enable.
Syntax
XXX_SetTimerInterruptEnable (i16 CardNum, i16 TimerNum, u8 Enable)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
TimerNum: Timer number. Range from 0~12.
Enable: 0 indicates the timer interrupt is disabled; 1 indicates the timer
interrupt is enabled.
2.4.2 GetTimerInterruptEnable
Description
Get the interrupt status of the selected timer.
Syntax
XXX_GetTimerInterruptEnable (i16 CardNum, i16 TimerNum, u8* Enable)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
TimerNum: Timer number. Range from 0~12.
Enable: 0 indicates the timer interrupt is disabled; 1 indicates the timer
interrupt is enabled.
2.4.3 SetTimerBase
Description
Set the time base of the selected timer.
Syntax
XXX_SetTimerBase (i16 CardNum, i16 TimerNum, u8 Base)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
TimerNum: Timer number. Range from 0~12.
Base: The time base of the selected output channel. 0 indicates the
base is 1 ms; 1 indicates the base is 100 ms.
2.4.4 GetTimerBase
Vista de página 24
1 2 ... 20 21 22 23 24 25 26 27

Comentários a estes Manuais

Sem comentários