#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn gpior0(&self) -> &Reg<GPIOR0_SPEC>
pub const fn gpior0(&self) -> &Reg<GPIOR0_SPEC>
0x00 - General Purpose I/O Register 0
Sourcepub const fn gpior1(&self) -> &Reg<GPIOR1_SPEC>
pub const fn gpior1(&self) -> &Reg<GPIOR1_SPEC>
0x0c - General Purpose I/O Register 1
Sourcepub const fn gpior2(&self) -> &Reg<GPIOR2_SPEC>
pub const fn gpior2(&self) -> &Reg<GPIOR2_SPEC>
0x0d - General Purpose I/O Register 2
Sourcepub const fn mcusr(&self) -> &Reg<MCUSR_SPEC>
pub const fn mcusr(&self) -> &Reg<MCUSR_SPEC>
0x16 - MCU Status Register
Sourcepub const fn mcucr(&self) -> &Reg<MCUCR_SPEC>
pub const fn mcucr(&self) -> &Reg<MCUCR_SPEC>
0x17 - MCU Control Register
Sourcepub const fn spmcsr(&self) -> &Reg<SPMCSR_SPEC>
pub const fn spmcsr(&self) -> &Reg<SPMCSR_SPEC>
0x19 - Store Program Memory Control and Status Register
Sourcepub const fn clkpr(&self) -> &Reg<CLKPR_SPEC>
pub const fn clkpr(&self) -> &Reg<CLKPR_SPEC>
0x23 - Clock Prescale Register
Sourcepub const fn osccal(&self) -> &Reg<OSCCAL_SPEC>
pub const fn osccal(&self) -> &Reg<OSCCAL_SPEC>
0x28 - Oscillator Calibration Value
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