RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn gpior0(&self) -> &GPIOR0

0x00 - General Purpose IO Register 0

Source

pub const fn gpior1(&self) -> &GPIOR1

0x0c - General Purpose IO Register 1

Source

pub const fn gpior2(&self) -> &GPIOR2

0x0d - General Purpose IO Register 2

Source

pub const fn smcr(&self) -> &SMCR

0x15 - Sleep Mode Control Register

Source

pub const fn mcusr(&self) -> &MCUSR

0x16 - MCU Status Register

Source

pub const fn mcucr(&self) -> &MCUCR

0x17 - MCU Control Register

Source

pub const fn rampz(&self) -> &RAMPZ

0x1d - Extended Z-pointer Register for ELPM/SPM

Source

pub const fn eind(&self) -> &EIND

0x1e - Extended Indirect Register

Source

pub const fn clkpr(&self) -> &CLKPR

0x23 - No Description.

Source

pub const fn prr0(&self) -> &PRR0

0x26 - Power Reduction Register0

Source

pub const fn prr1(&self) -> &PRR1

0x27 - Power Reduction Register1

Source

pub const fn osccal(&self) -> &OSCCAL

0x28 - Oscillator Calibration Value

Source

pub const fn rcctrl(&self) -> &RCCTRL

0x29 - Oscillator Control Register

Source

pub const fn clksel0(&self) -> &CLKSEL0

0x87 - No Description.

Source

pub const fn clksel1(&self) -> &CLKSEL1

0x88 - No Description.

Source

pub const fn clksta(&self) -> &CLKSTA

0x89 - No Description.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.