#[repr(C)]pub struct RegisterBlock {
pub isr: ISR,
pub icr: ICR,
pub ier: IER,
pub cfgr: CFGR,
pub cr: CR,
pub cmp: CMP,
pub arr: ARR,
pub cnt: CNT,
}
Expand description
Register block
Fields§
§isr: ISR
0x00 - Interrupt and Status Register
icr: ICR
0x04 - Interrupt Clear Register
ier: IER
0x08 - Interrupt Enable Register
cfgr: CFGR
0x0c - Configuration Register
cr: CR
0x10 - Control Register
cmp: CMP
0x14 - Compare Register
arr: ARR
0x18 - Autoreload Register
cnt: CNT
0x1c - Counter Register
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