⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vvvf_56f8346.c

📁 基于56F8346的异步电机VVVF控制程序。
💻 C
字号:
/** ###################################################################
**     Filename  : vvvf_56F8346.C
**     Project   : vvvf_56F8346
**     Processor : 56F8346
**     Version   : Driver 01.06
**     Compiler  : Metrowerks DSP C Compiler
**     Date/Time : 2008-2-3, 下午 02:49
**     Abstract  :
**         Main module. 
**         Here is to be placed user's code.
**     Settings  :
**     Contents  :
**         No public methods
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2004
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/
/* MODULE vvvf_56F8346 */

/* Including used modules for compilling procedure */
#include "Cpu.h"
#include "Events.h"
#include "Bit_Relay.h"
#include "Bits_Drivemosfet.h"
#include "PWMC1.h"
#include "TI1.h"
#include "MC1.h"
#include "MC2.h"
#include "TFR1.h"
#include "MFR1.h"
#include "MEM1.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 */
  Bit_Relay_SetVal();
  Bits_Drivemosfet_SetBit(0);
  Bits_Drivemosfet_SetBit(1);
  
  PWMC1_Enable();
  PWMC1_OutputPadEnable();

  for(;;) {}
}

/* END vvvf_56F8346 */
/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 03.47 for 
**     the Motorola 56800 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

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