Aguijón Software Libraries  1.0
Documentation for the included Libraries
 All Files Functions Variables Typedefs Enumerations Enumerator Macros
realtime.h File Reference
#include "Rtcc.h"

Go to the source code of this file.

Macros

#define mRTCCInit()   RTCCInit()
 
#define mRTCCSet()   RTCCSet()
 
#define mRTCCOn()   RCFGCALbits.RTCEN = 1;
 
#define mRTCCOff()   RCFGCALbits.RTCEN = 0;
 
#define mRTCCUnlock()   RTCCUnlock();
 
#define mRTCCLock()   RCFGCALbits.RTCWREN = 0;
 

Functions

void initRTCC (void)
 

Macro Definition Documentation

#define mRTCCInit ( )    RTCCInit()

Definition at line 5 of file realtime.h.

#define mRTCCLock ( )    RCFGCALbits.RTCWREN = 0;

Definition at line 10 of file realtime.h.

#define mRTCCOff ( )    RCFGCALbits.RTCEN = 0;

Definition at line 8 of file realtime.h.

#define mRTCCOn ( )    RCFGCALbits.RTCEN = 1;

Definition at line 7 of file realtime.h.

#define mRTCCSet ( )    RTCCSet()

Definition at line 6 of file realtime.h.

#define mRTCCUnlock ( )    RTCCUnlock();

Definition at line 9 of file realtime.h.

Function Documentation

void initRTCC ( void  )

Function: RTCCInit

Preconditions: RTCCInit must be called before.

Overview: Enables the secondary oscillator for RTCC operation.

Arguments: None.

Returns: None.

Definition at line 154 of file realtime.c.