/** ###################################################################
**     THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename    : Bit2.c
**     Project     : ProcessorExpert
**     Processor   : MC56F84789VLL
**     Component   : Init_GPIO
**     Version     : Component 01.090, Driver 01.17, CPU db: 3.50.001
**     Compiler    : Metrowerks DSP C Compiler
**     Date/Time   : 2012-07-05, 11:55, # CodeGen: 8
**     Abstract    :
**                  This "Init_GPIO" Peripheral Inspector implements the
**                  General Purpose Input/Output (GPIO), basic initialization
**                  and settings.
**     Settings    :
**          Component name                                 : Bit2
**          Device                                         : GPIOC
**          Device signal                                  : 
**          Port control                                   : Individual pins
**          Pins                                           : 1
**            Pin                                          : 5
**              Pin                                        : GPIOC5/DACO/XB_IN7
**              Pin signal                                 : 
**              Direction                                  : Input
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**          Interrupt                                      : 
**            Interrupt                                    : INT_GPIOC
**            Priority                                     : default
**            ISR name                                     : 
**          Initialization                                 : 
**            Call Init method                             : yes
**            Enable peripheral clock                      : yes
**     Contents    :
**         Init - void Bit2_Init(void);
**
**     Copyright : 1997 - 2012 Freescale Semiconductor, Inc. All Rights Reserved.
**     
**     http      : www.freescale.com
**     mail      : support@freescale.com
** ###################################################################*/

/* MODULE Bit2. */

#include "Bit2.h"

/*
** ===================================================================
**     Method      :  Bit2_Init (component 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
** ===================================================================
*/
void Bit2_Init(void)
{
  /* GPIOC_PUS: PUS5=1 */
  clrSetReg16Bits(GPIOC_PUS, 0x00U, 0x20U); 
  /* GPIOC_PUR: PU5=0 */
  clrSetReg16Bits(GPIOC_PUR, 0x20U, 0x00U); 
  /* GPIOC_PPMODE: PPMODE5=1 */
  clrSetReg16Bits(GPIOC_PPMODE, 0x00U, 0x20U); 
  /* GPIOC_DR: D5=0 */
  clrSetReg16Bits(GPIOC_DR, 0x20U, 0x00U); 
  /* GPIOC_DDR: DD5=0 */
  clrSetReg16Bits(GPIOC_DDR, 0x20U, 0x00U); 
  /* GPIOC_IPOLR: IPOL5=0 */
  clrSetReg16Bits(GPIOC_IPOLR, 0x20U, 0x00U); 
  /* GPIOC_IENR: IEN5=0 */
  clrSetReg16Bits(GPIOC_IENR, 0x20U, 0x00U); 
}

/* END Bit2. */

/*
** ###################################################################
**
**     This file was created by Processor Expert 5.3 [05.01]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/
