|
#pragma config <setting>=<named value>
|
|---|
For example:// FOSC: Oscillator Selection bit : EC oscillator mode. CLKIN function on RA5/CLKIN |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// FOSC: Oscillator Selection bit : EC oscillator mode. CLKIN function on RA5/CLKIN |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// FOSC: Oscillator Selection bit : EC oscillator mode. CLKIN function on RA5/CLKIN |
For example:// IDLOC @ 0x2000 |
|
config "<setting>"="<named value>"
|
|---|
For example:; FOSC: Oscillator Selection bit : EC oscillator mode. CLKIN function on RA5/CLKIN |
|
config "<setting>"=<literal constant>
|
|---|
For example:; FOSC: Oscillator Selection bit : EC oscillator mode. CLKIN function on RA5/CLKIN |
|
config "<register>"=<literal constant>
|
|---|
For example:; FOSC: Oscillator Selection bit : EC oscillator mode. CLKIN function on RA5/CLKIN |
For example:; IDLOC @ 0x2000 |
|
Register: CONFIG @ 0x2007
|
|
|---|---|
| FOSC0 | FOSC: Oscillator Selection bit |
| EC | EC oscillator mode. CLKIN function on RA5/CLKIN |
| INT | Internal oscillator mode. I/O function on RA5/CLKIN |
| WDTE | Watchdog Timer Enable bit |
| ON | Watchdog Timer enabled |
| OFF | Watchdog Timer disabled |
| PWRTE | Power-up Timer Enable bit |
| OFF | Power-up Timer disabled |
| ON | Power-up Timer enabled |
| MCLRE | MCLR/VPP Pin Function Select bit |
| ON | MCLR pin is MCLR function with internal weak pullup |
| OFF | MCLR pin is alternate function |
| CP | Code Protection bit |
| OFF | Program memory code protection is disabled |
| ON | Program memory code protection is enabled |
| BOREN | Brown-out Reset Enable bits |
| EN | BOR enabled |
| SLEEP_DIS | BOR enabled during operation and disabled in Sleep |
| DIS | BOR disabled |
| WRT | Flash Program Memory Self Write Enable bit |
| OFF | Flash self-write protection off |
| FOURTH | 000h to 0FFh self-write protected |
| HALF | 000h to 1FFh self-write protected |
| ALL | 000h to 3FFh self-write protected |
| CLKOUTEN | Clock Out Enable bit |
| OFF | CLKOUT function disabled. CLKOUT pin acts as I/O |
| ON | CLKOUT function enabled. CLKOUT pin is CLKOUT |
|
Register: IDLOC0 @ 0x2000
|
|---|
|
Register: IDLOC1 @ 0x2001
|
|---|
|
Register: IDLOC2 @ 0x2002
|
|---|
|
Register: IDLOC3 @ 0x2003
|
|---|