Acrosser AR-B104D Manual do Utilizador Página 18

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 27
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 17
AR-B104D Software Programming Guide
14
timebase of the selected input channel. 0 indicates the base is 1 ms; 1
indicates the base is 100 ms.
2.3.16 GetCounterValue
Description
Get the counter value of the selected input channel.
Syntax
XXX_GetCounterValue (i16 CardNum, i16 ChannelNum, u16* Value)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Value: The memory address of buffer to put the counter value of the
selected input channel.
2.3.17 SetCounterTarget
Description
Set the counter target value of the selected input channel. An interrupt will
trigger if the counter value is equal to counter target value.
Syntax
XXX_SetCounterTarget (i16 CardNum, i16 ChannelNum, u16 Value)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Value: The counter target value of the selected input channel.
2.3.18 GetCounterTarget
Description
Get the counter target value of the selected input channel. An interrupt will
trigger if the counter value is equal to counter target value.
Syntax
XXX_GetCounterTarget (i16 CardNum, i16 ChannelNum, u16* Value)
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Value: The memory address of buffer to put the counter target value of
the selected input channel.
Vista de página 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 26 27

Comentários a estes Manuais

Sem comentários