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

Go to the source code of this file.

Functions

void RTCCUnlock (void)
 
void RTCCSet (void)
 
void AlarmSet (void)
 
void initRTCC (void)
 

Function Documentation

void AlarmSet ( void  )

Function: AlarmSet

Preconditions: None.

Overview: The function sets the alarm.

Arguments: None.

Returns: None.

Definition at line 107 of file realtime.c.

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.

void RTCCSet ( void  )

Function: RTCCSet

Preconditions: None.

Overview: This function sets the time, date, day of week and year.

Arguments: None.

Returns: None.

Definition at line 56 of file realtime.c.

void RTCCUnlock ( void  )

Function: RTCCUnlock

Preconditions: None.

Overview: This function allows writing into the clock registers.

Arguments: None.

Returns: None.

Definition at line 39 of file realtime.c.