/*
*******************************************************************************
COPYRIGHT 2003 STMicroelectronics
Source File Name : st7263_reg.c
Group            : IPSW,CMG-IPDF.
Author           : MCD Application Team
Date First Issued: 23/9/2003
********************************Documentation**********************************
GeneralPurpose - This file contains the hardware registers of all peripherals
		         of ST7263	                 
********************************RevisionHistory********************************
_______________________________________________________________________________
Date :23/9/2003 	       Release:2.0 
Date :2/06/2004            1.Address information added for metrowerks registers
                           2.remove #pragma      	  
******************************************************************************/
#include "St7lib_config.h"
#ifdef _HIWARE_     

/*****************************************************************************/
/* IO Ports Hardware Registers                                               */
           
/* PORT A register                                                           */
volatile unsigned char PADR    @0x00;     /* PORT A data Register            */
volatile unsigned char PADDR   @0x01;  /* Data direction register            */

/* PORT B register                                                           */
volatile unsigned char PBDR    @0x02;      /* PORT B data Register           */
volatile unsigned char PBDDR   @0x03;   /* Data direction register           */

/* PORT C register                                                           */
volatile unsigned char PCDR    @0x04;      /* PORT C data Register           */
volatile unsigned char PCDDR   @0x05;   /* Data direction register           */

/*---------------------------------------------------------------------------*/
/*Interrupt registers                                                        */
volatile unsigned char ITRFRE @0x08;   /*   Interrupt Register             */

/*---------------------------------------------------------------------------*/    
/* MISCELLANEOUS Register                                                    */
volatile unsigned char MISCR  @0x09; /*   Miscellaneous Register           */

/*---------------------------------------------------------------------------*/    

/*  WDG section                                                              */ 
volatile unsigned char WDGCR   @0x0c;	/* WDG Control Register              */
/*---------------------------------------------------------------------------*/

/*  TIMER A section                                                          */
volatile unsigned char TACR2   @0x11;	/* Control Register 2                */
volatile unsigned char TACR1   @0x12;	/* Control Register 1                */
volatile unsigned char TACSR   @0x13;	/* Status Register                   */
volatile unsigned char TAIC1HR @0x14;  /* Input Capture 1 High               */
volatile unsigned char TAIC1LR @0x15;	/* Input Capture 1 Low               */
volatile unsigned char TAOC1HR @0x16;	/* Output Compare 1 High             */
volatile unsigned char TAOC1LR @0x17;	/* Output Compare 1 Low              */
volatile unsigned char TACHR   @0x18;	/* Counter High                      */
volatile unsigned char TACLR   @0x19;	/* Counter Low                       */
volatile unsigned char TAACHR  @0x1a;/* Alternate Counter High               */
volatile unsigned char TAACLR  @0x1b;/* Alternate Counter Low                */
volatile unsigned char TAIC2HR @0x1c;/* Input Capture 2 High                 */
volatile unsigned char TAIC2LR @0x1d;/* Input Capture 2 Low                  */
volatile unsigned char TAOC2HR @0x1e;/* Output Compare 2 High                */
volatile unsigned char TAOC2LR @0x1f;/* Output Compare 2 Low                 */

/* 16 bit timer register                                                     */    
volatile unsigned int  TAIC1R  @0x14;  /* Input Capture 1 Register           */
volatile unsigned int  TAOC1R  @0x16;  /* Output Compare 1 Register          */
volatile unsigned int  TACR    @0x18;	/* Counter Register                  */
volatile unsigned int  TAACR   @0x1a;/* Alternate Counter Register           */
volatile unsigned int  TAIC2R  @0x1c;/* Input Capture 2 Register             */
volatile unsigned int  TAOC2R  @0x1e;/* Output Compare 2 Register            */
/*---------------------------------------------------------------------------*/ 

/*SCI registers                                                              */
volatile unsigned char SCISR @0x20;
volatile unsigned char SCIDR @0x21; 
volatile unsigned char SCIBRR @0x22;
volatile unsigned char SCICR1 @0x23;
volatile unsigned char SCICR2 @0x24;  
/*---------------------------------------------------------------------------*/   

/* USB Registers                                                             */
volatile unsigned char USBPIDR @0x25;
volatile unsigned char USBDMAR @0x26;
volatile unsigned char USBIDR @0x27;
volatile unsigned char USBISTR @0x28;
volatile unsigned char USBIMR @0x29;
volatile unsigned char USBCTLR @0x2A;
volatile unsigned char USBDADDR @0x2B;
volatile unsigned char USBEP0RA @0x2C;
volatile unsigned char USBEP0RB @0x2D;
volatile unsigned char USBEP1RA @0x2E;
volatile unsigned char USBEP1RB @0x2F;
volatile unsigned char USBEP2RA @0x30;
volatile unsigned char USBEP2RB @0x31;
/*---------------------------------------------------------------------------*/   

/* Flash control register                                                    */
volatile unsigned char FCSR    @0x37;
/*---------------------------------------------------------------------------*/
     

#endif /* _HIWARE_                                                           */

/*** (c) 2003   STMicroelectronics ****************** END OF FILE ************/
