ICP DAS USA mPAC-7186EXD-CAN User Manual page 51

Table of Contents

Advertisement

Here, the demo programs of XC100 library file with BC++3.1, TC++1.01
and MSC 1.52 are provided. The content of each demo is displayed in the
following table. When users want to compile the demo program, please move
the demo folder into a new folder named with max 8 letters. The
BC++3.1/TC++1.01/MSC6 compilers are 16-bit compilers and may have a
trouble because of the long file name. The μPAC-7186EXD-CAN folder
architecture is similar as the I-7188XBD-CAN folder architecture. Therefore, if
users use μPAC-7186EXD-CAN the similar architecture described above will
be seen.
Demo
AC_AM
Use the AccCode and AccMask
All_Demo
Demo the total functions provided by the XC100L.lib.
L1_L2_L3
Use the L1, L2, and L3 LEDs.
RxInt
Receive the CAN messages by interrupt mode
RxPoll
Receive the CAN messages by polling mode
TxInt
Send the CAN messages to the CAN network by interrupt
mode.
TxPoll
Send the CAN messages to the CAN network by polling
mode.
UserInt
Use the UserCANInt function to apply the users' CAN interrupt
service routine.
SCH_Baud Demo for search the CAN bus baud rate
In order to introduce users to use the XC100 library file clearly, there is a
step-by-step procedure in the following section. It can give a good model to
show how to build an execution file with XC100L.lib, download the users'
program, and run it on the I-7188XBD-CAN/μPAC-7186EXD-CAN.
I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
Content
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7188xbd-can

Table of Contents