Xmega Application Note


pmic_driver.c

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00060 #include "pmic_driver.h"
00061 
00062 
00063 
00071 void PMIC_SetVectorLocationToBoot( void )
00072 {
00073         uint8_t temp = PMIC.CTRL | PMIC_IVSEL_bm;
00074         CCP = CCP_IOREG_gc;
00075         PMIC.CTRL = temp;
00076 }
00077 
00078 
00086 void PMIC_SetVectorLocationToApplication( void )
00087 {
00088         uint8_t temp = PMIC.CTRL & ~PMIC_IVSEL_bm;
00089         CCP = CCP_IOREG_gc;
00090         PMIC.CTRL = temp;
00091 }
@DOC_TITLE@
Generated on Wed Apr 23 07:41:39 2008 for AVR1305 XMEGA Interrupts and the Programmable Multi-level Interrupt Controller by doxygen 1.5.5