chore: sdk compiles almost w/o warnings?
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void RTC_ClokSource(u32 Source);
|
||||
|
||||
/** @addtogroup rtc RTC
|
||||
* @ingroup hal
|
||||
* @brief rtc functions
|
||||
@@ -47,10 +49,10 @@ extern "C" {
|
||||
typedef void (*alarm_irq_handler)(void);
|
||||
|
||||
struct alarm_s {
|
||||
uint32_t yday;//which day of the year
|
||||
uint32_t hour;
|
||||
uint32_t min;
|
||||
uint32_t sec;
|
||||
uint32_t sec; /* Seconds */
|
||||
uint32_t min; /* Minutes */
|
||||
uint32_t hour; /* Hours */
|
||||
uint32_t yday; /* Day of year */
|
||||
};
|
||||
|
||||
typedef struct alarm_s alarm_t;
|
||||
@@ -123,6 +125,11 @@ void rtc_disable_alarm(void);
|
||||
///@}
|
||||
#endif //CONFIG_PLATFORM_8711B || CONFIG_PLATFORM_8195BLP || CONFIG_PLATFORM_8721D || CONFIG_PLATFORM_8710C
|
||||
|
||||
/**
|
||||
* @brief Backup RTC time information before system reset
|
||||
*/
|
||||
void rtc_backup_timeinfo(void);
|
||||
|
||||
/*\@}*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user