|
#pragma config <setting>=<named value>
|
|---|
For example:// Oscillator Selection bits : EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Oscillator Selection bits : EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// Oscillator Selection bits : EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
For example:// IDLOC @ 0x2000 |
|
config "<setting>"="<named value>"
|
|---|
For example:; Oscillator Selection bits : EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
|
config "<setting>"=<literal constant>
|
|---|
For example:; Oscillator Selection bits : EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
|
config "<register>"=<literal constant>
|
|---|
For example:; Oscillator Selection bits : EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
For example:; IDLOC @ 0x2000 |
|
Register: CONFIG @ 0x2007
|
|
|---|---|
| FOSC | Oscillator Selection bits |
| EXTRCCLK | EXTRC oscillator: External RC on RA5/OSC1/CLKIN, CLKOUT function on RA4/OSC2/CLKOUT pin |
| EXTRCIO | EXTRCIO oscillator: External RC on RA5/OSC1/CLKIN, I/O function on RA4/OSC2/CLKOUT pin |
| INTOSCCLK | INTOSC oscillator: CLKOUT function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN |
| INTOSCIO | INTOSCIO oscillator: I/O function on RA4/OSC2/CLKOUT pin, I/O function on RA5/OSC1/CLKIN |
| EC | EC: I/O function on RA4/OSC2/CLKOUT pin, CLKIN on RA5/OSC1/CLKIN |
| HS | HS oscillator: High-speed crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN |
| XT | XT oscillator: Crystal/resonator on RA4/OSC2/CLKOUT and RA5/OSC1/CLKINT |
| LP | LP oscillator: Low-power crystal on RA4/OSC2/CLKOUT and RA5/OSC1/CLKIN |
| WDTE | Watchdog Timer Enable bit |
| ON | WDT enabled |
| OFF | WDT disabled |
| PWRTE | Power-up Timer Enable bit |
| OFF | PWRT disabled |
| ON | PWRT enabled |
| MCLRE | MCLR Pin Function Select bit |
| ON | MCLR pin function is MCLR |
| OFF | MCLR pin function is digital input, MCLR internally tied to VDD |
| CP | Code Protection bit |
| OFF | Program memory code protection is disabled |
| ON | Program memory code protection is enabled |
| CPD | Data Code Protection bit |
| OFF | Data memory code protection is disabled |
| ON | Data memory code protection is enabled |
| BOREN | Brown Out Detect |
| ON | BOR enabled |
| NSLEEP | BOR enabled during operation and disabled in Sleep |
| SBODEN | BOR controlled by SBOREN bit of the PCON register |
| OFF | BOR disabled |
| IESO | Internal External Switchover bit |
| ON | Internal External Switchover mode is enabled |
| OFF | Internal External Switchover mode is disabled |
| FCMEN | Fail-Safe Clock Monitor Enabled bit |
| ON | Fail-Safe Clock Monitor is enabled |
| OFF | Fail-Safe Clock Monitor is disabled |
|
Register: IDLOC0 @ 0x2000
|
|---|
|
Register: IDLOC1 @ 0x2001
|
|---|
|
Register: IDLOC2 @ 0x2002
|
|---|
|
Register: IDLOC3 @ 0x2003
|
|---|