![]() |
M4521_BSP V3.02.000
The Board Support Package for M4521
|
M4521 RTC driver source file. More...
#include "M4521.h"
Go to the source code of this file.
Functions | |
| int32_t | RTC_Open (S_RTC_TIME_DATA_T *sPt) |
| Initialize RTC module and start counting. More... | |
| void | RTC_Close (void) |
| Disable RTC Clock. More... | |
| void | RTC_32KCalibration (int32_t i32FrequencyX100) |
| Set 32k Frequency Compensation Data. More... | |
| void | RTC_GetDateAndTime (S_RTC_TIME_DATA_T *sPt) |
| Get Current RTC Date and Time. More... | |
| void | RTC_GetAlarmDateAndTime (S_RTC_TIME_DATA_T *sPt) |
| Get RTC Alarm Date and Time. More... | |
| void | RTC_SetDateAndTime (S_RTC_TIME_DATA_T *sPt) |
| Update Current RTC Date and Time. More... | |
| void | RTC_SetAlarmDateAndTime (S_RTC_TIME_DATA_T *sPt) |
| Update RTC Alarm Date and Time. More... | |
| void | RTC_SetDate (uint32_t u32Year, uint32_t u32Month, uint32_t u32Day, uint32_t u32DayOfWeek) |
| Update RTC Current Date. More... | |
| void | RTC_SetTime (uint32_t u32Hour, uint32_t u32Minute, uint32_t u32Second, uint32_t u32TimeMode, uint32_t u32AmPm) |
| Update RTC Current Time. More... | |
| void | RTC_SetAlarmDate (uint32_t u32Year, uint32_t u32Month, uint32_t u32Day) |
| Update RTC Alarm Date. More... | |
| void | RTC_SetAlarmTime (uint32_t u32Hour, uint32_t u32Minute, uint32_t u32Second, uint32_t u32TimeMode, uint32_t u32AmPm) |
| Update RTC Alarm Time. More... | |
| uint32_t | RTC_GetDayOfWeek (void) |
| Get Day of the Week. More... | |
| void | RTC_SetTickPeriod (uint32_t u32TickSelection) |
| Set RTC Tick Period Time. More... | |
| void | RTC_EnableInt (uint32_t u32IntFlagMask) |
| Enable RTC Interrupt. More... | |
| void | RTC_DisableInt (uint32_t u32IntFlagMask) |
| Disable RTC Interrupt. More... | |
| void | RTC_EnableSpareAccess (void) |
| Enable Spare Registers Access. More... | |
| void | RTC_DisableSpareRegister (void) |
| Disable Spare Register. More... | |
| void | RTC_EnableSnooperDetection (uint32_t u32PinCondition) |
| Enable Snooper Pin Detect. More... | |
| void | RTC_DisableSnooperDetection (void) |
| Disable Snooper Pin Detect. More... | |
M4521 RTC driver source file.
Definition in file rtc.c.