|
#pragma config <setting>=<named value>
|
|---|
For example:// Oscillator selection bits : EXTRC, clockout on OSC2 |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Oscillator selection bits : EXTRC, clockout on OSC2 |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// Oscillator selection bits : EXTRC, clockout on OSC2 |
For example:// IDLOC @ 0x2000 |
|
config "<setting>"="<named value>"
|
|---|
For example:; Oscillator selection bits : EXTRC, clockout on OSC2 |
|
config "<setting>"=<literal constant>
|
|---|
For example:; Oscillator selection bits : EXTRC, clockout on OSC2 |
|
config "<register>"=<literal constant>
|
|---|
For example:; Oscillator selection bits : EXTRC, clockout on OSC2 |
For example:; IDLOC @ 0x2000 |
|
Register: CONFIG1 @ 0x2007
|
|
|---|---|
| FOSC | Oscillator selection bits |
| EXTRCCLK | EXTRC, clockout on OSC2 |
| EXTRCIO | EXTRC, OSC2 is I/O |
| INTRCCLK | INTRC, clockout on OSC2 |
| INTRCIO | INTRC, OSC2 is I/O |
| EXTCLK | EC I/O |
| HS | HS oscillator |
| XT | XT oscillator |
| LP | LP oscillator |
| WDTE | Watchdog Timer Enable bit |
| ON | WDT enabled |
| OFF | WDT disabled |
| PWRTE | Power-up Timer Enable bit |
| OFF | PWRT disabled |
| ON | PWRT enabled |
| CP | Code Protection bits |
| OFF | Code protection off |
| 50 | 0400h-07FEh code protected |
| 75 | 0200h-07FEh code protected |
| ALL | All memory is code protected |
| MCLRE | Master Clear Enable |
| ON | External |
| OFF | Internal |
|
Register: IDLOC0 @ 0x2000
|
|---|
|
Register: IDLOC1 @ 0x2001
|
|---|
|
Register: IDLOC2 @ 0x2002
|
|---|
|
Register: IDLOC3 @ 0x2003
|
|---|