init_xmega.c

Go to the documentation of this file.
00001 
00039 #include <cfg/macros.h>
00040 #include <avr/io.h>
00041 
00042 void __init(void) NAKED __attribute__ ((section (".init3")));
00043 
00044 /*
00045  * Initialize all interrupt priorities present in AVR XMega CPU.
00046  */
00047 void __init(void)
00048 {
00049     PMIC.CTRL |= PMIC_LOLVLEX_bm | PMIC_MEDLVLEX_bm | PMIC_HILVLEX_bm;
00050 }