CONFIG
The CONFIG statement is used to configure the various hardware devices.
DIRECTIVE |
RE-USABLE |
XMEGA ONLY |
NO |
| |
YES |
X | |
YES |
| |
NO |
| |
YES |
X | |
NO |
| |
NO |
| |
NO |
| |
YES |
| |
YES |
| |
NO |
| |
YES |
| |
YES |
| |
CONFIG COM2 also |
YES |
|
YES |
X | |
NO |
| |
NO |
| |
NO |
| |
YES |
X | |
YES |
X | |
NO |
| |
NO |
| |
NO |
X | |
NO |
| |
YES |
X | |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
YES |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
YES |
X | |
NO |
| |
YES |
| |
YES |
| |
NO |
X | |
YES |
X | |
NO |
| |
NO |
| |
NO |
| |
CONFIG RAINBOW | NO | |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
NO |
| |
YES |
X | |
NO |
| |
YES |
X | |
YES |
X | |
NO |
| |
YES |
| |
NO |
| |
CONFIG TWIxSLAVE | NO | X |
YES |
| |
YES |
| |
YES |
| |
NO |
| |
CONFIG USI | NO | |
YES |
X | |
YES |
| |
NO |
| |
NO |
| |
YES |
X | |
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 |
---|