|
#pragma config <setting>=<named value>
|
|---|
For example:// Oscillator Selection : EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Oscillator Selection : EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// Oscillator Selection : EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
For example:// IDLOC @ 0x440 |
|
config "<setting>"="<named value>"
|
|---|
For example:; Oscillator Selection : EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
|
config "<setting>"=<literal constant>
|
|---|
For example:; Oscillator Selection : EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
|
config "<register>"=<literal constant>
|
|---|
For example:; Oscillator Selection : EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
For example:; IDLOC @ 0x440 |
|
Register: CONFIG @ 0xFFF
|
|
|---|---|
| FOSC | Oscillator Selection |
| LP | LP oscillator and automatic 18 ms DRT (DRTEN ignored) |
| XT | XT oscillator and automatic 18 ms DRT (DRTEN ignored) |
| HS | HS oscillator and automatic 18 ms DRT (DRTEN ignored) |
| EC | EC oscillator with I/O function on OSC2/CLKOUT and 10 us startup time |
| INTRC_IO | INTRC with I/O function on OSC2/CLKOUT and 10 us startup time |
| INTRC_CLKOUT | INTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
| EXTRC_IO | EXTRC with I/O function on OSC2/CLKOUT and 10 us startup time |
| EXTRC_CLKOUT | EXTRC with CLKOUT function on OSC2/CLKOUT and 10 us startup time |
| WDTE | Watchdog Timer Enable |
| ON | WDT Enabled |
| OFF | WDT Disabled |
| CP | Code Protection - User Program Memory |
| OFF | Code protection off |
| ON | Code protection on |
| MCLRE | Master Clear Enable |
| ON | MCLR pin functions as MCLR |
| OFF | MCLR pin functions as I/O, MCLR internally tied to Vdd |
| IOSCFS | Internal Oscillator Frequency Select |
| 8MHz | 8 MHz INTOSC Speed |
| 4MHz | 4 MHz INTOSC Speed |
| CPSW | Code Protection - Self Writable Memory |
| OFF | Code protection off |
| ON | Code protection on |
| BOREN | Brown-out Reset Enable |
| ON | BOR Enabled |
| OFF | BOR Disabled |
| DRTEN | Device Reset Timer Enable |
| ON | DRT Enabled (18 ms) |
| OFF | DRT Disabled |
|
Register: IDLOC0 @ 0x440
|
|---|
|
Register: IDLOC1 @ 0x441
|
|---|
|
Register: IDLOC2 @ 0x442
|
|---|
|
Register: IDLOC3 @ 0x443
|
|---|