/** ###################################################################
**     THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename    : IdleLamp.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-05-15, 17:58, # CodeGen: 5
**     Abstract    :
**                  This "Init_GPIO" Peripheral Inspector implements the
**                  General Purpose Input/Output (GPIO), basic initialization
**                  and settings.
**     Settings    :
**          Component name                                 : IdleLamp
**          Device                                         : GPIOF
**          Device signal                                  : GPIOF6
**          Port control                                   : Individual pins
**          Pins                                           : 1
**            Pin                                          : 6
**              Pin                                        : GPIOF6/TB2/PWMA_3X/PWMB_3X/XB_IN2
**              Pin signal                                 : LED8
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**          Interrupt                                      : 
**            Interrupt                                    : INT_GPIOF
**            Priority                                     : default
**            ISR name                                     : 
**          Initialization                                 : 
**            Call Init method                             : yes
**            Enable peripheral clock                      : yes
**     Contents    :
**         Init - void IdleLamp_Init(void);
**
**     Copyright : 1997 - 2012 Freescale Semiconductor, Inc. All Rights Reserved.
**     
**     http      : www.freescale.com
**     mail      : support@freescale.com
** ###################################################################*/

/* MODULE IdleLamp. */

#include "IdleLamp.h"

/*
** ===================================================================
**     Method      :  IdleLamp_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 IdleLamp_Init(void)
{
  /* GPIOF_PUS: PUS6=1 */
  clrSetReg16Bits(GPIOF_PUS, 0x00U, 0x40U); 
  /* GPIOF_PUR: PU6=0 */
  clrSetReg16Bits(GPIOF_PUR, 0x40U, 0x00U); 
  /* GPIOF_PPMODE: PPMODE6=1 */
  clrSetReg16Bits(GPIOF_PPMODE, 0x00U, 0x40U); 
  /* GPIOF_DR: D6=0 */
  clrSetReg16Bits(GPIOF_DR, 0x40U, 0x00U); 
  /* GPIOF_DDR: DD6=1 */
  clrSetReg16Bits(GPIOF_DDR, 0x00U, 0x40U); 
  /* GPIOF_IPOLR: IPOL6=0 */
  clrSetReg16Bits(GPIOF_IPOLR, 0x40U, 0x00U); 
  /* GPIOF_IENR: IEN6=0 */
  clrSetReg16Bits(GPIOF_IENR, 0x40U, 0x00U); 
}

/* END IdleLamp. */

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