Acrosser AR-B104D Manual do Utilizador Página 14

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 27
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 13
AR-B104D Software Programming Guide
10
2.3.4 SetDebounce
Description
Set the debounce time for the selected channel (in ms).
Syntax
XXX_SetDebounce (i16 CardNum, i16 ChannelNum, u8 Dtime)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Dtime: The de-bounce time. 0 indicates the debounce function is
disabled; others indicate the debounce time in ms, e.g., 1 means
debounce time is 1 ms.
2.3.5 GetDebounce
Description
Get the debounce time for the selected channel (in ms).
Syntax
XXX_GetDebounce (i16 CardNum, i16 ChannelNum, u8* Dtime)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Dtime: The memory address to put the debounce time value. 0
indicates the debounce function is disabled; others indicate the
debounce time in ms.
2.3.6 SetInputInterruptEnable
Description
Enable the interrupt of the selected input channel.
Syntax
XXX_SetInputInterruptEnable (i16 CardNum, i16 ChannelNum, u8 Enable)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Enable: 0 indicates the interrupt of the selected channel is disabled;
others indicate the interrupt of the selected channel is enabled.
2.3.7 GetInputInterruptEnable
Vista de página 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 26 27

Comentários a estes Manuais

Sem comentários