uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
RTC Public Functions

Functions

void RTC_Init (LPC_RTC_TypeDef *RTCx)
 
void RTC_DeInit (LPC_RTC_TypeDef *RTCx)
 
void RTC_ResetClockTickCounter (LPC_RTC_TypeDef *RTCx)
 
void RTC_Cmd (LPC_RTC_TypeDef *RTCx, FunctionalState NewState)
 
void RTC_CntIncrIntConfig (LPC_RTC_TypeDef *RTCx, uint32_t CntIncrIntType, FunctionalState NewState)
 
void RTC_AlarmIntConfig (LPC_RTC_TypeDef *RTCx, uint32_t AlarmTimeType, FunctionalState NewState)
 
void RTC_SetTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype, uint32_t TimeValue)
 
uint32_t RTC_GetTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype)
 
void RTC_SetFullTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime)
 
void RTC_GetFullTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime)
 
void RTC_SetAlarmTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype, uint32_t ALValue)
 
uint32_t RTC_GetAlarmTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype)
 
void RTC_SetFullAlarmTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime)
 
void RTC_GetFullAlarmTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime)
 
IntStatus RTC_GetIntPending (LPC_RTC_TypeDef *RTCx, uint32_t IntType)
 
void RTC_ClearIntPending (LPC_RTC_TypeDef *RTCx, uint32_t IntType)
 
void RTC_CalibCounterCmd (LPC_RTC_TypeDef *RTCx, FunctionalState NewState)
 
void RTC_CalibConfig (LPC_RTC_TypeDef *RTCx, uint32_t CalibValue, uint8_t CalibDir)
 
void RTC_WriteGPREG (LPC_RTC_TypeDef *RTCx, uint8_t Channel, uint32_t Value)
 
uint32_t RTC_ReadGPREG (LPC_RTC_TypeDef *RTCx, uint8_t Channel)
 

Detailed Description

Function Documentation

void RTC_AlarmIntConfig ( LPC_RTC_TypeDef RTCx,
uint32_t  AlarmTimeType,
FunctionalState  NewState 
)
void RTC_CalibConfig ( LPC_RTC_TypeDef RTCx,
uint32_t  CalibValue,
uint8_t  CalibDir 
)
void RTC_CalibCounterCmd ( LPC_RTC_TypeDef RTCx,
FunctionalState  NewState 
)
void RTC_ClearIntPending ( LPC_RTC_TypeDef RTCx,
uint32_t  IntType 
)
void RTC_Cmd ( LPC_RTC_TypeDef RTCx,
FunctionalState  NewState 
)
void RTC_CntIncrIntConfig ( LPC_RTC_TypeDef RTCx,
uint32_t  CntIncrIntType,
FunctionalState  NewState 
)
void RTC_DeInit ( LPC_RTC_TypeDef RTCx)
uint32_t RTC_GetAlarmTime ( LPC_RTC_TypeDef RTCx,
uint32_t  Timetype 
)
void RTC_GetFullAlarmTime ( LPC_RTC_TypeDef RTCx,
RTC_TIME_Type pFullTime 
)
void RTC_GetFullTime ( LPC_RTC_TypeDef RTCx,
RTC_TIME_Type pFullTime 
)
IntStatus RTC_GetIntPending ( LPC_RTC_TypeDef RTCx,
uint32_t  IntType 
)
uint32_t RTC_GetTime ( LPC_RTC_TypeDef RTCx,
uint32_t  Timetype 
)
void RTC_Init ( LPC_RTC_TypeDef RTCx)
uint32_t RTC_ReadGPREG ( LPC_RTC_TypeDef RTCx,
uint8_t  Channel 
)
void RTC_ResetClockTickCounter ( LPC_RTC_TypeDef RTCx)
void RTC_SetAlarmTime ( LPC_RTC_TypeDef RTCx,
uint32_t  Timetype,
uint32_t  ALValue 
)
void RTC_SetFullAlarmTime ( LPC_RTC_TypeDef RTCx,
RTC_TIME_Type pFullTime 
)
void RTC_SetFullTime ( LPC_RTC_TypeDef RTCx,
RTC_TIME_Type pFullTime 
)
void RTC_SetTime ( LPC_RTC_TypeDef RTCx,
uint32_t  Timetype,
uint32_t  TimeValue 
)
void RTC_WriteGPREG ( LPC_RTC_TypeDef RTCx,
uint8_t  Channel,
uint32_t  Value 
)