[][src]Struct stm32h7::stm32h743::pwr::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub cr1: CR1,
    pub csr1: CSR1,
    pub cr2: CR2,
    pub cr3: CR3,
    pub cpucr: CPUCR,
    pub d3cr: D3CR,
    pub wkupcr: WKUPCR,
    pub wkupfr: WKUPFR,
    pub wkupepr: WKUPEPR,
    // some fields omitted
}

Register block

Fields

cr1: CR1

0x00 - PWR control register 1

csr1: CSR1

0x04 - PWR control status register 1

cr2: CR2

0x08 - This register is not reset by wakeup from Standby mode, RESET signal and VDD POR. It is only reset by VSW POR and VSWRST reset. This register shall not be accessed when VSWRST bit in RCC_BDCR register resets the VSW domain.After reset, PWR_CR2 register is write-protected. Prior to modifying its content, the DBP bit in PWR_CR1 register must be set to disable the write protection.

cr3: CR3

0x0c - Reset only by POR only, not reset by wakeup from Standby mode and RESET pad. The lower byte of this register is written once after POR and shall be written before changing VOS level or ck_sys clock frequency. No limitation applies to the upper bytes.Programming data corresponding to an invalid combination of SDLEVEL, SDEXTHP, SDEN, LDOEN and BYPASS bits (see Table9) will be ignored: data will not be written, the written-once mechanism will lock the register and any further write access will be ignored. The default supply configuration will be kept and the ACTVOSRDY bit in PWR control status register 1 (PWR_CSR1) will go on indicating invalid voltage levels. The system shall be power cycled before writing a new value.

cpucr: CPUCR

0x10 - This register allows controlling CPU1 power.

d3cr: D3CR

0x18 - This register allows controlling D3 domain power.Following reset VOSRDY will be read 1 by software

wkupcr: WKUPCR

0x20 - reset only by system reset, not reset by wakeup from Standby mode5 wait states are required when writing this register (when clearing a WKUPF bit in PWR_WKUPFR, the AHB write access will complete after the WKUPF has been cleared).

wkupfr: WKUPFR

0x24 - reset only by system reset, not reset by wakeup from Standby mode

wkupepr: WKUPEPR

0x28 - Reset only by system reset, not reset by wakeup from Standby mode

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self