AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 50

no-image

AN2103

Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
50
Application Note
/***
Timeout Period And Abort Stuff ?
***/
/******************************************************************************
Function Name
Engineer
Date
Parameters
Returns
Notes
******************************************************************************/
void SetMC33388Mode(enum tMC33388 Mode)
/******************************************************************************
Function Name
Engineer
Date
Parameters
Returns
Notes
******************************************************************************/
void CommonMsgHandler(void)
while(!(AZ60_MSCAN08.ctflg.byte & TxBufferID))
AZ60_MSCAN08.txbuf[(TxBufferID >> 1)].id.l = Buffer -> id.l;
for(i=0 ; i < Buffer -> dlr ; i++)
AZ60_MSCAN08.txbuf[(TxBufferID >> 1)].dlr
AZ60_MSCAN08.txbuf[(TxBufferID >> 1)].tbpr = Buffer -> tbpr;
AZ60_MSCAN08.ctflg.byte = TxBufferID;
}
{
switch(Mode)
}
;
AZ60_MSCAN08.txbuf[(TxBufferID >> 1)].dsr[i] = Buffer -> dsr[i];
{
case SLEEP:
case SLEEP_RQ:
case RX_ONLY:
case NORMAL:
default:
}
AZ60_PORT.ptf.byte = 0;
break;
AZ60_PORT.ptf.byte = PTF3;
break;
AZ60_PORT.ptf.byte = PTF4;
break;
AZ60_PORT.ptf.byte = PTF4|PTF3;
break;
;
:
:
:
:
:
:
:
:
:
:
:
:
SetMC33388Mode
R38917
11/02/00
Mode
None
CommonMsgHandler
R38917
20/07/00
None
None
This handler is common to the 12 messages as only the index is different.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
= Buffer -> dlr;
//STB=EN=0
//STB=0,EN=1
//STB=1,EN=0
//STB=EN=1
// Common handler replaces Node1 - Node12 handlers
MOTOROLA
AN2103

Related parts for AN2103