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

📄 config_set.h

📁 一个电表的程序
💻 H
字号:
//******************************************************************************
//                                                                             *
//    Filename:  PortSFRDef.h 搬运设备方向控制系统                                              *
//    Date: 2006-07-03                                                         *
//    File Version:  Ver1.0                                                    *
//                           配置寄存器定义                                                  *
//    Author:   LuoDongSheng                                                   *
//    Company:  NingBolida                                                  *
//                                                                             * 
//******************************************************************************

#ifndef __config_set_h
#define __config_set_h

//******************************************************************************

//#pragma	config WDT=ON
#pragma	config WDT=ON,WDTPS=128		// 看门狗使能,时间最长
#pragma config OSC=HS		//PLL				// 外部晶振
#pragma config IESO=OFF				// 主时钟开关不使能
#pragma config BORV=1				// 调电电压设置为4.2V
#pragma config FCMEN=ON				// 时钟故障监测使能
#pragma config PWRT=ON				//上电起振延时使能
#pragma config MCLRE=ON				// 复位引脚使能,MCLR pin enabled
#pragma config STVREN=ON			// 堆栈溢出复位
#pragma config LVP = OFF
//------------------------------------------------------------------------------	
#endif

⌨️ 快捷键说明

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