Struct gd32vf103_pac::rcu::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {}
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§
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