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