rtcdrv.h

Go to the documentation of this file.
00001 /***************************************************************************/
00017 #ifndef __RTCDRV_H
00018 #define __RTCDRV_H
00019 
00020 #include "em_device.h"
00021 #include "em_cmu.h"
00022 
00023 /***************************************************************************/
00028 /***************************************************************************/
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 void RTCDRV_Delay(uint32_t msec, bool useEM2);
00038 void RTCDRV_Trigger(uint32_t msec, void (*cb)(void));
00039 void RTCDRV_Setup(CMU_Select_TypeDef lfaClockSrc, CMU_ClkDiv_TypeDef rtcPrescale);
00040 
00041 #ifdef __cplusplus
00042 }
00043 #endif
00044 
00048 #endif