AN2573 Freescale Semiconductor / Motorola, AN2573 Datasheet - Page 16

no-image

AN2573

Manufacturer Part Number
AN2573
Description
LINkits LIN Evaluation Boards
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2573/D
void LostNode()
{
}
/*****************************************************************************
void LINActive()
{
}
/*****************************************************************************
void main( void )
{
16
*
* Notes:
*
*****************************************************************************/
* Function:
*
* Description:
*
* Returns:
*
* Notes:
*
*****************************************************************************/
* Function:
*
* Description:
*
* Returns:
*
* Notes:
*
*****************************************************************************/
PERJ = 0x40;
while ((PTJ & 0x40) == 0)
{
}
PERJ = 0x80;
int
unsigned char
LINStatusType
char i;
unsigned char strip = 0x80;
for (i = 0; i < 8; i++)
{
}
/* Check switch position */
NewNode();
LostNode();
/* Enable LIN interface */
PORTB = ~strip;
Delay(125);
strip = strip>>1;
LINActive
Returns only if master switch has enabled LIN
none
main
Sends and receives 2 bytes messages periodically
never return
i,nodeId;
ret;
statusDisplay;
Freescale Semiconductor, Inc.
For More Information On This Product,
Flashes LEDs if LIN is disabled
LINkits LIN Evaluation Boards
Go to: www.freescale.com
MOTOROLA

Related parts for AN2573