![]() |
M480 BSP
V3.05.001
The Board Support Package for M480 Series
|
M480 series RTC driver source file. More...
#include "NuMicro.h"Go to the source code of this file.
Functions | |
| void | 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 i32FrequencyX10000) |
| Set 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... | |
| void | RTC_SetAlarmDateMask (uint8_t u8IsTenYMsk, uint8_t u8IsYMsk, uint8_t u8IsTenMMsk, uint8_t u8IsMMsk, uint8_t u8IsTenDMsk, uint8_t u8IsDMsk) |
| Set RTC Alarm Date Mask Function. More... | |
| void | RTC_SetAlarmTimeMask (uint8_t u8IsTenHMsk, uint8_t u8IsHMsk, uint8_t u8IsTenMMsk, uint8_t u8IsMMsk, uint8_t u8IsTenSMsk, uint8_t u8IsSMsk) |
| Set RTC Alarm Time Mask Function. 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_StaticTamperEnable (uint32_t u32TamperSelect, uint32_t u32DetecLevel, uint32_t u32DebounceEn) |
| Static Tamper Detect. More... | |
| void | RTC_StaticTamperDisable (uint32_t u32TamperSelect) |
| Static Tamper Disable. More... | |
| void | RTC_DynamicTamperEnable (uint32_t u32PairSel, uint32_t u32DebounceEn, uint32_t u32Pair1Source, uint32_t u32Pair2Source) |
| Dynamic Tamper Detect. More... | |
| void | RTC_DynamicTamperDisable (uint32_t u32PairSel) |
| Dynamic Tamper Disable. More... | |
| void | RTC_DynamicTamperConfig (uint32_t u32ChangeRate, uint32_t u32SeedReload, uint32_t u32RefPattern, uint32_t u32Seed) |
| Config dynamic tamper. More... | |
M480 series RTC driver source file.
Definition in file rtc.c.
1.8.15