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

📄 main.c

📁 基于SPMC75的变频电机驱动例子,相当于一个简单的变频器. 望对变频器开发的工程式师有一定的帮助!
💻 C
字号:
//========================================================================
// The information contained herein is the exclusive property of
// Sunplus Technology Co. And shall not be distributed, reproduced,
// or disclosed in whole in part without prior written permission.
//             (C) COPYRIGHT 2004 SUNPLUS TECHNOLOGY CO.
//                    ALL RIGHTS RESERVED
// The entire notice above must be reproduced on all authorized copies.
//========================================================================

//========================================================================
// Filename: main.c
// Author: Lianshu  Mou (email: Lianshu@sunnorth.com.cn)
// Date: 2005/01/24
// Description: 
// Reference:
// Revision:
//      2005/01/24      First version
//========================================================================

#include "Spmc75_regs.h"
#include "mcMACRO.h"
#include ".\SPWM_Lib\SPWM_ISR.h"

void System_Ctrl(void);
void System_Init(void);

int main(void)
{
	Disable_FIQ_IRQ();					//禁止所有中断
	System_Init();
	IRQNestOn();						//启用中断嵌套模式
	INT_IRQ();							//开启IRQ中断
	while(1)
	{
		System_Ctrl();
	}
}

⌨️ 快捷键说明

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