AR-B104D Software Guide V1.0
AR-B104D Software Programming Guide 6 2.2 SRAM 2.2.1 ReadMemByte ♦ Description This function is used to read SRAM data in byte alignment. ♦ Synt
AR-B104D Software Programming Guide 7 ♦ Argument CardNum: The card number of AR-B104D. Range from 1~4. Offset: SRAM offset to read Value:
AR-B104D Software Programming Guide 8 This function is used to read memory with a specified length. ♦ Syntax XXX_ReadMem_Block (i16 CardNum, u32 Of
AR-B104D Software Programming Guide 9 2.3 General Purpose Input/Output 2.3.1 ReadInputChannel ♦ Description This function is used to read the sta
AR-B104D Software Programming Guide 10 2.3.4 SetDebounce ♦ Description Set the debounce time for the selected channel (in ms). ♦ Syntax XXX_SetDe
AR-B104D Software Programming Guide 11 ♦ Description Get the interrupt enable status of the selected input channel. ♦ Syntax XXX_GetInputInterrupt
AR-B104D Software Programming Guide 12 2.3.10 SetCounterMode ♦ Description Set the counter value access mode of the selected input channel. ♦ Syn
AR-B104D Software Programming Guide 13 interrupt triggered if the selected input channel remains unchanged; others indicate the timeout value in tim
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
AR-B104D Software Programming Guide 15 2.3.19 WriteOutputChannel ♦ Description Write the status of the selected output channel on the selected AR-
AR-B104D Software Programming Guide i Revision Version Date Author Description 0.1 2010/5/17 Bankle Chen Draft 0.2 2010/7/21 Bankle Chen A
AR-B104D Software Programming Guide 16 2.3.22 GetOutputMode ♦ Description Get the output operation mode of the selected output channel. ♦ Syntax
AR-B104D Software Programming Guide 17 2.3.25 SetPGInterruptEnable ♦ Description Enable the interrupt of the selected output channel (pulse genera
AR-B104D Software Programming Guide 18 ♦ Description Get the pulse generator timebase of the selected output channel. ♦ Syntax XXX_GetPGBase (i16
AR-B104D Software Programming Guide 19 2.3.31 SetPGCycle ♦ Description Set the pulse generator cycles of the selected output channel. ♦ Syntax XX
AR-B104D Software Programming Guide 20 Low: The time of the related pulse generator remains low in one cycle. Cycle: The number of the related
AR-B104D Software Programming Guide 21 2.4 Timer 2.4.1 SetTimerInterruptEnable ♦ Description Enable the selected timer interrupt. Timer will star
AR-B104D Software Programming Guide 22 ♦ Description Get the time base of the selected timer. ♦ Syntax XXX_GetTimerBase (i16 CardNum, i16 TimerNum
AR-B104D Software Programming Guide 23 2.5 CAN-bus 2.5.1 CanSendMessages ♦ Description Send messages via CAN-bus interface. ♦ Syntax XXX_CanSend
AR-B104D Software Programming Guide ii Table of Contents Chapter 1 Introduction ...
AR-B104D Software Programming Guide iii2.3.15 GetCounterTimeoutBase ...13 2.3.16 GetCounterValue ...
AR-B104D Software Programming Guide 1 Chapter 1 Introduction AR-B104D is a PCI-104 board which contains 12 general purposed input channels wit
AR-B104D Software Programming Guide 2 Chapter 2 Application Interface This chapter describes the details of the provided API function. To preve
AR-B104D Software Programming Guide 3 2.1.4 GetMemBaseAddr ♦ Description This function is used to get the SRAM base address of the selected AR-B10
AR-B104D Software Programming Guide 4 XXX_SetCallbackFunc (i16 CardNum, agc_callback_t func) ♦ Argument CardNum: The card number of AR-B104D. Ra
AR-B104D Software Programming Guide 5 } ---------------------------------------------------------------------------------------------------- Err
Commentaires sur ces manuels