/** ###################################################################
**     THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename    : DA1.c
**     Project     : ProcessorExpert
**     Processor   : MC56F84789VLL
**     Component   : Init_DAC
**     Version     : Component 01.000, Driver 01.00, CPU db: 3.50.001
**     Compiler    : Metrowerks DSP C Compiler
**     Date/Time   : 2012-04-06, 16:41, # CodeGen: 24
**     Abstract    :
**          This file implements the DAC (DAC6bA) module initialization
**          according to the Peripheral Initialization settings, and
**          defines interrupt service routines prototypes.
**     Settings    :
**          Component name                                 : DA1
**          Device                                         : DAC6bA
**          Settings                                       : 
**            Reference selection                          : External
**            Output voltage select                        : 62
**          Initialization                                 : 
**            Peripheral clock enable                      : Enabled
**            Module enable                                : yes
**            Call Init method                             : yes
**     Contents    :
**         Init - void DA1_Init(void);
**
**     Copyright : 1997 - 2012 Freescale Semiconductor, Inc. All Rights Reserved.
**     
**     http      : www.freescale.com
**     mail      : support@freescale.com
** ###################################################################*/

/* MODULE DA1. */

#include "DA1.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 "Cpu.h"


/*
** ===================================================================
**     Method      :  DA1_Init (component Init_DAC)
**
**     Description :
**         This method initializes registers of the DAC module
**         according to the Peripheral Initialization settings.
**         Call this method in user code to initialize the module. By
**         default, the method is called by PE automatically; see "Call
**         Init method" property of the component for more details.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void DA1_Init(void)
{
  /* CMPA_DACCR: DACEN=1,VRSEL=1,VOSEL=0x3D */
  clrSetReg16Bits(CMPA_DACCR, 0x02U, 0xFDU); 
}


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