CONFIG OSC/de
Contents |
= (**COPIED FROM ENGLISH PAGE**) === Action
Select and enable the oscillators available to the Xmega
Syntax
CONFIG OSC=ENABLED|DISABLED , PLLOSC=ENABLED|DISABLED, EXTOSC=ENABLED|DISABLED,32KHZOSC=ENABLED|DISABLED, 32MHZOSC=ENABLED|DISABLED, RANGE=range, 32KHZPOWERMODE=powermode,STARTUP=startup
Remarks
OSC |
Use ENABLED to enable the internal 2 MHZ oscillator. This oscillator is enabled by default. Use DISABLED to disable the internal oscillator. |
PLLOSC |
Use ENABLED to enable the PLL oscillator. The oscillator is disabled by default. |
EXTOSC |
Use ENABLED to enable the external oscillator. The external oscillator is disabled by default. |
32KHZOSC |
Use ENABLED to enable the internal 32 KHz oscillator. This oscillator is disabled by default. |
32MHZOSC |
Use ENABLED to enable the internal 32 MHz oscillator. This oscillator is disabled by default. |
RANGE |
Specify the range of the external oscillator. - 400KHZ_2MHZ - 2MHZ_9MHZ - 9MHZ_12MHZ - 12MHZ_16MHZ This option is only needed when using the external oscillator. |
32KHZPOWERMODE |
Select the power mode of the 32 KHz interal oscillator. This can be NORMAL or LOW_POWER. The default is NORMAL |
STARTUP |
The startup time can be specified. Use a value of : - EXTCLK (6 CLK) - 32KHZ (for 16 CLK) - XTAL_256CLK (for 256 CLK) - XTAL_1KCLK (for 1K CLK) - XTAL_16CLK (for 16K CLK) |
See also
Example
Config Osc = Enabled , 32mhzosc = Enabled ' enable 2 MHz and 32 MHz interal oscillators
Languages | English • Deutsch |
---|