AN2623 Freescale Semiconductor / Motorola, AN2623 Datasheet - Page 15

no-image

AN2623

Manufacturer Part Number
AN2623
Description
LIN Temperature Sensor Using the MC68HC908QY/QY MCU
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
U8 volatile Message0x5B[2];
/* Pointer array pointing to all frames, must be setup in the same order as
U8 volatile * MessagePointerTbl[] = {Message0x1A, Message0x5B};
/* Relevant identifier table (array), must be setup in the same order as
U8 const near IdTbl[] = { 0x1A, 0x5B};
/* Table below defines number of bytes in the message data and shows if the
message should be sent or received. The LSHB is the length of data frame +1
(checksum) (e.g. Message0x20[4]=> LSHB= 5)
/*LSHB = Byte count incl Checksum;
Must be setup in the same order as .....*/
U8 const near MessageCountTbl[] = {0x13, 0x03};
//LIN_LIST_SIZE is the number of Id:s in the IdTbl[]
#define LIN_LIST_SIZE
//No_of_Ids is the number of Ids in IdTbl[]
U8 const No_of_Ids = LIN_LIST_SIZE;
U8 volatile LinMsgStatus[LIN_LIST_SIZE]; //to store message status,
/*************** END LIN Frame setup dependant variables. *********************/
MOTOROLA
IdTbl[] and MessageCountTbl[]
*MessagePointerTbl[] and MessageCountTbl[]. Remember that the id must have
parity bits included.
LIN Temperature Sensor Using the MC68HC908QT/QY MCU
(( sizeof(IdTbl)) / sizeof( IdTbl[0] ) )
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
// id 0x1B = 0x5B with parity
MSHB =>F=Ignore, 1 = Receive,
//e.g. LIN_MSG_NODATA or LIN_MSG_UPDATED
0 = Send;
Appendix - Software Listing
*/
*/
*/
AN2623/D
15

Related parts for AN2623