AN2103 Freescale Semiconductor / Motorola, AN2103 Datasheet - Page 58

no-image

AN2103

Manufacturer Part Number
AN2103
Description
Local Interconnect Network (LIN) Demonstration
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
58
Application Note
enum
/************************* Global Variables **********************************/
tFLAG
tU08
tU08
tU08
tU08
tU08
tU08
tU16
/************************* Prototypes ****************************************/
/******************************************************************************
Function Name
Engineer
Date
Parameters
Returns
Notes
******************************************************************************/
void SetMC33388Mode(enum tMC33388 Mode)
/******************************************************************************
Function Name
Engineer
{
SLEEP,
SLEEP_RQ,
RX_ONLY,
NORMAL
};
{
switch(Mode)
}
tMC33388
SystemFlags;
REDTIMticks = 0;
GREENTIMticks = 0;
EXTERNTIMticks = 0;
TIMticks = 0;
MsgSent[2];
MsgRcvd[2];
WakeupTimeout = 0;
{
case SLEEP:
case SLEEP_RQ:
case RX_ONLY:
case NORMAL:
default:
}
AZ60.ptf.byte = 0;
break;
AZ60.ptf.byte = PTF3;
break;
AZ60.ptf.byte = PTF4;
break;
AZ60.ptf.byte = PTF4|PTF3;
break;
;
:
:
:
:
:
:
:
:
SetMC33388Mode
r38917
11/02/00
Mode
None
Rotating LEDs message
TTZ740
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
//STB=EN=0
//STB=0,EN=1
//STB=1,EN=0
//STB=EN=1
MOTOROLA
AN2103

Related parts for AN2103