Struct gd32f1x0_hal::pac::dbg::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub id: Reg<ID_SPEC>,
pub ctl0: Reg<CTL0_SPEC>,
pub ctl1: Reg<CTL1_SPEC>,
}
Expand description
Register block
Fields
id: Reg<ID_SPEC>
0x00 - MCU Device ID Code Register
ctl0: Reg<CTL0_SPEC>
0x04 - Debug Control Register 0
ctl1: Reg<CTL1_SPEC>
0x08 - Debug Control Register 1
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more