Struct gd32vf103_pac::ctimer::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub mtime_lo: MTIME_LO,
pub mtime_hi: MTIME_HI,
pub mtimecmp_lo: MTIMECMP_LO,
pub mtimecmp_hi: MTIMECMP_HI,
pub mstop: MSTOP,
pub msip: MSIP,
/* private fields */
}
Expand description
Register block
Fields§
§mtime_lo: MTIME_LO
0x00 - Timer value (lower half)
mtime_hi: MTIME_HI
0x04 - Timer value (upper half)
mtimecmp_lo: MTIMECMP_LO
0x08 - Timer comparison value (lower half)
mtimecmp_hi: MTIMECMP_HI
0x0c - Timer comparison value (upper half)
mstop: MSTOP
0xff8 - Timer control register
msip: MSIP
0xffc - Software interrupt 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