00001 /**************************************************************************//** 00002 * \file adc_Cfg.h 00003 * 00004 * \brief This file provides all the configurations provided by ADC module 00005 * of Freescale MPC563 power-pc MCU 00006 * 00007 * \version 1.0A - Initial Draft 00008 * \date 25 June 2010 00009 * 00010 * \version 1.1A - Design changed to support run-time CCW addition and 00011 * configuration 00012 * \date 16 July 2010 00013 *****************************************************************************/ 00014 #ifndef ADC_CFG_H 00015 #define ADC_CFG_H 00016 /****************************************************************************** 00017 Include Files 00018 ******************************************************************************/ 00019 00020 /****************************************************************************** 00021 Type defines 00022 ******************************************************************************/ 00023 00024 00025 /** \brief This macro defines the total no.of CCWs available in 00026 each ADC converter module */ 00027 #define ADC_TOT_CCW 64 00028 00029 /** \brief This defines the address for the ADC converter module A register 00030 group */ 00031 #define QADC_MOD_A (( struct QADC64_tag *) (INTERNAL_MEMORY_BASE + 0x304800)) 00032 /** \brief This defines the address for the ADC converter module B register 00033 group */ 00034 #define QADC_MOD_B (( struct QADC64_tag *) (INTERNAL_MEMORY_BASE + 0x304C00)) 00035 00036 #endif