Acrosser AR-B104D User Manual
Page 26
AR-B104D Software Programming Guide
22
♦
Description
Get the time base of the selected timer.
♦
Syntax
XXX_GetTimerBase (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 memory address of buffer to put the time base of the
selected output channel. 0 indicates the base is 1 ms; 1 indicates the
base is 100 ms.
2.4.5 SetTimerValue
♦
Description
Set the timer value of the selected timer.
♦
Syntax
XXX_SetTimerValue (i16 CardNum, i16 TimerNum, u16 Value)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
TimerNum: Timer number. Range from 0~12.
Value: The timer value of the selected timer.
2.4.6 GetTimerValue
♦
Description
Get the timer value of the selected timer.
♦
Syntax
XXX_GetTimerValue (i16 CardNum, i16 TimerNum, u16* Value)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
TimerNum: Timer number. Range from 0~23.
Value: The memory address of buffer to put the timer value of the
selected timer.