|
#pragma config <setting>=<named value>
|
|---|
For example:// Oscillator : EXTRC with CLKOUT function on OSC2/CLKOUT |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Oscillator : EXTRC with CLKOUT function on OSC2/CLKOUT |
|
#pragma config <register>=<literal constant>
|
|---|
For example:// Oscillator : EXTRC with CLKOUT function on OSC2/CLKOUT |
For example:// IDLOC @ 0x840 |
|
config "<setting>"="<named value>"
|
|---|
For example:; Oscillator : EXTRC with CLKOUT function on OSC2/CLKOUT |
|
config "<setting>"=<literal constant>
|
|---|
For example:; Oscillator : EXTRC with CLKOUT function on OSC2/CLKOUT |
|
config "<register>"=<literal constant>
|
|---|
For example:; Oscillator : EXTRC with CLKOUT function on OSC2/CLKOUT |
For example:; IDLOC @ 0x840 |
|
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 I/O function on OSC2/CLKOUT |
| INTRC_IO | INTRC with I/O function on OSC2/CLKOUT |
| INTRC_CLKOUT | INTRC with CLKOUT function on OSC2/CLKOUT |
| EXTRC_IO | EXTRC with I/O function on OSC2/CLKOUT |
| EXTRC_CLKOUT | EXTRC with CLKOUT function on OSC2/CLKOUT |
| WDTE | Watchdog Timer Enable bit |
| ON | Enabled |
| OFF | Disabled |
| CP | Code Protection bit |
| OFF | Code protection off |
| ON | Code protection on |
| IOSCFS | Internal Oscillator Frequency Select |
| 8MHz | 8 MHz INTOSC Speed |
| 4MHz | 4 MHz INTOSC Speed |
| CPSW | Code Protection bit - Flash Data Memory |
| OFF | Code protection off |
| ON | Code protection on |
| BOREN | |
| ON | BOR Enabled |
| OFF | BOR Disabled |
| DRTEN | |
| ON | DRT Enabled |
| OFF | DRT Disabled |
|
Register: IDLOC0 @ 0x840
|
|---|
|
Register: IDLOC1 @ 0x841
|
|---|
|
Register: IDLOC2 @ 0x842
|
|---|
|
Register: IDLOC3 @ 0x843
|
|---|