1.1 --- a/pkg/devices/lib/rtc/include/rtc-defs.h Sat May 04 01:31:54 2024 +0200
1.2 +++ b/pkg/devices/lib/rtc/include/rtc-defs.h Sat May 04 22:52:55 2024 +0200
1.3 @@ -39,7 +39,8 @@
1.4 Hibernate_wakeup_status = 0x030, // HWRSR
1.5 Hibernate_scratch_pattern = 0x034, // HSPR
1.6 Hibernate_write_enable_pattern = 0x03c, // WENR
1.7 - Hibernate_wakeup_pin_configure = 0x048, // WKUPPINCR
1.8 + Hibernate_wakeup_pin_configure = 0x048, // WKUPPINCR (X1600)
1.9 + Power_on_control_register = 0x048, // PWRONCR (JZ4780)
1.10 };
1.11
1.12 // Field definitions.
1.13 @@ -122,4 +123,10 @@
1.14 Wakeup_pin_extended_press_enable = 0x0000000f, // P_RST_LEN
1.15 };
1.16
1.17 +enum Power_on_control_register_bits : unsigned
1.18 +{
1.19 + Power_off_assert_length_mask = 0x000000f0, // PWROFF_LEN
1.20 + Power_on_enable = 0x00000001, // PWRON_EN
1.21 +};
1.22 +
1.23 #endif /* __cplusplus */