#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub ctl: CTL, pub cfg0: CFG0, pub int: INT, pub apb2rst: APB2RST, pub apb1rst: APB1RST, pub ahben: AHBEN, pub apb2en: APB2EN, pub apb1en: APB1EN, pub bdctl: BDCTL, pub rstsck: RSTSCK, pub ahbrst: AHBRST, pub cfg1: CFG1, pub dsv: DSV, /* private fields */
}
Expand description

Register block

Fields§

§ctl: CTL

0x00 - Control register

§cfg0: CFG0

0x04 - Clock configuration register 0 (RCU_CFG0)

§int: INT

0x08 - Clock interrupt register (RCU_INT)

§apb2rst: APB2RST

0x0c - APB2 reset register (RCU_APB2RST)

§apb1rst: APB1RST

0x10 - APB1 reset register (RCU_APB1RST)

§ahben: AHBEN

0x14 - AHB enable register

§apb2en: APB2EN

0x18 - APB2 clock enable register (RCU_APB2EN)

§apb1en: APB1EN

0x1c - APB1 clock enable register (RCU_APB1EN)

§bdctl: BDCTL

0x20 - Backup domain control register (RCU_BDCTL)

§rstsck: RSTSCK

0x24 - Reset source /clock register (RCU_RSTSCK)

§ahbrst: AHBRST

0x28 - AHB reset register

§cfg1: CFG1

0x2c - Clock Configuration register 1

§dsv: DSV

0x34 - Deep sleep mode Voltage register

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.