[ISE] PIC18fxx 配置位警告问题

[复制链接]
 楼主| jiafei123 发表于 2013-10-13 08:29 | 显示全部楼层 |阅读模式

根据Mplab Ide   help中的 PIC18ConfigSet 写配置位
#include<pic18f46k20.h>
// Config Register: CONFIG1H
#pragma config FOSC = HSPLL                //HS oscillator, PLL enabled (Clock Frequency = 4 x FOSC1)
#pragma config FCMEN = OFF                // Fail-Safe Clock Monitor disabled
#pragma config IESO = OFF                //Oscillator Switchover mode disabled

// Config Register: CONFIG2L
#pragma config PWRT = OFF                //PWRT disabled 上电延时禁止
#pragma config BOREN = OFF                // Brown-out Reset disabled in hardware and software
。。。。。。。。。
有很多Warning [335] E:my_pic18f\\main.c; 5.1 unknown pragma "config" 类似警告,求好心人帮忙。求助:PIC18fxx 配置位警告问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

17

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部