pub struct RegisterBlock {Show 28 fields
pub cr0: CR0,
pub cr1: CR1,
pub cr2: CR2,
pub ier: IER,
pub isr: ISR,
pub icr: ICR,
pub hsi: HSI,
pub hse: HSE,
pub lsi: LSI,
pub lse: LSE,
pub pll: PLL,
pub debug: DEBUG,
pub ahben: AHBEN,
pub apben2: APBEN2,
pub apben1: APBEN1,
pub ahbrst: AHBRST,
pub apbrst2: APBRST2,
pub apbrst1: APBRST1,
pub resetflag: RESETFLAG,
pub gtim1cap: GTIM1CAP,
pub gtim2cap: GTIM2CAP,
pub gtim3cap: GTIM3CAP,
pub gtim4cap: GTIM4CAP,
pub atimetr: ATIMETR,
pub gtimetr: GTIMETR,
pub timitr: TIMITR,
pub mco: MCO,
pub irmod: IRMOD,
/* private fields */
}Expand description
Register block
Fields§
§cr0: CR00x00 - Control Reg0
cr1: CR10x04 - Control Reg1
cr2: CR20x08 - Control Reg2
ier: IER0x0c - Interupt Enable Reg
isr: ISR0x10 - Interupt Status Reg
icr: ICR0x14 - Interupt Clear Reg
hsi: HSI0x18 - HSI Control Reg
hse: HSE0x1c - HSE Control Reg
lsi: LSI0x20 - LSI Control Reg
lse: LSE0x24 - LSE Control Reg
pll: PLL0x28 - PLL Control Reg
debug: DEBUG0x2c - Debug Control Reg
ahben: AHBEN0x30 - AHB Clock Control Reg
apben2: APBEN20x34 - APB Clock Control Reg2
apben1: APBEN10x38 - APB Clock Control Reg1
ahbrst: AHBRST0x40 - AHB Reset Control Reg
apbrst2: APBRST20x44 - APB Reset Control Reg2
apbrst1: APBRST10x48 - APB Reset Control Reg1
resetflag: RESETFLAG0x4c - Reset Status Reg
gtim1cap: GTIM1CAP0x50 - GTIM1 CAP Control Reg
gtim2cap: GTIM2CAP0x54 - GTIM2 CAP Control Reg
gtim3cap: GTIM3CAP0x58 - GTIM3 CAP Control Reg
gtim4cap: GTIM4CAP0x5c - GTIM4 CAP Control Reg
atimetr: ATIMETR0x60 - ATIM ETR Control Reg
gtimetr: GTIMETR0x64 - GTIM1-4 ETR Control Reg
timitr: TIMITR0x6c - BTIMx GTIMx ATIM ITR Control Reg
mco: MCO0x70 - Master Clock Output Control Reg
irmod: IRMOD0x74 - IR MOD Control Reg
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