Acrosser AR-B104D User Manual
Page 17
AR-B104D Software Programming Guide
13
interrupt triggered if the selected input channel remains unchanged;
others indicate the timeout value in timeout timebase.
2.3.13 GetCounterTimeout
♦
Description
Get the counter timeout value of the selected input channel.
♦
Syntax
XXX_GetCounterTimeout (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 timeout value of the
selected input channel. 0 indicates no interrupt triggered if the selected
input channel remains unchanged; others indicate the timeout value in
timeout timebase.
2.3.14 SetCounterTimeoutBase
♦
Description
Set the counter timeout timebase of the selected input channel.
♦
Syntax
XXX_SetCounterTimeoutBase (i16 CardNum, i16 ChannelNum, u8 Base)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Base: The counter timeout timebase of the selected input channel. 0
indicates the base is 1 ms; 1 indicates the base is 100 ms.
2.3.15 GetCounterTimeoutBase
♦
Description
Get the counter timeout timebase of the selected input channel.
♦
Syntax
XXX_GetCounterTimeoutBase (i16 CardNum, i16 ChannelNum, u8* Base)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Input channel number. Range from 0~11.
Base: The memory address of buffer to put the counter timeout