CONFIG

CONFIG

Top  Previous  Next

The CONFIG statement is used to configure the various hardware devices.

 

DIRECTIVE

RE-USABLE

XMEGA

ONLY

CONFIG 1WIRE

NO

 

CONFIG ACXX

YES

X

CONFIG ACI

YES

 

CONFIG ADC

NO

 

CONFIG ADCx

YES

X

CONFIG ATEMU

NO

 

CONFIG BASE

NO

 

CONFIG BCCARD

NO

 

CONFIG CANBUS

YES

 

CONFIG CANMOB

YES

 

CONFIG CLOCK

NO

 

CONFIG CLOCKDIV

YES

 

CONFIG COM1

YES

 

CONFIG COM2 also
COM3 - COM8

YES

 

CONFIG DAC

YES

X

CONFIG DATE

NO

 

CONFIG DCF77

NO

 

CONFIG DEBOUNCE

NO

 

CONFIG DMA

YES

X

CONFIG DMACHx

YES

X

CONFIG DMXSLAVE

NO

 

CONFIG DP

NO

 

CONFIG EDMA


x

CONFIG EDMAx


x

CONFIG EEPROM

NO

X

CONFIG ERROR

NO

 

CONFIG EVENT_SYSTEM

YES

X

CONFIG EXTENDED_PORT

NO

 

CONFIG FT800 2080 UPDATED

NO

 

CONFIG GRAPHLCD

NO

 

CONFIG HITAG

NO

 

CONFIG I2CBUS

YES

 

CONFIG I2CDELAY

NO

 

CONFIG I2CSLAVE

NO

 

CONFIG INPUT

NO

 

CONFIG INPUTBIN 2080 NEW

NO

 

CONFIG INTx

YES

 

CONFIG INTVECTORSELECTION

YES

 

CONFIG KBD

NO

 

CONFIG KEYBOARD

NO

 

CONFIG LCD

NO

 

CONFIG LCDBUS

NO

 

CONFIG LCDMODE

NO

 

CONFIG LCDPIN

NO

 

CONFIG OSC

YES

X

CONFIG PORT

YES

 

CONFIG POWERMODE

YES

 

CONFIG POWER_REDUCTION

NO

X

CONFIG PRIORITY

YES

X

CONFIG PRINT

NO

 

CONFIG PRINTBIN

NO

 

CONFIG PS2EMU

NO

 

CONFIG RAINBOW 2079 NEW

NO

 

CONFIG RC5

NO

 

CONFIG RND

NO

 

CONFIG SERIALIN

NO

 

CONFIG SERIALIN1

NO

 

CONFIG SERIALIN2

NO

 

CONFIG SERIALIN3

NO

 

CONFIG SERIALOUT

NO

 

CONFIG SERIALOUT1

NO

 

CONFIG SERIALOUT2

NO

 

CONFIG SERIALOUT3

NO

 

CONFIG SERVOS

NO

 

CONFIG SHIFTIN

NO

 

CONFIG SINGLE

YES

 

CONFIG SDA

NO

 

CONFIG SCL

NO

 

CONFIG SPI

NO

 

CONFIG SPIx

YES

X

CONFIG SUBMODE

NO

 

CONFIG SYSCLOCK

YES

X

CONFIG TCXX

YES

X

CONFIG TCPIP

NO

 

CONFIG TWI

YES

 

CONFIG TWISLAVE

NO

 

CONFIG TWIxSLAVE

NO

x

CONFIG TIMER0

YES

 

CONFIG TIMER1

YES

 

CONFIG TIMER2 and 3

YES

 

CONFIG USB

NO

 

CONFIG USI

NO

 

CONFIG VPORT

YES

X

CONFIG WATCHDOG

YES

 

CONFIG WAITSUART

NO

 

CONFIG X10

NO

 

CONFIG XPIN

YES

 

CONFIG XRAM

YES

 

 

Some CONFIG directives are intended to be used once. Others can be used multiple times. For example you can specify that a port must be set to input after you have specified that it is used as an input.

 

You cannot change the LCD pins during run time. In that case the last specification will be used or an error message will be displayed.

 

Some Configuration commands are only available to the Xmega. An X in the 'Xmega Only' indicates that the command can only be used for an Xmega processor.