ATXMEGA16C4 Support Information

#pragma config Usage

#pragma config <setting>=<named value>
For example:
// Watchdog Timeout Period : 8 cycles (8ms @ 3.3V)
// Watchdog Window Timeout Period : 8 cycles (8ms @ 3.3V)
#pragma config WDPER = WDPER_8CLK, WDWPER = WDWPER_8CLK
#pragma config <setting>=<literal constant>
For example:
// Watchdog Timeout Period : 8 cycles (8ms @ 3.3V)
// Watchdog Window Timeout Period : 8 cycles (8ms @ 3.3V)
#pragma config WDPER = 0x0, WDWPER = 0x0

#pragma config Settings

Register: FUSEBYTE1
WDPER Watchdog Timeout Period
WDPER_8CLK 8 cycles (8ms @ 3.3V)
WDPER_16CLK 16 cycles (16ms @ 3.3V)
WDPER_32CLK 32 cycles (32ms @ 3.3V)
WDPER_64CLK 64 cycles (64ms @ 3.3V)
WDPER_128CLK 128 cycles (0.125s @ 3.3V)
WDPER_256CLK 256 cycles (0.25s @ 3.3V)
WDPER_512CLK 512 cycles (0.5s @ 3.3V)
WDPER_1KCLK 1K cycles (1s @ 3.3V)
WDPER_2KCLK 2K cycles (2s @ 3.3V)
WDPER_4KCLK 4K cycles (4s @ 3.3V)
WDPER_8KCLK 8K cycles (8s @ 3.3V)
WDWPER Watchdog Window Timeout Period
WDWPER_8CLK 8 cycles (8ms @ 3.3V)
WDWPER_16CLK 16 cycles (16ms @ 3.3V)
WDWPER_32CLK 32 cycles (32ms @ 3.3V)
WDWPER_64CLK 64 cycles (64ms @ 3.3V)
WDWPER_128CLK 128 cycles (0.125s @ 3.3V)
WDWPER_256CLK 256 cycles (0.25s @ 3.3V)
WDWPER_512CLK 512 cycles (0.5s @ 3.3V)
WDWPER_1KCLK 1K cycles (1s @ 3.3V)
WDWPER_2KCLK 2K cycles (2s @ 3.3V)
WDWPER_4KCLK 4K cycles (4s @ 3.3V)
WDWPER_8KCLK 8K cycles (8s @ 3.3V)
Register: FUSEBYTE2
BODPD BOD Operation in Power-Down Mode
BODPD_SAMPLED BOD enabled in sampled mode
BODPD_CONTINUOUS BOD enabled continuously
BODPD_DISABLED BOD Disabled
TOSCSEL Timer Oscillator pin location
TOSCSEL_ALTERNATE TOSC1 / TOSC2 on separate pins
TOSCSEL_XTAL TOSC1 / TOSC2 shared with XTAL1 / XTAL2
BOOTRST Boot Loader Section Reset Vector
BOOTRST_BOOTLDR Boot Loader Reset
BOOTRST_APPLICATION Application Reset
Register: FUSEBYTE4
WDLOCK Watchdog Timer Lock
SET
CLEAR
STARTUPTIME Start-up Time
STARTUPTIME_0MS 0 ms
STARTUPTIME_4MS 4 ms
STARTUPTIME_64MS 64 ms
RSTDISBL External Reset Disable
SET
CLEAR
Register: FUSEBYTE5
BODLEVEL Brownout Detection Voltage Level
BODLEVEL_1V6 1.6 V
BODLEVEL_1V8 1.8 V
BODLEVEL_2V0 2.0 V
BODLEVEL_2V2 2.2 V
BODLEVEL_2V4 2.4 V
BODLEVEL_2V6 2.6 V
BODLEVEL_2V8 2.8 V
BODLEVEL_3V0 3.0 V
EESAVE Preserve EEPROM Through Chip Erase
SET
CLEAR
BODACT BOD Operation in Active Mode
BODACT_SAMPLED BOD enabled in sampled mode
BODACT_CONTINUOUS BOD enabled continuously
BODACT_DISABLED BOD Disabled
Register: LOCKBITS
LB Lock Bits
LB_RWLOCK Read and write not allowed
LB_WLOCK Write not allowed
LB_NOLOCK No locks
BLBAT Boot Lock Bits - Application Table
BLBAT_RWLOCK Read and write not allowed
BLBAT_RLOCK Read not allowed
BLBAT_WLOCK Write not allowed
BLBAT_NOLOCK No locks
BLBA Boot Lock Bits - Application Section
BLBA_RWLOCK Read and write not allowed
BLBA_RLOCK Read not allowed
BLBA_WLOCK Write not allowed
BLBA_NOLOCK No locks
BLBB Boot Lock Bits - Boot Section
BLBB_RWLOCK Read and write not allowed
BLBB_RLOCK Read not allowed
BLBB_WLOCK Write not allowed
BLBB_NOLOCK No locks