/*******************************************************************************
COPYRIGHT 2002 STMicroelectronics 
Source File Name : MCC_hr.h
Group            : IPSW,CMG - IPDF
Author           : MCD Application Team
Date First Issued: 06/03/2002
********************************Documentation***********************************
General Purpose - This file declares all the hardware registers bit definitions

********************************Revision History********************************
Date :06/03/2002                  Release:1.0       	   		        	    
Date :23/09/2003                  Release:2.0
Date :28/04/2004                  MISRA changes
Date :04/11/2004				  Update to include devices-Lite1/2/3&Superlite
________________________________________________________________________________
1.Added necessary comments
2.Updated file for release 2.0
*******************************************************************************/
#ifndef MCC_HR_H
#define MCC_HR_H

#include "ST7lib_config.h"                                  

/******************************************************************************/
/***** H A R D W A R E   R E G I S T E R   B I T   D E F I N I T I O N S ******/
/******************************************************************************/
#define TB        0x0C                              /* Time base control flag */
#define OIE       0x02                               /* Interrupt enable flag */
#define BC        0x03                                   /* Beep control flag */

#if (defined MCC_72F521 || defined MCC_72F561 || defined MCC_72F34x)
#define MCO       0x80                                            /* MCO flag */
#define CP        0x60                                /* Clock prescaler flag */
#define SMS       0x10                               /* Slow mode select flag */
#endif

#if (defined MCC_LITE0 || defined MCC_LITE1 ||defined MCC_LITE2 ||defined MCC_LITE3 || defined MCC_SUPERLITE)
#define MCO       0x02                                            /* MCO flag */
#define SMS       0x01                               /* Slow mode select flag */
#endif

#ifdef MCC_72F264
#define MCO       0x20                                            /* MCO flag */
#define CP        0x06                                /* Clock prescaler flag */
#define SMS       0x01                               /* Slow mode select flag */
#endif

#endif
/*** (c) 2002   STMicroelectronics ******************* END OF FILE ************/
