#[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 register 0
Sourcepub const fn gpior1(&self) -> &Reg<GPIOR1_SPEC>
pub const fn gpior1(&self) -> &Reg<GPIOR1_SPEC>
0x01 - General Purpose register 1
Sourcepub const fn gpior2(&self) -> &Reg<GPIOR2_SPEC>
pub const fn gpior2(&self) -> &Reg<GPIOR2_SPEC>
0x02 - General Purpose IO register 2
Sourcepub const fn clkpr(&self) -> &Reg<CLKPR_SPEC>
pub const fn clkpr(&self) -> &Reg<CLKPR_SPEC>
0x15 - Clock Prescale Register
Sourcepub const fn pllcsr(&self) -> &Reg<PLLCSR_SPEC>
pub const fn pllcsr(&self) -> &Reg<PLLCSR_SPEC>
0x16 - PLL Control and status register
Sourcepub const fn osccal(&self) -> &Reg<OSCCAL_SPEC>
pub const fn osccal(&self) -> &Reg<OSCCAL_SPEC>
0x20 - Oscillator Calibration Register
Sourcepub const fn mcusr(&self) -> &Reg<MCUSR_SPEC>
pub const fn mcusr(&self) -> &Reg<MCUSR_SPEC>
0x23 - MCU Status register
Sourcepub const fn mcucr(&self) -> &Reg<MCUCR_SPEC>
pub const fn mcucr(&self) -> &Reg<MCUCR_SPEC>
0x24 - MCU Control 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