LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Functions
rtc_18xx_43xx.c File Reference
#include "chip.h"

Go to the source code of this file.

Functions

void Chip_RTC_Init (LPC_RTC_T *pRTC)
 Initialize the RTC peripheral. More...
 
void Chip_RTC_DeInit (LPC_RTC_T *pRTC)
 De-initialize the RTC peripheral. More...
 
void Chip_RTC_ResetClockTickCounter (LPC_RTC_T *pRTC)
 Reset clock tick counter in the RTC peripheral. More...
 
void Chip_RTC_Enable (LPC_RTC_T *pRTC, FunctionalState NewState)
 Start/Stop RTC peripheral. More...
 
void Chip_RTC_CntIncrIntConfig (LPC_RTC_T *pRTC, uint32_t cntrMask, FunctionalState NewState)
 Enable/Disable Counter increment interrupt for a time type in the RTC peripheral. More...
 
void Chip_RTC_AlarmIntConfig (LPC_RTC_T *pRTC, uint32_t alarmMask, FunctionalState NewState)
 Enable/Disable Alarm interrupt for a time type in the RTC peripheral. More...
 
void Chip_RTC_SetFullTime (LPC_RTC_T *pRTC, RTC_TIME_T *pFullTime)
 Set full time in the RTC peripheral. More...
 
void Chip_RTC_GetFullTime (LPC_RTC_T *pRTC, RTC_TIME_T *pFullTime)
 Get full time from the RTC peripheral. More...
 
void Chip_RTC_SetFullAlarmTime (LPC_RTC_T *pRTC, RTC_TIME_T *pFullTime)
 Set full alarm time in the RTC peripheral. More...
 
void Chip_RTC_GetFullAlarmTime (LPC_RTC_T *pRTC, RTC_TIME_T *pFullTime)
 Get full alarm time in the RTC peripheral. More...
 
void Chip_RTC_CalibCounterCmd (LPC_RTC_T *pRTC, FunctionalState NewState)
 Enable/Disable calibration counter in the RTC peripheral. More...