Acrosser AR-B104D User Manual
Page 22
AR-B104D Software Programming Guide
18
♦
Description
Get the pulse generator timebase of the selected output channel.
♦
Syntax
XXX_GetPGBase (i16 CardNum, i16 ChannelNum, u8* Base)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Base: The memory address of buffer to put the pulse generator
timebase of the selected output channel. 0 indicates the base is 1 ms;
1 indicates the base is 100 ms.
2.3.29 SetPGDuty
♦
Description
Set the pulse generator high-low duty of the selected output channel.
♦
Syntax
XXX_SetPGDuty (i16 CardNum, i16 ChannelNum, u8 High, u8 Low)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
High: The time of the related pulse generator remains high in one
cycle.
Low: The time of the related pulse generator remains low in one cycle.
2.3.30 GetPGDuty
♦
Description
Get the pulse generator high-low duty of the selected output channel.
♦
Syntax
XXX_GetPGDuty (i16 CardNum, i16 ChannelNum, u8* High, u8* Low)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
High: The memory address of buffer to put the time of the related pulse
generator remains high in one cycle.
Low: The memory address of buffer to put the time of the related pulse
generator remains low in one cycle.