|
#pragma config <setting>=<named value>
|
|---|
For example:// Select Clock Source : Int. RC Osc.; Start-up time: 6 CK + 65 ms |
|
#pragma config <setting>=<literal constant>
|
|---|
For example:// Select Clock Source : Int. RC Osc.; Start-up time: 6 CK + 65 ms |
|
Register: LOW
|
|
|---|---|
| SUT_CKSEL | Select Clock Source |
| SUT_CKSEL_EXTCLK_6CK_0MS | Ext. Clock; Start-up time: 6 CK + 0 ms |
| SUT_CKSEL_EXTCLK_6CK_4MS1 | Ext. Clock; Start-up time: 6 CK + 4.1 ms |
| SUT_CKSEL_EXTCLK_6CK_65MS | Ext. Clock; Start-up time: 6 CK + 65 ms |
| SUT_CKSEL_INTRCOSC_6CK_0MS | Int. RC Osc.; Start-up time: 6 CK + 0 ms |
| SUT_CKSEL_INTRCOSC_6CK_4MS1 | Int. RC Osc.; Start-up time: 6 CK + 4.1 ms |
| SUT_CKSEL_INTRCOSC_6CK_65MS | Int. RC Osc.; Start-up time: 6 CK + 65 ms |
| SUT_CKSEL_EXTLOFXTAL_32KCK_0MS_INTCAP | Ext. Low-Freq. Crystal; Start-up time: 32K CK + 0 ms; Int. Cap. |
| SUT_CKSEL_EXTLOFXTAL_32KCK_4MS1_INTCAP | Ext. Low-Freq. Crystal; Start-up time: 32K CK + 4.1 ms; Int. Cap. |
| SUT_CKSEL_EXTLOFXTAL_32KCK_65MS_INTCAP | Ext. Low-Freq. Crystal; Start-up time: 32K CK + 65 ms; Int. Cap. |
| SUT_CKSEL_EXTLOFXTAL_1KCK_0MS_INTCAP | Ext. Low-Freq. Crystal; Start-up time: 1K CK + 0 ms; Int. Cap. |
| SUT_CKSEL_EXTLOFXTAL_1KCK_4MS1_INTCAP | Ext. Low-Freq. Crystal; Start-up time: 1K CK + 4.1 ms; Int. Cap. |
| SUT_CKSEL_EXTLOFXTAL_1KCK_65MS_INTCAP | Ext. Low-Freq. Crystal; Start-up time: 1K CK + 65 ms; Int. Cap. |
| SUT_CKSEL_EXTLOFXTAL_32KCK_0MS | Ext. Low-Freq. Crystal; Start-up time: 32K CK + 0 ms |
| SUT_CKSEL_EXTLOFXTAL_32KCK_4MS1 | Ext. Low-Freq. Crystal; Start-up time: 32K CK + 4.1 ms |
| SUT_CKSEL_EXTLOFXTAL_32KCK_65MS | Ext. Low-Freq. Crystal; Start-up time: 32K CK + 65 ms |
| SUT_CKSEL_EXTLOFXTAL_1KCK_0MS | Ext. Low-Freq. Crystal; Start-up time: 1K CK + 0 ms |
| SUT_CKSEL_EXTLOFXTAL_1KCK_4MS1 | Ext. Low-Freq. Crystal; Start-up time: 1K CK + 4.1 ms |
| SUT_CKSEL_EXTLOFXTAL_1KCK_65MS | Ext. Low-Freq. Crystal; Start-up time: 1K CK + 65 ms |
| SUT_CKSEL_EXTXOSC_0MHZ4_0MHZ9_258CK_4MS1 | Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time: 258 CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_0MHZ4_0MHZ9_258CK_65MS | Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time: 258 CK + 65 ms |
| SUT_CKSEL_EXTXOSC_0MHZ4_0MHZ9_1KCK_0MS | Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time: 1K CK + 0 ms |
| SUT_CKSEL_EXTXOSC_0MHZ4_0MHZ9_1KCK_4MS1 | Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time: 1K CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_0MHZ4_0MHZ9_1KCK_65MS | Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time: 1K CK + 65 ms |
| SUT_CKSEL_EXTXOSC_0MHZ9_3MHZ_258CK_4MS1 | Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time: 258 CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_0MHZ9_3MHZ_258CK_65MS | Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time: 258 CK + 65 ms |
| SUT_CKSEL_EXTXOSC_0MHZ9_3MHZ_1KCK_0MS | Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time: 1K CK + 0 ms |
| SUT_CKSEL_EXTXOSC_0MHZ9_3MHZ_1KCK_4MS1 | Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time: 1K CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_0MHZ9_3MHZ_1KCK_65MS | Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time: 1K CK + 65 ms |
| SUT_CKSEL_EXTXOSC_3MHZ_8MHZ_258CK_4MS1 | Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time: 258 CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_3MHZ_8MHZ_258CK_65MS | Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time: 258 CK + 65 ms |
| SUT_CKSEL_EXTXOSC_3MHZ_8MHZ_1KCK_0MS | Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time: 1K CK + 0 ms |
| SUT_CKSEL_EXTXOSC_3MHZ_8MHZ_1KCK_4MS1 | Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time: 1K CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_3MHZ_8MHZ_1KCK_65MS | Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time: 1K CK + 65 ms |
| SUT_CKSEL_EXTXOSC_8MHZ_16MHZ_258CK_4MS1 | Ext. Crystal Osc. 8.0-16.0 MHz; Start-up time: 258 CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_8MHZ_16MHZ_258CK_65MS | Ext. Crystal Osc. 8.0-16.0 MHz; Start-up time: 258 CK + 65 ms |
| SUT_CKSEL_EXTXOSC_8MHZ_16MHZ_1KCK_0MS | Ext. Crystal Osc. 8.0-16.0 MHz; Start-up time: 1K CK + 0 ms |
| SUT_CKSEL_EXTXOSC_8MHZ_16MHZ_1KCK_4MS1 | Ext. Crystal Osc. 8.0-16.0 MHz; Start-up time: 1K CK + 4.1 ms |
| SUT_CKSEL_EXTXOSC_8MHZ_16MHZ_1KCK_65MS | Ext. Crystal Osc. 8.0-16.0 MHz; Start-up time: 1K CK + 65 ms |
| CKOUT | Clock output on PORTC7; [CKOUT=0] |
| SET | |
| CLEAR | |
| CKDIV8 | Divide clock by 8 internally; [CKDIV8=0] |
| SET | |
| CLEAR |
|
Register: HIGH
|
|
|---|---|
| BOOTRST | Boot Reset vector Enabled |
| SET | |
| CLEAR | |
| BOOTSZ | Select Boot Size |
| BOOTSZ_512W_3E00 | Boot Flash size=512 words start address=$3E00 |
| BOOTSZ_1024W_3C00 | Boot Flash size=1024 words start address=$3C00 |
| BOOTSZ_2048W_3800 | Boot Flash size=2048 words start address=$3800 |
| BOOTSZ_4096W_3000 | Boot Flash size=4096 words start address=$3000 |
| EESAVE | Preserve EEPROM through the Chip Erase cycle |
| SET | |
| CLEAR | |
| WDTON | Watchdog timer always on |
| SET | |
| CLEAR | |
| SPIEN | Serial program downloading (SPI) enabled |
| SET | |
| CLEAR | |
| JTAGEN | JTAG Interface Enabled |
| SET | |
| CLEAR | |
| OCDEN | On-Chip Debug Enabled |
| SET | |
| CLEAR |
|
Register: EXTENDED
|
|
|---|---|
| TA0SEL | Reserved for factory tests |
| SET | |
| CLEAR | |
| BODLEVEL | Brown-out Detector trigger level |
| BODLEVEL_DISABLED | Brown-out detection disabled |
| BODLEVEL_4V1 | Brown-out detection at VCC=4.1 V |
| BODLEVEL_4V0 | Brown-out detection at VCC=4.0 V |
| BODLEVEL_3V9 | Brown-out detection at VCC=3.9 V |
| BODLEVEL_3V8 | Brown-out detection at VCC=3.8 V |
| BODLEVEL_2V7 | Brown-out detection at VCC=2.7 V |
| BODLEVEL_2V6 | Brown-out detection at VCC=2.6 V |
| BODLEVEL_2V5 | Brown-out detection at VCC=2.5 V |
|
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 |