refactor tree, add ecad, mcad
This commit is contained in:
@@ -40,15 +40,15 @@ public:
|
||||
static SystemTimerImpl& get_system_timer() {
|
||||
return m_sys_timer;
|
||||
};
|
||||
static Common::ReturnCode init();
|
||||
static BSP::ReturnCode init();
|
||||
static void increment_seconds();
|
||||
static Common::ReturnCode get_time(Common::WallClockTime &tm_bcd);
|
||||
static Common::ReturnCode set_time(const Common::WallClockTime &tm_bcd);
|
||||
static Common::ReturnCode set_wakeup_in(Common::time_t wakeup_delay);
|
||||
static BSP::ReturnCode get_time(BSP::WallClockTime &tm_bcd);
|
||||
static BSP::ReturnCode set_time(const BSP::WallClockTime &tm_bcd);
|
||||
static BSP::ReturnCode set_wakeup_in(BSP::time_t wakeup_delay);
|
||||
|
||||
private:
|
||||
|
||||
static Common::ReturnCode init_hw();
|
||||
static BSP::ReturnCode init_hw();
|
||||
static void enable_rtc_write();
|
||||
static void disable_rtc_write();
|
||||
static void enable_rtc_wakeup_interrupt();
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
|
||||
~RtcSystemTimer() {}
|
||||
|
||||
Common::time_t get_time() override;
|
||||
BSP::time_t get_time() override;
|
||||
void increment_seconds();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user