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