Xmega Application Note


vbat.h

Go to the documentation of this file.
00001 /*   This file is prepared for Doxygen automatic documentation generation   */
00052 #ifndef VBAT_H_INCLUDED
00053 #define VBAT_H_INCLUDED
00054 
00056 
00057 
00063 #define VBAT_STATUS_OK          0
00064 
00071 #define VBAT_STATUS_NO_POWER    1
00072 
00080 #define VBAT_STATUS_INIT        2
00081 
00087 #define VBAT_STATUS_BBPOR       3
00088 
00094 #define VBAT_STATUS_BBBOD       4
00095 
00101 #define VBAT_STATUS_XOSCFAIL    5
00102 
00103 
00111 extern uint8_t vbat_system_check(bool first_time_init);
00112 
00118 extern void vbat_reset(void);
00119 
00126 extern void vbat_enable_xosc(bool use1khz);
00127 
00128 #endif /* VBAT_H_INCLUDED */
@DOC_TITLE@
Generated on Thu Jun 24 16:35:07 2010 for AVR1321: Using the XMEGA 32bit RTC by doxygen 1.6.1