AN2623 Freescale Semiconductor / Motorola, AN2623 Datasheet - Page 12

no-image

AN2623

Manufacturer Part Number
AN2623
Description
LIN Temperature Sensor Using the MC68HC908QY/QY MCU
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2623/D
/*******************************************************************************
*
*
*
*
*
*
*
*******************************************************************************/
void LED_display (void)
{
}
/*******************************************************************************
*
*
*
*
*
*
*
*
*******************************************************************************/
void LIN_response (void)
{
12
$Author:
Ret = LIN_GetMsg (ID_RECEIVE, MsgRcvd);
if (MsgRcvd[0] & LED_TICK)
{
}
else
{
}
$Author:
unsigned char MeasuredReference;
unsigned int k;
MsgSend[1] = 0;
ADSCR = TEMP_CH;
while (!ADSCR_COCO);
MsgSend[0] = ADR;
ADSCR = REF_CH;
while (!ADSCR_COCO);
MeasuredReference = ADR;
Function name: LED_display
Date:
Function:
Function name: LIN_response
Date:
Function:
SIGN_LED = 1;
SIGN_LED = 0;
re004c $
25th August 2003
According to the received data, the LED on SIGN_LED port
light on or turn off.
re004c $
25th August 2003
Send the status of A/D conversion when the ID_SEND message *
is received. In the first byte the current corrected
measured temperature is sent, the second byte left be blank*
LIN Temperature Sensor Using the MC68HC908QT/QY MCU
Freescale Semiconductor, Inc.
For More Information On This Product,
/* ADC single convers on TEMP_CH
/* wait for switching the ADC source
/* save current measured temperature
/* ADC single convers on REF_CH
/* wait for switching the ADC source
/* save the reference voltage
/* ADC power supply dependent correction */
Go to: www.freescale.com
*/
*/
*/
*/
*/
*/
*
*
*
*
*
*
*
*
*
*
*
*
*
MOTOROLA

Related parts for AN2623