/** ###################################################################
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename  : COP1.C
**     Project   : DC15
**     Processor : MC9S08QG8CPB
**     Beantype  : Init_COP
**     Version   : Bean 01.030, Driver 01.03, CPU db: 2.87.108
**     Compiler  : CodeWarrior HCS08 C Compiler
**     Date/Time : 2/15/2007, 3:44 PM
**     Abstract  :
**          This file implements the Computer Operating Properly (COPFree)
**          module initialization according to the Peripheral 
**          Initialization Bean settings, and defines interrupt service 
**          routines prototypes.
**          The computer operating properly (COP) module contains a free-running 
**          counter that generates a reset if allowed to overflow. The COP module
**          helps software recover from runaway code. Prevent a COP reset by 
**          clearing the COP counter periodically.
**     Settings  :
**          Bean name                                      : COP1
**          Device                                         : COPFree
**          Settings 
**            Clock setting 
**              Time-out period prescaler                  : 256 cycles
**              Time-out period                            : 256 ms
**          Initialization 
**            Call Init method                             : yes
**            Enable COP                                   : no
**     Contents  :
**         Init - void COP1_Init(void);
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2006
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/
/* MODULE COP1. */
#include "COP1.h"

/*
** ===================================================================
**     Method      :  COP1_Init (bean Init_COP)
**
**     Description :
**         This method initializes registers of the COP module
**         according to this Peripheral Initialization Bean settings.
**         Call this method in the user code to initialize the
**         module. By default, the method is called by PE
**         automatically; see "Call Init method" property of the
**         bean for more details.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void COP1_Init(void)
{
  setReg8(SRS, 0xFF);                  /* Clear WatchDog counter */ 
}

/* END COP1. */
/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 2.99 [03.85]
**     for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/
