AN2573 Freescale Semiconductor / Motorola, AN2573 Datasheet - Page 29

no-image

AN2573

Manufacturer Part Number
AN2573
Description
LINkits LIN Evaluation Boards
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
*
*
*
*
*
*
*
******************************************************************************/
void LED_display (void)
{
}
/******************************************************************************
*
*
*
*
*
*
*
*
******************************************************************************/
void LIN_response (void)
{
MOTOROLA
if (mode)
{
}
else
{
}
LIN_data[0] = data;
LIN_data[1] = 0;
switch (ID)
{
Function name: LED_display
Originator:
Date:
Function:
Function name: LIN_response
Originator:
Date:
Function:
if (count & 0x08)
{
}
else
{
}
PTB = (PTB & 0xF0) | (data & 0x0F);
case 0:
LIN_PutMsg (0x21, LIN_data);
break;
case 1:
LIN_PutMsg (0x22, LIN_data);
break;
case 2:
PTB = (PTB & 0xF0) | (1 << ID);
PTB &= 0xF0;
P. Topping
19th June 2003
According to mode the LEDs display the 4-bit data field
or the flashing ID (0:21, 1:22, 2:23, 3:20).
P. Topping
19th June 2003
According to ID (0:21, 1:22, 2:23, 3:20), a 2-byte
response field is sent using "data" for the lower nibble
of the first byte. All the other bits are zero.
Freescale Semiconductor, Inc.
For More Information On This Product,
LINkits LIN Evaluation Boards
Go to: www.freescale.com
/* ID mode LED display
/* ID mode flash, LEDs off */
/* normal mode so
/* drive LEDs with data
/* LIN response to ID21
/* LIN response to ID22
MC68HC908EY16 Slave Software Listings
*/
*/
*/
*/
*/
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
AN2573/D
29

Related parts for AN2573