Aguijón Software Libraries  1.0
Documentation for the included Libraries
 All Files Functions Variables Typedefs Enumerations Enumerator Macros
realtime.h
Go to the documentation of this file.
1 //realtime.h
2 #include "Rtcc.h"
3 
4 // Macros to initiate and set RTCC
5 #define mRTCCInit() RTCCInit()
6 #define mRTCCSet() RTCCSet()
7 #define mRTCCOn() RCFGCALbits.RTCEN = 1;
8 #define mRTCCOff() RCFGCALbits.RTCEN = 0;
9 #define mRTCCUnlock() RTCCUnlock();
10 #define mRTCCLock() RCFGCALbits.RTCWREN = 0;
11 
12 void initRTCC(void);