/** * \file * * * * \author Luca Ottaviano * * \brief AVR XMega initialization routine. * notest:all */ #include #include void __init(void) NAKED __attribute__ ((section (".init3"))); /* * Initialize all interrupt priorities present in AVR XMega CPU. */ void __init(void) { PMIC.CTRL |= PMIC_LOLVLEX_bm | PMIC_MEDLVLEX_bm | PMIC_HILVLEX_bm; }