AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 63
AN2103
Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2103.pdf
(68 pages)
- Current page: 63 of 68
- Download datasheet (2Mb)
AN2103
MOTOROLA
/******************************************************************************
Task Name
Engineer
Date
Parameters
Returns
Notes
******************************************************************************/
#pragma TRAP_PROC
void PIT_ISR(void)
}
{
if(SystemFlags.bit.enableTimeout)
if(SystemFlags.bit.enableExternal)
}
{
if(REDTIMticks < REDTIMPeriod)
else
if(GREENTIMticks < GREENTIMPeriod)
else
if(AZ60.ptb.byte == ALL_LEDS_OFF)
}
{
if(EXTERNTIMticks < EXTERNTIMPeriod)
else
if(!AZ60.pte.bit.pte4)
}
if (!SystemFlags.bit.disableWaketime)
LIN_GetMsg(BROADCASTRECEIVE, MsgRcvd); //read the message
MsgHandlerTable[(MsgRcvd[0] & 0x0F)](); //call subroutine for appropriate command
WakeupTimeout = 0;
}
{
REDTIMticks++;
}
{
AZ60.ptb.byte |= RED_LED_MASK;
}
{
GREENTIMticks++;
}
{
AZ60.ptb.byte |= GREEN_LED_MASK;
}
SystemFlags.bit.enableTimeout = 0;
{
EXTERNTIMticks++;
}
{
AZ60.pte.bit.pte4 = 0;
}
SystemFlags.bit.enableExternal = 0;
{
:
:
:
:
:
:
PIT_ISR
TTZ740
none
none
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
//reset wakeup timeout
//check if timeout period for red LEDs has expired
//increment ticks
//switch off red LEDs
//check if timeout period for green LEDs has expired
//increment ticks
//switch off green LEDs
//check if timeout period for external LEDs has expired
//increment ticks
//switch off external LED
Slave Code – SLAVE08.C
Code Listings
63
Related parts for AN2103
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola