|
#pragma config <setting>=<named value>
|
|---|
For example:// Oscillator Select : EXTRC with 1.125 ms DRT |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Oscillator Select : EXTRC with 1.125 ms DRT |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// Oscillator Select : EXTRC with 1.125 ms DRT |
For example:// IDLOC @ 0x400 |
|
config "<setting>"="<named value>"
|
|---|
For example:; Oscillator Select : EXTRC with 1.125 ms DRT |
|
config "<setting>"=<literal constant>
|
|---|
For example:; Oscillator Select : EXTRC with 1.125 ms DRT |
|
config "<register>"=<literal constant>
|
|---|
For example:; Oscillator Select : EXTRC with 1.125 ms DRT |
For example:; IDLOC @ 0x400 |
|
Register: CONFIG @ 0xFFF
|
|
|---|---|
| OSC | Oscillator Select |
| ExtRC | EXTRC with 1.125 ms DRT |
| IntRC | INTOSC with 1.125 ms DRT |
| XT | XT oscillator with 18 ms DRT |
| LP | LP oscillator with 18 ms DRT |
| WDT | Watchdog Timer Enable bit |
| ON | WDT enabled |
| OFF | WDT disabled |
| CP | Code Protect |
| OFF | Code protection off |
| ON | Code protection on |
| MCLRE | Master Clear Enable bit |
| ON | GP3/MCLR Functions as MCLR |
| OFF | GP3/MCLR pin functions as GP3, MCLR internally tied to VDD |
| IOSCFS | Internal Oscillator Frequency Select bit |
| ON | 8 MHz INTOSC Speed |
| OFF | 4 MHz INTOSC Speed |
|
Register: IDLOC0 @ 0x400
|
|---|
|
Register: IDLOC1 @ 0x401
|
|---|
|
Register: IDLOC2 @ 0x402
|
|---|
|
Register: IDLOC3 @ 0x403
|
|---|