LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Macros | Functions
rtc_ut.h File Reference
#include "chip.h"
#include <stdlib.h>
#include <time.h>

Go to the source code of this file.

Macros

#define TM_YEAR_BASE   (1900)
 
#define TM_DAYOFWEEK   (1)
 

Functions

void ConvertRtcTime (uint32_t rtcTick, struct tm *pTime)
 Converts a RTC tick time to Universal time. More...
 
void ConvertTimeRtc (struct tm *pTime, uint32_t *rtcTick)
 Converts a Universal time to RTC tick time. More...