AN2633 Freescale Semiconductor / Motorola, AN2633 Datasheet - Page 15

no-image

AN2633

Manufacturer Part Number
AN2633
Description
LIN Drivers for SLIC Module on the MC68HC908QL4
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MOTOROLA
An additional feature of the C version of the basic driver is that it will accept a
2-byte message with an ID of 0x97. This is shown as an example of how to
handle a LIN command message, where data is coming from the master node.
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-C.mcp). The project structure can be seen in
Figure
The LIN driver consists of two files:
The other files serve the same functions as they do in the assembly version
project.
LIN Drivers for SLIC Module on the MC68HC908QL4
Freescale Semiconductor, Inc.
Figure 10. CodeWarrior Project (LINQL4-C.mcp) C Source Code
For More Information On This Product,
SLIC_LINdriver.c — contains the main driver code
SLIC_LINdriver.h — header file for the driver
10.
Go to: www.freescale.com
CodeWarrior Project — C Source Code Basic SLIC Driver
AN2633/D
15

Related parts for AN2633