📄 cpuset.c
字号:
//--------------------------Device Configuration------------------------
/* Configuration Bit Settings */
//???中问.
#pragma config FOSC = HSPLL //Oscillator Selection bits
#pragma config FCMEN = ON //Fail-Safe Clock Monitor Enable bit:
#pragma config IESO = ON //Internal/External Oscillator Switchover bit
#pragma config PWRT = OFF// ON //Power-up Timer Enable bit
#pragma config BOREN =OFF //SBORDIS //SBORDIS //Brown-out Reset Enable bits:
#pragma config BORV = 27 //Brown Out Voltage
#pragma config WDTEN= ON //Watchdog Timer Enable bit
#pragma config WDTPS = 16 //Watchdog Timer Enable bit
#pragma config MCLRE = ON//OFF//ON //OFF// //MCLR Pin Enable bit
#pragma config HFOFST = ON// OFF//ON //HF-INTOSC Fast Startup
#pragma config LPT1OSC =OFF //Low-Power Timer1 Oscillator Enable bit
#pragma config PBADEN = OFF//ON //PORTB A/D Enable bit
#pragma config CCP2MX = PORTC //CCP2 Mux bit
#pragma config STVREN = ON //Stack Full/Underflow Reset Enable bit
#pragma config LVP = OFF //Single-Supply ICSP Enable bit
#pragma config XINST = OFF //Extended Instruction Set Enable bit
#pragma config DEBUG = ON//OFF //Background Debugger Enable bit
#pragma config CP0 = ON
#pragma config CP1 = ON
#pragma config CPB = ON
#pragma config CPD = OFF
#pragma config WRT0 = ON
#pragma config WRT1 = ON
#pragma config WRTB = ON
#pragma config WRTC = ON
#pragma config WRTD = OFF
#pragma config EBTR0 = ON
#pragma config EBTR1= ON
#pragma config EBTRB= ON
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -