beautypg.com

Acrosser AR-B104D User Manual

Page 4

background image

AR-B104D Software Programming Guide

iii

2.3.15 GetCounterTimeoutBase ................................................13

2.3.16 GetCounterValue .............................................................14

2.3.17 SetCounterTarget ............................................................14

2.3.18 GetCounterTarget ............................................................14

2.3.19 WriteOutputChannel........................................................15

2.3.20 ReadOutputChannel........................................................15

2.3.21 SetOutputMode................................................................15

2.3.22 GetOutputMode ...............................................................16

2.3.23 SetPGState .......................................................................16

2.3.24 GetPGState ......................................................................16

2.3.25 SetPGInterruptEnable .....................................................17

2.3.26 GetPGInterruptEnable.....................................................17

2.3.27 SetPGBase .......................................................................17

2.3.28 GetPGBase.......................................................................17

2.3.29 SetPGDuty........................................................................18

2.3.30 GetPGDuty .......................................................................18

2.3.31 SetPGCycle ......................................................................19

2.3.32 GetPGCycle......................................................................19

2.3.33 SetPG ...............................................................................19

2.4

Timer ...........................................................................................21

2.4.1

SetTimerInterruptEnable.................................................21

2.4.2

GetTimerInterruptEnable ................................................21

2.4.3

SetTimerBase ..................................................................21

2.4.4

GetTimerBase ..................................................................21

2.4.5

SetTimerValue..................................................................22

2.4.6

GetTimerValue .................................................................22

2.5

CAN-bus......................................................................................23

2.5.1

CanSendMessages..........................................................23

2.5.2

CanGetMessages ............................................................23

2.5.3

CanConfig ........................................................................23