![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "rtc_001.h"
Go to the source code of this file.
Functions | |
void | IP_RTC_Init (IP_RTC_001_T *pRTC) |
Initialize the RTC peripheral. | |
void | IP_RTC_ResetClockTickCounter (IP_RTC_001_T *pRTC) |
Reset clock tick counter in the RTC peripheral. | |
void | IP_RTC_Enable (IP_RTC_001_T *pRTC, FunctionalState NewState) |
Start/Stop RTC peripheral. | |
void | IP_RTC_CntIncrIntConfig (IP_RTC_001_T *pRTC, uint32_t cntrMask, FunctionalState NewState) |
Enable/Disable Counter increment interrupt for a time type in the RTC peripheral. | |
void | IP_RTC_AlarmIntConfig (IP_RTC_001_T *pRTC, uint32_t alarmMask, FunctionalState NewState) |
Enable/Disable Alarm interrupt for a time type in the RTC peripheral. | |
void | IP_RTC_SetTime (IP_RTC_001_T *pRTC, IP_RTC_TIMEINDEX_T Timetype, uint32_t TimeValue) |
Set current time value for a time type in the RTC peripheral. | |
uint32_t | IP_RTC_GetTime (IP_RTC_001_T *pRTC, IP_RTC_TIMEINDEX_T Timetype) |
Get current time value for a type time type. | |
void | IP_RTC_SetFullTime (IP_RTC_001_T *pRTC, IP_RTC_TIME_T *pFullTime) |
Set full time in the RTC peripheral. | |
void | IP_RTC_GetFullTime (IP_RTC_001_T *pRTC, IP_RTC_TIME_T *pFullTime) |
Get full time from the RTC peripheral. | |
void | IP_RTC_SetAlarmTime (IP_RTC_001_T *pRTC, IP_RTC_TIMEINDEX_T Timetype, uint32_t ALValue) |
Set alarm time value for a time type. | |
uint32_t | IP_RTC_GetAlarmTime (IP_RTC_001_T *pRTC, IP_RTC_TIMEINDEX_T Timetype) |
Get alarm time value for a time type. | |
void | IP_RTC_SetFullAlarmTime (IP_RTC_001_T *pRTC, IP_RTC_TIME_T *pFullTime) |
Set full alarm time in the RTC peripheral. | |
void | IP_RTC_GetFullAlarmTime (IP_RTC_001_T *pRTC, IP_RTC_TIME_T *pFullTime) |
Get full alarm time in the RTC peripheral. | |
void | IP_RTC_CalibCounterCmd (IP_RTC_001_T *pRTC, FunctionalState NewState) |
Enable/Disable calibration counter in the RTC peripheral. | |
void | IP_RTC_CalibConfig (IP_RTC_001_T *pRTC, uint32_t CalibValue, uint8_t CalibDir) |
Configures Calibration in the RTC peripheral. | |