|
#pragma config <setting>=<named value>
|
|---|
For example:// External Clock enable : CLEAR |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// External Clock enable : CLEAR |
|
Register: LOW
|
|
|---|---|
| EXTCLKEN | External Clock enable |
| SET | |
| CLEAR | |
| RSTDISBL | Disable external Reset |
| SET | |
| CLEAR | |
| BOOTRST | Select interrupt vector location |
| SET | |
| CLEAR | |
| EESAVE | Preserve EEPROM memory through the Chip Erase cycle |
| SET | |
| CLEAR | |
| WDTON | Watch-dog Timer always on |
| SET | |
| CLEAR | |
| SPIEN | Serial program downloading (SPI) enabled |
| SET | |
| CLEAR | |
| DWEN | Debug Wire enable |
| SET | |
| CLEAR | |
| CKDIV8 | Divide clock by 8 internally |
| SET | |
| CLEAR |
|
Register: LOCKBIT
|
|
|---|---|
| LB | Memory Lock |
| LB_PROG_VER_DISABLED | Further programming and verification disabled |
| LB_PROG_DISABLED | Further programming disabled |
| LB_NO_LOCK | No memory lock features enabled |
| AP | Application Protection |
| AP_LPM_AND_SPM_PROHIBITED_IN_APPLICATION_SECTION | LPM and SPM prohibited in Application Section |
| AP_LPM_PROHIBITED_IN_APPLICATION_SECTION | LPM prohibited in Application Section |
| AP_SPM_PROHIBITED_IN_APPLICATION_SECTION | SPM prohibited in Application Section |
| AP_NO_LOCK_ON_SPM_AND_LPM_IN_APPLICATION_SECTION | No lock on SPM and LPM in Application Section |
| BLP | Boot Loader Protection |
| BLP_LPM_AND_SPM_PROHIBITED_IN_BOOT_LOADER_SECTION | LPM and SPM prohibited in Boot Loader Section |
| BLP_LPM_PROHIBITED_IN_BOOT_LOADER_SECTION | LPM prohibited in Boot Loader Section |
| BLP_SPM_PROHIBITED_IN_BOOT_LOADER_SECTION | SPM prohibited in Boot Loader Section |
| BLP_NO_LOCK_ON_SPM_AND_LPM_IN_BOOT_LOADER_SECTION | No lock on SPM and LPM in Boot Loader Section |