/** ###################################################################
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename  : GPIO1.C
**     Project   : DC15
**     Processor : MC9S08QG8CPB
**     Beantype  : Init_GPIO
**     Version   : Bean 01.010, Driver 01.06, CPU db: 2.87.108
**     Compiler  : CodeWarrior HCS08 C Compiler
**     Date/Time : 2/15/2007, 3:44 PM
**     Abstract  :
**          This file implements the General Purpose Input Output (PTB)
**          module initialization according to the Peripheral Initialization
**          Bean settings, and defines interrupt service routines prototypes.
**
**     Settings  :
**          Bean name                                      : GPIO1
**          Device                                         : PTB
**          Port control                                   : Entire I/O port
**
**          Port direction                                 : Output
**          Port output value                              : 0x00
**          Pull resistor                                  : no initialization
**          Open drain                                     : push-pull
**
**          Call Init method                               : yes
**     Contents  :
**         Init - void GPIO1_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 GPIO1. */

#include "GPIO1.h"

/*
** ===================================================================
**     Method      :  GPIO1_Init (bean Init_GPIO)
**
**     Description :
**         This method initializes registers of the GPIO 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 GPIO1_Init(void)
{
  /* PTBD: PTBD7=0,PTBD6=0,PTBD5=0,PTBD4=0,PTBD3=0,PTBD2=0,PTBD1=0,PTBD0=0 */
  setReg8(PTBD, 0x00);                  
  /* PTBDD: PTBDD7=1,PTBDD6=1,PTBDD5=1,PTBDD4=1,PTBDD3=1,PTBDD2=1,PTBDD1=1,PTBDD0=1 */
  setReg8(PTBDD, 0xFF);                 
}

/* END GPIO1. */

/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 2.99 [03.85]
**     for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/
