AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 53

no-image

AN2103

Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2103
MOTOROLA
/* Hiware compiler */
#pragma TRAP_PROC
void TIMBOVF_ISR (void)
{
}
/******************************************************************************
Function Name
Engineer
Date
Parameters
if (LoopControlTime<LOOP_CONTROL_PERIOD)
{
}
else
{
}
if (SystemFlags.bit.starttimeout == 1)
{
}
/* Clear Interrupt flag */
AZ60_TIMER.tbsc.byte &= ~TOF;
// End of ISR
LoopControlTime++;
LoopControlTime=0x00;
SystemFlags.bit.loopcontrol =0;
ScheduleIndex++;
if (ScheduleIndex >=13)
{
}
if (DemoMode == BROADCAST)
{
}
if (TimeoutCount<TIMEOUT_PERIOD)
{
}
else
{
}
ScheduleIndex = 0x01;
if (SystemFlags.bit.updowncontrol == 0)
{
}
else
{
}
TimeoutCount++;
SystemFlags.bit.linmsgtimeout =1;
BroadcastIndex++;
BroadcastIndex--;
:
:
:
:
CANRxISR
R38917
10/02/00
None
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
// Loop control timer timeout
// LoopControlPeriod set in header file
// Reset LoopControlTime
// Clear system flag
// Increment Schedule Table Index
// Reset Schedule Index
// Timeoutperiod set in header file
// Set Timeout flag
// Read TBSC0 and write 0 to CH0F
Master Code – Master08.C
Code Listings
53

Related parts for AN2103