AN2432 Freescale Semiconductor / Motorola, AN2432 Datasheet - Page 13

no-image

AN2432

Manufacturer Part Number
AN2432
Description
LIN Sample Application for the MC68HC908EY16 Evaluation Board
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Software listing
/******************************************************************************
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
******************************************************************************/
/******************************************************************************
Motorola reserves the right to make changes without further notice to any
product herein to improve reliability, function or design. Motorola does not
assume any liability arising out of the application or use of any product,
circuit, or software described herein; neither does it convey any license
under its patent rights nor the rights of others. Motorola products are not
designed, intended, or authorized for use as components in systems intended
for surgical implant into the body, or other applications intended to support
life, or for any other application in which the failure of the Motorola product
could create a situation where personal injury or death may occur. Should
Buyer purchase or use Motorola products for any such unintended or
unauthorized application, Buyer shall indemnify and hold Motorola and its
officers, employees, subsidiaries, affiliates, and distributors harmless
against all claims costs, damages, and expenses, and reasonable attorney fees
arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use, even if such claim
alleges that Motorola was negligent regarding the design or manufacture of the
part. Motorola and the Motorola logo are registered trademarks of Motorola Ltd.
******************************************************************************/
/******************************************************************************
*
*
*
******************************************************************************/
#include "HC08EY16.h"
#include <linapi.h>
unsigned char Data_buf[8];
unsigned char count = 0;
unsigned char no_20 = 0;
MOTOROLA
Originator:
Date:
Revision:
Function:
LED use:
Header file includes and globals
P. Topping
5th December 2002
1.0
Demonstration of LIN functionality using only the five
LEDs on the EY16 LIN evaluation board.
D4 (port D, bit 0): flashes @ ~1Hz to show code is running
D5 (port D, bit 1): indicates any LIN bus activity
D6 (port A, bit 4): shows presence of ID 30 message
D7 (port A, bit 5): shows presence of ID 20 message
D8 (port A, bit 6): indicates bit 7 of byte 3 of message 20
LIN Sample Application for the MC68HC908EY16 Evaluation Board
Copyright (c) Motorola 2002
908EY16 LED LIN demo.
=====================
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Software listing
AN2432/D
13

Related parts for AN2432