pub struct R<REG: RegisterSpec + ?Sized> { /* private fields */ }
Expand description
Register reader.
Result of the read
methods of registers. Also used as a closure argument in the modify
method.
Implementations
Trait Implementations
sourceimpl From<R<ADAPT_MASK_SPEC>> for R
impl From<R<ADAPT_MASK_SPEC>> for R
sourcefn from(reader: R<ADAPT_MASK_SPEC>) -> Self
fn from(reader: R<ADAPT_MASK_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<ALTERNATE_ENABLE_SPEC>> for R
impl From<R<ALTERNATE_ENABLE_SPEC>> for R
sourcefn from(reader: R<ALTERNATE_ENABLE_SPEC>) -> Self
fn from(reader: R<ALTERNATE_ENABLE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<CLOCK_DIVIDE_SPEC>> for R
impl From<R<CLOCK_DIVIDE_SPEC>> for R
sourcefn from(reader: R<CLOCK_DIVIDE_SPEC>) -> Self
fn from(reader: R<CLOCK_DIVIDE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<CLOCK_ENABLE_SPEC>> for R
impl From<R<CLOCK_ENABLE_SPEC>> for R
sourcefn from(reader: R<CLOCK_ENABLE_SPEC>) -> Self
fn from(reader: R<CLOCK_ENABLE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<CONTROL_REGISTER_SPEC>> for R
impl From<R<CONTROL_REGISTER_SPEC>> for R
sourcefn from(reader: R<CONTROL_REGISTER_SPEC>) -> Self
fn from(reader: R<CONTROL_REGISTER_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<DATA_ENABLE_SPEC>> for R
impl From<R<DATA_ENABLE_SPEC>> for R
sourcefn from(reader: R<DATA_ENABLE_SPEC>) -> Self
fn from(reader: R<DATA_ENABLE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<DATA_VALUE_SPEC>> for R
impl From<R<DATA_VALUE_SPEC>> for R
sourcefn from(reader: R<DATA_VALUE_SPEC>) -> Self
fn from(reader: R<DATA_VALUE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<DEBUG_CONTROL_SPEC>> for R
impl From<R<DEBUG_CONTROL_SPEC>> for R
sourcefn from(reader: R<DEBUG_CONTROL_SPEC>) -> Self
fn from(reader: R<DEBUG_CONTROL_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<DIRECTION_SPEC>> for R
impl From<R<DIRECTION_SPEC>> for R
sourcefn from(reader: R<DIRECTION_SPEC>) -> Self
fn from(reader: R<DIRECTION_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<FUNCTION_HIGH_SPEC>> for R
impl From<R<FUNCTION_HIGH_SPEC>> for R
sourcefn from(reader: R<FUNCTION_HIGH_SPEC>) -> Self
fn from(reader: R<FUNCTION_HIGH_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<FUNCTION_LOW_SPEC>> for R
impl From<R<FUNCTION_LOW_SPEC>> for R
sourcefn from(reader: R<FUNCTION_LOW_SPEC>) -> Self
fn from(reader: R<FUNCTION_LOW_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<I2S_CLOCK_SPEC>> for R
impl From<R<I2S_CLOCK_SPEC>> for R
sourcefn from(reader: R<I2S_CLOCK_SPEC>) -> Self
fn from(reader: R<I2S_CLOCK_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<INTERRUPT_ENABLE_SPEC>> for R
impl From<R<INTERRUPT_ENABLE_SPEC>> for R
sourcefn from(reader: R<INTERRUPT_ENABLE_SPEC>) -> Self
fn from(reader: R<INTERRUPT_ENABLE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<INTERRUPT_SOURCE_SPEC>> for R
impl From<R<INTERRUPT_SOURCE_SPEC>> for R
sourcefn from(reader: R<INTERRUPT_SOURCE_SPEC>) -> Self
fn from(reader: R<INTERRUPT_SOURCE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<INTERRUPT_STATE_RAW_SPEC>> for R
impl From<R<INTERRUPT_STATE_RAW_SPEC>> for R
sourcefn from(reader: R<INTERRUPT_STATE_RAW_SPEC>) -> Self
fn from(reader: R<INTERRUPT_STATE_RAW_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<INTERRUPT_STATE_SPEC>> for R
impl From<R<INTERRUPT_STATE_SPEC>> for R
sourcefn from(reader: R<INTERRUPT_STATE_SPEC>) -> Self
fn from(reader: R<INTERRUPT_STATE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<PULL_DOWN_SPEC>> for R
impl From<R<PULL_DOWN_SPEC>> for R
sourcefn from(reader: R<PULL_DOWN_SPEC>) -> Self
fn from(reader: R<PULL_DOWN_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<PULL_UP_SPEC>> for R
impl From<R<PULL_UP_SPEC>> for R
sourcefn from(reader: R<PULL_UP_SPEC>) -> Self
fn from(reader: R<PULL_UP_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<RESET_CONTROL_SPEC>> for R
impl From<R<RESET_CONTROL_SPEC>> for R
sourcefn from(reader: R<RESET_CONTROL_SPEC>) -> Self
fn from(reader: R<RESET_CONTROL_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<RESET_STATE_SPEC>> for R
impl From<R<RESET_STATE_SPEC>> for R
sourcefn from(reader: R<RESET_STATE_SPEC>) -> Self
fn from(reader: R<RESET_STATE_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<RTC_REGISTER_0_SPEC>> for R
impl From<R<RTC_REGISTER_0_SPEC>> for R
sourcefn from(reader: R<RTC_REGISTER_0_SPEC>) -> Self
fn from(reader: R<RTC_REGISTER_0_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<RTC_REGISTER_1_SPEC>> for R
impl From<R<RTC_REGISTER_1_SPEC>> for R
sourcefn from(reader: R<RTC_REGISTER_1_SPEC>) -> Self
fn from(reader: R<RTC_REGISTER_1_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<TIMER0_SPEC>> for R
impl From<R<TIMER0_SPEC>> for R
sourcefn from(reader: R<TIMER0_SPEC>) -> Self
fn from(reader: R<TIMER0_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<TRIGGER_BOTH_SPEC>> for R
impl From<R<TRIGGER_BOTH_SPEC>> for R
sourcefn from(reader: R<TRIGGER_BOTH_SPEC>) -> Self
fn from(reader: R<TRIGGER_BOTH_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<TRIGGER_EDGE_LEVEL_SPEC>> for R
impl From<R<TRIGGER_EDGE_LEVEL_SPEC>> for R
sourcefn from(reader: R<TRIGGER_EDGE_LEVEL_SPEC>) -> Self
fn from(reader: R<TRIGGER_EDGE_LEVEL_SPEC>) -> Self
Converts to this type from the input type.
sourceimpl From<R<TRIGGER_MODE_SPEC>> for R
impl From<R<TRIGGER_MODE_SPEC>> for R
sourcefn from(reader: R<TRIGGER_MODE_SPEC>) -> Self
fn from(reader: R<TRIGGER_MODE_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<REG: ?Sized> RefUnwindSafe for R<REG> where
REG: RefUnwindSafe,
<REG as RegisterSpec>::Ux: RefUnwindSafe,
impl<REG: ?Sized> Send for R<REG> where
REG: Send,
<REG as RegisterSpec>::Ux: Send,
impl<REG: ?Sized> Sync for R<REG> where
REG: Sync,
<REG as RegisterSpec>::Ux: Sync,
impl<REG: ?Sized> Unpin for R<REG> where
REG: Unpin,
<REG as RegisterSpec>::Ux: Unpin,
impl<REG: ?Sized> UnwindSafe for R<REG> where
REG: UnwindSafe,
<REG as RegisterSpec>::Ux: UnwindSafe,
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