|
#pragma config <setting>=<named value>
|
|---|
For example:// Select Clock Source : Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Select Clock Source : Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
|
Register: LOW
|
|
|---|---|
| SUT_CKSEL | Select Clock Source |
| SUT_CKSEL_EXTCLK_6CK_14CK_0MS | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 0 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_0MS | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 0 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_4MS1 | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 4.1 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_4MS1 | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 4.1 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_65MS | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_65MS | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_65MS | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_EXTCLK_6CK_14CK_65MS | Ext. Clock; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_INTRCOSC_8MHZ_6CK_14CK_0MS | Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 0 ms |
| SUT_CKSEL_INTRCOSC_8MHZ_6CK_14CK_4MS1 | Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 4.1 ms |
| SUT_CKSEL_INTRCOSC_8MHZ_6CK_14CK_65MS | Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_INTRCOSC_8MHZ_6CK_14CK_65MS | Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_INTULPOSC_32KHZ_6CK_14CK_0MS | Int. ULP Osc. 32kHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 0 ms |
| SUT_CKSEL_INTULPOSC_32KHZ_6CK_14CK_4MS1 | Int. ULP Osc. 32kHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 4.1 ms |
| SUT_CKSEL_INTULPOSC_32KHZ_6CK_14CK_65MS | Int. ULP Osc. 32kHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| SUT_CKSEL_INTULPOSC_32KHZ_6CK_14CK_65MS | Int. ULP Osc. 32kHz; Start-up time PWRDWN/RESET: 6 + 14 CK + 65 ms |
| CKOUT | Clock output on PORTB0 |
| SET | |
| CLEAR | |
| CKDIV8 | Divide clock by 8 internally |
| SET | |
| CLEAR |
|
Register: HIGH
|
|
|---|---|
| BODLEVEL | Brown-out Detector trigger level |
| BODLEVEL_DISABLED | Brown-out detection disabled |
| BODLEVEL_4V3 | Brown-out detection at VCC=4.3 V |
| BODLEVEL_2V7 | Brown-out detection at VCC=2.7 V |
| BODLEVEL_1V8 | Brown-out detection at VCC=1.8 V |
| EESAVE | Preserve EEPROM 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 | |
| RSTDISBL | Reset Disabled (Enable PC6 as i/o pin)] |
| SET | |
| CLEAR |
|
Register: EXTENDED
|
|
|---|---|
| BOOTRST | Boot Reset vector Enabled |
| SET | |
| CLEAR | |
| BOOTSZ | Select boot size |
| BOOTSZ_128W_0F80 | Boot Flash size=128 words Boot address=$0F80 |
| BOOTSZ_256W_0F00 | Boot Flash size=256 words Boot address=$0F00 |
| BOOTSZ_512W_0E00 | Boot Flash size=512 words Boot address=$0E00 |
| BOOTSZ_1024W_0C00 | Boot Flash size=1024 words Boot address=$0C00 |
| BODACT | BOD mode of operation when the device is active or idle |
| BODACT_BOD_SAMPLED | Sampled |
| BODACT_BOD_ENABLED | Enabled |
| BODACT_BOD_DISABLED | Disabled |
| BODPD | BOD mode of operation when the device is in sleep mode |
| BODPD_BOD_SAMPLED | Sampled |
| BODPD_BOD_ENABLED | Enabled |
| BODPD_BOD_DISABLED | Disabled |
|
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 |
| BLB0 | Boot Loader Protection Mode |
| BLB0_LPM_SPM_DISABLE | LPM and SPM prohibited in Application Section |
| BLB0_LPM_DISABLE | LPM prohibited in Application Section |
| BLB0_SPM_DISABLE | SPM prohibited in Application Section |
| BLB0_NO_LOCK | No lock on SPM and LPM in Application Section |
| BLB1 | Boot Loader Protection Mode |
| BLB1_LPM_SPM_DISABLE | LPM and SPM prohibited in Boot Section |
| BLB1_LPM_DISABLE | LPM prohibited in Boot Section |
| BLB1_SPM_DISABLE | SPM prohibited in Boot Section |
| BLB1_NO_LOCK | No lock on SPM and LPM in Boot Section |