/******************************************************************************
*                                                   COPYRIGHT (c) MOTOROLA 2002   
* FILE NAME: per_D64_0L86D.c     REVISION 1.0                                        
*                                                                           
* PURPOSE: declaration of peripheral variables for an MC9S12D64
*		   Mask Set: 0L86D							 
*                                                                           
*******************************************************************************
*******************************************************************************  
**  THIS CODE IS ONLY INTENDED AS AN EXAMPLE FOR THE METROWERKS COMPILER AND **  
**      THE HCS12 EVB AND HAS ONLY BEEN GIVEN A MIMIMUM LEVEL OF TEST.       **  
**  IT IS PROVIDED 'AS SEEN' WITH NO GUARANTEES AND NO PROMISE OF SUPPORT.   **  
*******************************************************************************  
*******************************************************************************
*                                                                           
*                                                                           
* DESCRIPTION:  declarations of control register blocks for on-chip peripherals.        
*                                                                           
*                                                                           
* AUTHOR: Eduardo Montanez   LOCATION: OHT      LAST EDIT DATE: 04.02.02  
*                                                                           
* UPDATE HISTORY                                                            
* REV      	AUTHOR      DATE       	DESCRIPTION OF CHANGE                    
* ---      	------      ---------   ---------------------                    
* 1.0      	r9aabe  	04/02/02	Original coding                                         
*                                                              
*                                                                           
******************************************************************************/
/******************************************************************************
* Peripheral Versions for MCS12D64 - Mask Set: 0L86D
* 
* Peripheral	Peripheral UG	  Version	Doc. Order #		Header File
* ----------	---------------   -------	---------------		---------------
* REF			CPU REF Manual	  --		CPU12RM/D			--
* CORE			HCS12 V1.5 Core   V1.2		S12CPU15UG/D		S12CPU15V1_2.h
* CRG			CRG  			  V04		S12CRGV4/D			S12CRGV4.h
* TIMER			ECT_16B8C		  V01		S12ECT16B8CV1/D		S12ECT16B8CV1.h
* ATD			ATD_10B8C		  V02		S12ATD10B8CV2/D		S12ATD10B8CV2.h
* IIC			IIC				  V02		S12IICV2/D			S12IICV2.h
* SCI			SCI				  V02		S12SCIV2/D			S12SCIV2.h
* SPI			SPI	  			  V02		S12SPIV2/D			S12SPIV2.h
* PWM			PWM_8B8C		  V01		S12PWM8B8CV1/D		S12PWM8B8CV1.h
* FLASH			FTS64K			  V01		S12FTS64KV1/D		S12FTS64KV1.h
* EEPROM		EETS1K			  V01		S12EETS1KV1/D		S12EETS1KV1.h
* BDLC			BDLC			  V01		S12BDLCV1/D			S12BDLCV1.h
* MSCAN			MSCAN			  V02		S12MSCANV2/D		S12MSCANV2.h
* VREG			VREG			  V01		S12REGV1/D			--
* PIM			PIM_9DJ64	   	  V01		S12PIMDJ64V1/D		S12PIMDJ64V1.h
*
******************************************************************************/ 				
/*===========================================================================*/
/* Motorola reserves the right to make changes without further notice to any */
/* product herein to improve reliability, function, or design. Motorola does */
/* not assume any  liability arising  out  of the  application or use of any */
/* product,  circuit, or software described herein;  neither  does it convey */
/* any license under its patent rights  nor the  rights of others.  Motorola */
/* products are not designed, intended,  or authorized for use as components */
/* in  systems  intended  for  surgical  implant  into  the  body, or  other */
/* applications intended to support life, or  for any  other application  in */
/* which the failure of the Motorola product  could create a situation where */
/* personal injury or death may occur. Should Buyer purchase or use Motorola */
/* products for any such intended  or unauthorized  application, Buyer shall */
/* indemnify and  hold  Motorola  and its officers, employees, subsidiaries, */
/* affiliates,  and distributors harmless against all claims costs, damages, */
/* and expenses, and reasonable  attorney  fees arising  out of, directly or */
/* indirectly,  any claim of personal injury  or death  associated with such */
/* unintended or unauthorized use, even if such claim alleges that  Motorola */
/* was negligent regarding the  design  or manufacture of the part. Motorola */
/* and the Motorola logo* are registered trademarks of Motorola Ltd.         */
/*****************************************************************************/

#ifndef REG_BASE
#define REG_BASE			0x0000
#endif

#include "S12ATD10B8CV2.h"			//ATD
#include "S12BDLCV1.h" 				//BDLC
#include "S12CPU15V1_2.h"			//CORE(PAGE/REG)
#include "S12CRGV4.h"				//CRG
#include "S12EETS1KV1.h"			//EEPROM
#include "S12FTS64KV1.h"			//FLASH
#include "S12IICV2.h"				//IIC
#include "MOTTYPES.h"				//TYPE DEFS
#include "S12MSCANV2.h"				//MSCAN
#include "S12PIMDJ64V1.h"			//PIM
#include "S12PWM8B8CV1.h"			//PWM
#include "S12SCIV2.h"				//SCI
#include "S12SPIV2.h"				//SPI
#include "S12ECT16B8CV1.h"			//TIMER



tREGISTER Regs 	@ (0x0000 + REG_BASE);
tPAGE     Page  @ (0x0030 + REG_BASE);
tCRG	  Crg  	@ (0x0034 + REG_BASE);
tTIMER	  Tim0	@ (0x0040 + REG_BASE);
tATD	  Atd0  @ (0x0080 + REG_BASE);
tPWM	  Pwm	@ (0x00A0 + REG_BASE);
tSCI      Sci0  @ (0x00C8 + REG_BASE);
tSCI      Sci1  @ (0x00D0 + REG_BASE);
tSPI      Spi0  @ (0x00D8 + REG_BASE);
tIIC	  Iic	@ (0x00E0 + REG_BASE);
tBDLC	  Bdlc  @ (0x00E8 + REG_BASE);
tFLASH    Flash @ (0x0100 + REG_BASE);
tEEPROM   Eeprom@ (0x0110 + REG_BASE);
tATD	  Atd1  @ (0x0120 + REG_BASE);
tMSCAN	  Can0	@ (0x0140 + REG_BASE);
tPIM	  Pim	@ (0x0240 + REG_BASE);










