#[repr(C)]
pub struct RegisterBlock {
Show 22 fields pub cr1: Reg<CR1_SPEC>, pub cr2: Reg<CR2_SPEC>, pub cr3: Reg<CR3_SPEC>, pub cr4: Reg<CR4_SPEC>, pub sr1: Reg<SR1_SPEC>, pub sr2: Reg<SR2_SPEC>, pub scr: Reg<SCR_SPEC>, pub cr5: Reg<CR5_SPEC>, pub pucra: Reg<PUCRA_SPEC>, pub pdcra: Reg<PDCRA_SPEC>, pub pucrb: Reg<PUCRB_SPEC>, pub pdcrb: Reg<PDCRB_SPEC>, pub pucrc: Reg<PUCRC_SPEC>, pub pdcrc: Reg<PDCRC_SPEC>, pub pucrh: Reg<PUCRH_SPEC>, pub pdcrh: Reg<PDCRH_SPEC>, pub c2cr1: Reg<C2CR1_SPEC>, pub c2cr3: Reg<C2CR3_SPEC>, pub extscr: Reg<EXTSCR_SPEC>, pub seccfgr: Reg<SECCFGR_SPEC>, pub subghzspicr: Reg<SUBGHZSPICR_SPEC>, pub rsscmdr: Reg<RSSCMDR_SPEC>, /* private fields */
}
Available on crate feature stm32wl5x_cm4 only.
Expand description

Register block

Fields§

§cr1: Reg<CR1_SPEC>

0x00 - Power control register 1

§cr2: Reg<CR2_SPEC>

0x04 - Power control register 2

§cr3: Reg<CR3_SPEC>

0x08 - Power control register 3

§cr4: Reg<CR4_SPEC>

0x0c - Power control register 4

§sr1: Reg<SR1_SPEC>

0x10 - Power status register 1

§sr2: Reg<SR2_SPEC>

0x14 - Power status register 2

§scr: Reg<SCR_SPEC>

0x18 - Power status clear register

§cr5: Reg<CR5_SPEC>

0x1c - Power control register 5

§pucra: Reg<PUCRA_SPEC>

0x20 - Power Port A pull-up control register

§pdcra: Reg<PDCRA_SPEC>

0x24 - Power Port A pull-down control register

§pucrb: Reg<PUCRB_SPEC>

0x28 - Power Port B pull-up control register

§pdcrb: Reg<PDCRB_SPEC>

0x2c - Power Port B pull-down control register

§pucrc: Reg<PUCRC_SPEC>

0x30 - Power Port C pull-up control register

§pdcrc: Reg<PDCRC_SPEC>

0x34 - Power Port C pull-down control register

§pucrh: Reg<PUCRH_SPEC>

0x58 - Power Port H pull-up control register

§pdcrh: Reg<PDCRH_SPEC>

0x5c - Power Port H pull-down control register

§c2cr1: Reg<C2CR1_SPEC>

0x80 - Power CPU2 control register 1 [dual core device only]

§c2cr3: Reg<C2CR3_SPEC>

0x84 - Power CPU2 control register 3 [dual core device only]

§extscr: Reg<EXTSCR_SPEC>

0x88 - Power extended status and status clear register

§seccfgr: Reg<SECCFGR_SPEC>

0x8c - Power security configuration register [dual core device only]

§subghzspicr: Reg<SUBGHZSPICR_SPEC>

0x90 - Power SPI3 control register

§rsscmdr: Reg<RSSCMDR_SPEC>

0x98 - RSS Command register [dual core device only]

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.