text: /** ###################################################################
  **     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
  **     Filename  : InpB2.C
  **     Project   : ProjectPWM
  **     Processor : MC9S12XS128MAL
  **     Beantype  : InputPin
  **     Version   : Bean 01.004, Driver 03.07, CPU db: 3.00.003
  **     Compiler  : CodeWarrior HCS12X C Compiler
  **     Date/Time : 2009-12-5, 13:47
  **     Abstract  :
  **         This bean implements a one-bit input. Use of the bean 
  **         is convenient if selected pin is used by some on-chip 
  **         peripheral device (asychronous serial channel, 
  **         synchronous serial channel,...) and there is some reason 
  **         to read state on this pin. This is why bean neither 
  **         allocate nor inicialize this pin. This bean can be used 
  **         for autodiagnostics, where on-chip peripheral device is 
  **         verified on functionality, for example sending and 
  **         receiving of data by asychronous serial channel or 
  **         synchronous serial channel or generating periodic signal 
  **         by Timer.
  **     Settings  :
  **
  **     Contents  :
  **         GetVal - bool InpB2_GetVal(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
  ** ###################################################################*/
  
  /* MODULE InpB2. */
  
  #include "InpB2.h"
    /* Including shared modules, which are used in the whole project */
  #include "PE_Types.h"
  #include "PE_Error.h"
  #include "PE_Const.h"
  #include "IO_Map.h"
  #include "PE_Timer.h"
  #include "Cpu.h"
  
  #pragma DATA_SEG InpB2_DATA
  #pragma CODE_SEG InpB2_CODE
  #pragma CONST_SEG InpB2_CONST          /* Constant section for this module */
  /*
  ** ===================================================================
  **     Method      :  InpB2_GetVal (bean InputPin)
  **
  **     Description :
  **         Returns the value of the Input bean. If direction is
  **         [input] then reads the input value of the pin and returns
  **         it.
  **     Parameters  : None
  **     Returns     :
  **         ---             - Input value
  ** ===================================================================
  */
  /*
  bool InpB2_GetVal(void)
  
  **  This method is implemented as a macro. See InpB2.h file.  **
  */
  
  
  /* END InpB2. */
  /*
  ** ###################################################################
  **
  **     This file was created by UNIS Processor Expert 3.00 [04.12]
  **     for the Freescale HCS12X series of microcontrollers.
  **
  ** ###################################################################
  */
  