Landfall

Change of pkg/devices/lib/rtc/include/rtc-x1600.h

238:bf804c0fe6dc
pkg/devices/lib/rtc/include/rtc-x1600.h cpm-library-improvements
     1.1 --- a/pkg/devices/lib/rtc/include/rtc-x1600.h	Thu Nov 16 01:15:40 2023 +0100
     1.2 +++ b/pkg/devices/lib/rtc/include/rtc-x1600.h	Thu Nov 16 17:48:32 2023 +0100
     1.3 @@ -52,6 +52,10 @@
     1.4  
     1.5    void alarm_enable();
     1.6  
     1.7 +  void wakeup_alarm_disable();
     1.8 +
     1.9 +  void wakeup_alarm_enable();
    1.10 +
    1.11    uint32_t get_seconds();
    1.12  
    1.13    void set_seconds(uint32_t seconds);
    1.14 @@ -62,6 +66,8 @@
    1.15  
    1.16    void set_regulator(uint32_t base, uint32_t adjustment);
    1.17  
    1.18 +  void hibernate();
    1.19 +
    1.20    void power_down();
    1.21  };
    1.22  
    1.23 @@ -83,6 +89,10 @@
    1.24  
    1.25  void x1600_rtc_alarm_enable(void *rtc);
    1.26  
    1.27 +void x1600_rtc_wakeup_alarm_disable(void *rtc);
    1.28 +
    1.29 +void x1600_rtc_wakeup_alarm_enable(void *rtc);
    1.30 +
    1.31  uint32_t x1600_rtc_get_seconds(void *rtc);
    1.32  
    1.33  void x1600_rtc_set_seconds(void *rtc, uint32_t seconds);
    1.34 @@ -93,6 +103,8 @@
    1.35  
    1.36  void x1600_rtc_set_regulator(void *rtc, uint32_t base, uint32_t adjustment);
    1.37  
    1.38 +void x1600_rtc_hibernate(void *rtc);
    1.39 +
    1.40  void x1600_rtc_power_down(void *rtc);
    1.41  
    1.42  EXTERN_C_END