LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX 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...