iadc.c

来自「PWM同步」· C语言 代码 · 共 66 行

C
66
字号
/** ###################################################################
**     Filename  : Iadc.C
**     Project   : Iadc
**     Processor : 56F8346
**     Version   : Driver 01.10
**     Compiler  : Metrowerks DSP C Compiler
**     Date/Time : 2009-2-9, 10:52
**     Abstract  :
**         Main module.
**         Here is to be placed user's code.
**     Settings  :
**     Contents  :
**         No public methods
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2005
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/
/* MODULE Iadc */

/* Including used modules for compiling procedure */
#include "Cpu.h"
#include "Events.h"
#include "AdcFD.h"
#include "timerRamp.h"
#include "PWM_sync.h"
#include "PC_M1.h"
#include "Inhr1.h"
/* Include shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"

void main(void)
{
  /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
  PE_low_level_init();
  /*** End of Processor Expert internal initialization.                    ***/

  /* Write your code here */
  AdcFD_Enable();
  
    AdcFD_Start();
   AdcFD_EnableIntTrigger();
   
 
   PWM_sync_OutputPadEnable();

  for(;;) {}
}

/* END Iadc */
/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 2.97 [03.74]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?