AN2623 Freescale Semiconductor / Motorola, AN2623 Datasheet - Page 16

no-image

AN2623

Manufacturer Part Number
AN2623
Description
LIN Temperature Sensor Using the MC68HC908QY/QY MCU
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2623/D
Board.h
#ifndef BOARD_H
#define BOARD_H
/*******************************************************************************
*
*
*
*
*
*
*
*
*
*
*
*
*
*******************************************************************************/
/*******************************************************************************
*
*
*
*******************************************************************************/
#define MAX6611
//#define MAX6610
//#define LM56
//#define LM66
/*******************************************************************************
*
*
*
*******************************************************************************/
#define SIGN_LED PTB_PTB3
/*******************************************************************************
*
*
*
*
*******************************************************************************/
#define ADCH0 0x00
#define ADCH1 0x01
#define ADCH2 0x02
#define ADCH3 0x03
16
$File Name
$Author
$Date
$Version
Function:
Definition of used temperature sensor
Definition of bit in B port, where the flare LED is connected
Definition of used ADC channels, the single conversion always enable
(ADSCR) interrupt disable
Temperature sensor based on MC68HC908QY4 slave program.
=======================================================
In this file there are concentrate all board dependent
definitions like ID used in LIN, used temperature sensor, etc
(c) MOTOROLA Inc. 2003
: Board.h$
: re004c$
: Oct-23-2003$
: 1.1.4.0$
LIN Temperature Sensor Using the MC68HC908QT/QY MCU
/* use this row if the MAX6611 temp. sensor is used
/* use this row if the MAX6610 temp. sensor is used
/* use this row if the LM56 temp. sensor is used
/* use this row if the LM66 temp. sensor is used
Freescale Semiconductor, Inc.
/* A/D converter channel 1, input PTA0
/* A/D converter channel 2, input PTA1
/* A/D converter channel 3, input PTA4
/* A/D converter channel 4, input PTA5
For More Information On This Product,
Go to: www.freescale.com
all rights reserved.
*/
*/
*/
*/
*/
*/
*/
*/
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
MOTOROLA

Related parts for AN2623