/** ###################################################################
**     THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename    : LEDs0to7.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                                 : LEDs0to7
**          Device                                         : GPIOE
**          Device signal                                  : 
**          Port control                                   : Individual pins
**          Pins                                           : 8
**            Pin                                          : 0
**              Pin                                        : GPIOE0/PWMA_0B
**              Pin signal                                 : LED0
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 1
**              Pin                                        : GPIOE1/PWMA_0A
**              Pin signal                                 : LED1
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 2
**              Pin                                        : GPIOE2/PWMA_1B
**              Pin signal                                 : LED2
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 3
**              Pin                                        : GPIOE3/PWMA_1A
**              Pin signal                                 : LED3
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 4
**              Pin                                        : GPIOE4/PWMA_2B/XB_IN2
**              Pin signal                                 : LED4
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 5
**              Pin                                        : GPIOE5/PWMA_2A/XB_IN3
**              Pin signal                                 : LED5
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 6
**              Pin                                        : GPIOE6/PWMA_3B/XB_IN4/PWMB_2B
**              Pin signal                                 : LED6
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**            Pin                                          : 7
**              Pin                                        : GPIOE7/PWMA_3A/XB_IN5/PWMB_2A
**              Pin signal                                 : LED7
**              Direction                                  : Output
**              Output value                               : 0
**              Pull resistor                              : no pull resistor
**              Open drain                                 : push-pull
**              Interrupt                                  : Disabled
**              Interrupt polarity                         : High
**          Interrupt                                      : 
**            Interrupt                                    : INT_GPIOE
**            Priority                                     : default
**            ISR name                                     : 
**          Initialization                                 : 
**            Call Init method                             : yes
**            Enable peripheral clock                      : yes
**     Contents    :
**         Init - void LEDs0to7_Init(void);
**
**     Copyright : 1997 - 2012 Freescale Semiconductor, Inc. All Rights Reserved.
**     
**     http      : www.freescale.com
**     mail      : support@freescale.com
** ###################################################################*/

/* MODULE LEDs0to7. */

#include "LEDs0to7.h"

/*
** ===================================================================
**     Method      :  LEDs0to7_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 LEDs0to7_Init(void)
{
  /* GPIOE_PUS: PUS7=1,PUS6=1,PUS5=1,PUS4=1,PUS3=1,PUS2=1,PUS1=1,PUS0=1 */
  clrSetReg16Bits(GPIOE_PUS, 0x00U, 0xFFU); 
  /* GPIOE_PUR: PU7=0,PU6=0,PU5=0,PU4=0,PU3=0,PU2=0,PU1=0,PU0=0 */
  clrSetReg16Bits(GPIOE_PUR, 0xFFU, 0x00U); 
  /* GPIOE_PPMODE: PPMODE7=1,PPMODE6=1,PPMODE5=1,PPMODE4=1,PPMODE3=1,PPMODE2=1,PPMODE1=1,PPMODE0=1 */
  clrSetReg16Bits(GPIOE_PPMODE, 0x00U, 0xFFU); 
  /* GPIOE_DR: D7=0,D6=0,D5=0,D4=0,D3=0,D2=0,D1=0,D0=0 */
  clrSetReg16Bits(GPIOE_DR, 0xFFU, 0x00U); 
  /* GPIOE_DDR: DD7=1,DD6=1,DD5=1,DD4=1,DD3=1,DD2=1,DD1=1,DD0=1 */
  clrSetReg16Bits(GPIOE_DDR, 0x00U, 0xFFU); 
  /* GPIOE_IPOLR: IPOL7=0,IPOL6=0,IPOL5=0,IPOL4=0,IPOL3=0,IPOL2=0,IPOL1=0,IPOL0=0 */
  clrSetReg16Bits(GPIOE_IPOLR, 0xFFU, 0x00U); 
  /* GPIOE_IENR: IEN7=0,IEN6=0,IEN5=0,IEN4=0,IEN3=0,IEN2=0,IEN1=0,IEN0=0 */
  clrSetReg16Bits(GPIOE_IENR, 0xFFU, 0x00U); 
}

/* END LEDs0to7. */

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