|
#pragma config <setting>=<named value>
|
|---|
For example:// Oscillator : EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Oscillator : EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// Oscillator : EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
For example:// IDLOC @ 0x440 |
|
config "<setting>"="<named value>"
|
|---|
For example:; Oscillator : EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
|
config "<setting>"=<literal constant>
|
|---|
For example:; Oscillator : EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
|
config "<register>"=<literal constant>
|
|---|
For example:; Oscillator : EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
For example:; IDLOC @ 0x440 |
|
Register: CONFIG @ 0xFFF
|
|
|---|---|
| FOSC | Oscillator |
| LP | LP oscillator and 18 ms DRT |
| XT | XT oscillator and 18 ms DRT |
| HS | HS oscillator and 18 ms DRT |
| EC | EC oscillator with RB4 function on RB4/OSC2/CLKOUT and 1 ms DRT |
| INTRC_RB4 | INTRC with RB4 function on RB4/OSC2/CLKOUT and 1 ms DRT |
| INTRC_CLKOUT | INTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
| ExtRC_RB4 | EXTRC with RB4 function on RB4/OSC2/CLKOUT and 1 ms DRT |
| ExtRC_CLKOUT | EXTRC with CLKOUT function on RB4/OSC2/CLKOUT and 1 ms DRT |
| WDTE | Watchdog Timer Enable bit |
| ON | Enabled |
| OFF | Disabled |
| CP | Code Protection bit |
| OFF | Code protection off |
| ON | Code protection on |
| MCLRE | Master Clear Enable bit |
| ON | RB3/MCLR functions as MCLR |
| OFF | RB3/MCLR functions as RB3, MCLR internally tied to Vdd |
| IOSCFS | Internal Oscillator Frequency Select |
| 8MHz | 8 MHz INTOSC Speed |
| 4MHz | 4 MHz INTOSC Speed |
| CPDF | Code Protection bit - Flash Data Memory |
| OFF | Code protection off |
| ON | Code protection on |
|
Register: IDLOC0 @ 0x440
|
|---|
|
Register: IDLOC1 @ 0x441
|
|---|
|
Register: IDLOC2 @ 0x442
|
|---|
|
Register: IDLOC3 @ 0x443
|
|---|