rtcdrv.h
Go to the documentation of this file.00001
00035 #ifndef __RTCDRV_H
00036 #define __RTCDRV_H
00037
00038 #include "em_device.h"
00039 #include "em_cmu.h"
00040
00041
00046
00051 #ifdef __cplusplus
00052 extern "C" {
00053 #endif
00054
00055 void RTCDRV_Delay(uint32_t msec, bool useEM2);
00056 void RTCDRV_Trigger(uint32_t msec, void (*cb)(void));
00057 void RTCDRV_Setup(CMU_Select_TypeDef lfaClockSrc, CMU_ClkDiv_TypeDef rtcPrescale);
00058
00059 #ifdef __cplusplus
00060 }
00061 #endif
00062
00066 #endif