AN2633 Freescale Semiconductor / Motorola, AN2633 Datasheet - Page 16

no-image

AN2633

Manufacturer Part Number
AN2633
Description
LIN Drivers for SLIC Module on the MC68HC908QL4
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2633/D
CodeWarrior Project — C Source Code SLIC Driver with API
16
The API version of the code is designed to provide essentially the same
interface as the one contained in AN2599/D for QT/QY LIN slave drivers.
As mentioned before, this driver is included in the LIN kit demo software, which
can be downloaded free from the Motorola web site. It also comes with the
M68EVB908QL4 evaluation board. It comes in the form of a Metrowerks
CodeWarrior 3.0 project (LINQL4-API.mcp). The project structure can be seen
below:
Figure 11. CodeWarrior Project (LINQL4-API.mcp) — C Source Code with
The LIN driver consists of four files:
SLIC_LINdriver.c
LINapi.c
LINmsg.c
SLIC_LINdriver.h
1. This is a different file than the one in the C project
LIN Drivers for SLIC Module on the MC68HC908QL4
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
File
Table 2. Files in LIN Driver
Standard API
contains the main driver code
contains all the driver API functions
where all LIN message frames are
header file for the driver
defined
Description
MOTOROLA
(1)

Related parts for AN2633