CONFIG

From MCS Wiki AVR
Jump to: navigation, search

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 EEPROM

NO

X

CONFIG ERROR

NO

 

CONFIG EVENT SYSTEM

YES

X

CONFIG EXTENDED PORT

NO

 

CONFIG GRAPHLCD

NO

 

CONFIG HITAG

NO

 

CONFIG I2CDELAY

NO

 

CONFIG I2CSLAVE

NO

 

CONFIG INPUT

NO

 

CONFIG INTx

YES

 

CONFIG KBD

NO

 

CONFIG KEYBOARD

NO

 

CONFIG LCD

NO

 

CONFIG LCDBUS

NO

 

CONFIG LCDMODE

NO

 

CONFIG LCDPIN

NO

 

CONFIG OSC

YES

X

CONFIG RC5

NO

 

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 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

NO

 

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

X

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.

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language