#[repr(C)]pub struct RegisterBlock {Show 14 fields
pub control: CONTROL,
pub time_lo: TIME_LO,
pub time_hi: TIME_HI,
pub rtc_time_lo: RTC_TIME_LO,
pub rtc_time_hi: RTC_TIME_HI,
pub interrupt_mode: INTERRUPT_MODE,
pub interrupt_state: INTERRUPT_STATE,
pub interrupt_clear: INTERRUPT_CLEAR,
pub global: GLOBAL,
pub sram: SRAM,
pub rc32k: RC32K,
pub xtal32k: XTAL32K,
pub rtc_control_0: RTC_CONTROL_0,
pub rtc_control_1: RTC_CONTROL_1,
/* private fields */
}Expand description
Register block
Fields§
§control: CONTROL0x00 - Miscellaneous control register
time_lo: TIME_LO0x04 - Low bits of hibernate time
time_hi: TIME_HI0x08 - High bits of hibernate time
rtc_time_lo: RTC_TIME_LO0x0c - Low bits of Real-Time Clock time
rtc_time_hi: RTC_TIME_HI0x10 - High bits of Real-Time Clock time
interrupt_mode: INTERRUPT_MODE0x14 - Hibernate interrupt contol
interrupt_state: INTERRUPT_STATE0x18 - Hibernate interrupt state
interrupt_clear: INTERRUPT_CLEAR0x1c - Clear hibernate interrupt
global: GLOBAL0x30 - Global hibernate configuration
sram: SRAM0x34 - Static Random-Access Memory hibernate control
rc32k: RC32K0x200 - 32-kHz internal RC oscillator control
xtal32k: XTAL32K0x204 - External crystal oscillator control
rtc_control_0: RTC_CONTROL_00x208 - Real-Time Clock control and reset register 0
rtc_control_1: RTC_CONTROL_10x20c - Real-Time Clock control and reset register 1
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more