C:/nxpdrv/LPC1700CMSIS/Drivers/source/lpc17xx_rtc.c File Reference
: Contains all functions support for RTC firmware library on LPC17xx More...
#include "lpc17xx_rtc.h"
#include "lpc17xx_clkpwr.h"
#include "lpc17xx_libcfg_default.h"
Go to the source code of this file.
Functions | |
| void | RTC_Init (LPC_RTC_TypeDef *RTCx) |
| Initializes the RTC peripheral. | |
| void | RTC_DeInit (LPC_RTC_TypeDef *RTCx) |
| De-initializes the RTC peripheral registers to their default reset values. | |
| void | RTC_ResetClockTickCounter (LPC_RTC_TypeDef *RTCx) |
| Reset clock tick counter in RTC peripheral. | |
| void | RTC_Cmd (LPC_RTC_TypeDef *RTCx, FunctionalState NewState) |
| Start/Stop RTC peripheral. | |
| void | RTC_CntIncrIntConfig (LPC_RTC_TypeDef *RTCx, uint32_t CntIncrIntType, FunctionalState NewState) |
| Enable/Disable Counter increment interrupt for each time type in RTC peripheral. | |
| void | RTC_AlarmIntConfig (LPC_RTC_TypeDef *RTCx, uint32_t AlarmTimeType, FunctionalState NewState) |
| Enable/Disable Alarm interrupt for each time type in RTC peripheral. | |
| void | RTC_SetTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype, uint32_t TimeValue) |
| Set current time value for each time type in RTC peripheral. | |
| uint32_t | RTC_GetTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype) |
| Get current time value for each type time type. | |
| void | RTC_SetFullTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime) |
| Set full of time in RTC peripheral. | |
| void | RTC_GetFullTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime) |
| Get full of time in RTC peripheral. | |
| void | RTC_SetAlarmTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype, uint32_t ALValue) |
| Set alarm time value for each time type. | |
| uint32_t | RTC_GetAlarmTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype) |
| Get alarm time value for each time type. | |
| void | RTC_SetFullAlarmTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime) |
| Set full of alarm time in RTC peripheral. | |
| void | RTC_GetFullAlarmTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime) |
| Get full of alarm time in RTC peripheral. | |
| IntStatus | RTC_GetIntPending (LPC_RTC_TypeDef *RTCx, uint32_t IntType) |
| Check whether if specified Location interrupt in RTC peripheral is set or not. | |
| void | RTC_ClearIntPending (LPC_RTC_TypeDef *RTCx, uint32_t IntType) |
| Clear specified Location interrupt pending in RTC peripheral. | |
| void | RTC_CalibCounterCmd (LPC_RTC_TypeDef *RTCx, FunctionalState NewState) |
| Enable/Disable calibration counter in RTC peripheral. | |
| void | RTC_CalibConfig (LPC_RTC_TypeDef *RTCx, uint32_t CalibValue, uint8_t CalibDir) |
| Configures Calibration in RTC peripheral. | |
| void | RTC_WriteGPREG (LPC_RTC_TypeDef *RTCx, uint8_t Channel, uint32_t Value) |
| Write value to General purpose registers. | |
| uint32_t | RTC_ReadGPREG (LPC_RTC_TypeDef *RTCx, uint8_t Channel) |
| Read value from General purpose registers. | |
Detailed Description
: Contains all functions support for RTC firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 23. Apr. 2009
- Author:
- : HieuNguyen
Definition in file lpc17xx_rtc.c.
Generated on Mon Feb 8 10:01:42 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by
1.5.9