AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 41

no-image

AN2103

Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2103
MOTOROLA
5 Code Listings
5.1 Master Code – Master08.C
/****************************************************************************************
File Name
Engineer
Location
Date Created
Current Revision
Notes
*****************************************************************************************
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 idemnify 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.
************************************************************************************/
/************************* System Include Files *****************************************/
#include <linapi.h>
/************************* Project Include Files ****************************************/
#include <master08CodeReview.h>
#include <common.h>
#include <port.h>
#include <timer.h>
#include <sim.h>
#include <si.h>
#include <kbd.h>
#include <mscan08.h>
/*************************** Constants ***************************************/
/* Slave Node Message array */
const SlaveNodeMsgType SlaveMsg [] =
{
{0x0F,0x0F},
{0x01,0x11},
{0x02,0x12},
{0x03,0x13},
:
:
:
:
:
:
MASTER08.C
R29414
EKB
07/02/2000
$Revision: 1.0$
Master software for the LIN Demo
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
Copyright (c) Motorola 1998
// LIN Drivers Header file
// Master08 header file
// Common data structure
// Port register definitions
// Timer register definitions
// SIM Register definitions
// Serial Interface Register definitions
// Keyboard wakeup Register definitions
// msCAN Register definitions
// Broadcast message */
// Node1 Write messageID, Node1 Read messageID
// Node2 Write messageID, Node2 Read messageID
// Node3 Write messageID, Node3 Read messageID
Master Code – Master08.C
Code Listings
41

Related parts for AN2103