/** ###################################################################
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename  : PB.H
**     Project   : bldc_hall_demo
**     Processor : MC56F8006_48_LQFP
**     Beantype  : Init_GPIO
**     Version   : Bean 01.080, Driver 01.13, CPU db: 3.00.177
**     Compiler  : Metrowerks DSP C Compiler
**     Date/Time : 24.11.2008, 15:26
**     Abstract  :
**                  This "Init_GPIO" Peripheral Inspector implements the
**                  General Purpose Input/Output (GPIO), basic initialization
**                  and settings.
**     Settings  :
**          Bean name                                      : PB
**          Device                                         : GPIOB
**          Device signal                                  : 
**          Port control                                   : Individual pins
**          Pins                                           : 1
**            Pin                                          : 3
**              Pin                                        : GPIOB3_ANA3_ANB3_PWM5_MOSI_TIN3_CMP1_OUT
**              Pin signal                                 : 
**              Direction                                  : Input
**              Output value                               : 0
**              Pull resistor                              : pull up
**              Interrupt                                  : Enabled
**              Interrupt polarity                         : Low
**          Interrupt                                      : 
**            Interrupt                                    : INT_GPIO_B
**            Priority                                     : medium priority
**            ISR name                                     : ISR_Irq2Button
**          Initialization                                 : 
**            Call Init method                             : yes
**     Contents  :
**         Init - void PB_Init(void);
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __PB
#define __PB

/* MODULE PB. */

/*Include shared modules, which are used for whole project*/
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "Cpu.h"

extern void ISR_Irq2Button(void);


/* PESL device mapping  */
#define PB_DEVICE GPIOB

void PB_Init(void);
/*
** ===================================================================
**     Method      :  PB_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 initialization is made in initialization
**         code; see "Call Init method" property of the bean for more
**         details.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

/* END PB. */

#endif
/* ifndef __PB */
/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 2.99 [04.17]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/
