Appendix e- ar-lcm demo api – Acrosser AR-R6000 User Manual
Page 30

Revision: 1.0
3.4.5.
Appendix E- AR-LCM Demo API
File Descriptions
Please find these files from Product CD.
1. lcmdemo.c
This file is the source code of the demo program. This program displays the user
interface, processes user’s input, and invokes LCM APIs to demonstrates the
functions of LCM.
2. lcm.c
This file includes the hardware independent implementation of LCM APIs. All the
APIs in this file invoke the hardware dependent functions ‘InitSerialPort( )’,
‘WriteSerial( )’, ‘ReadSerial( )’ and ‘CloseSerialPort( )’ for accessing the serial port
3. lcm.h
This file includes the declarations and macro definitions needed by lcm.c.
4. serialport.c
This file includes the hardware dependent implementation of ‘InitSerialPort( )’,
‘WriteSerial( )’, ‘ReadSerial( )’ and ‘CloseSerialPort( )’ for accessing the serial port.
5. serialport.h
This file includes the declarations and macro definitions needed by serialport.c.
6. Makefile
This is the instruction script for GNU make system.
30