Struct avr_device::generic::R
source · 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§
source§impl From<R<ADCSRA_SPEC>> for R
impl From<R<ADCSRA_SPEC>> for R
source§fn from(reader: R<ADCSRA_SPEC>) -> Self
fn from(reader: R<ADCSRA_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<ADCSRB_SPEC>> for R
impl From<R<ADCSRB_SPEC>> for R
source§fn from(reader: R<ADCSRB_SPEC>) -> Self
fn from(reader: R<ADCSRB_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<ADCSRB_SPEC>> for R
impl From<R<ADCSRB_SPEC>> for R
source§fn from(reader: R<ADCSRB_SPEC>) -> Self
fn from(reader: R<ADCSRB_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<ADMUX_SPEC>> for R
impl From<R<ADMUX_SPEC>> for R
source§fn from(reader: R<ADMUX_SPEC>) -> Self
fn from(reader: R<ADMUX_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CLKPR_SPEC>> for R
impl From<R<CLKPR_SPEC>> for R
source§fn from(reader: R<CLKPR_SPEC>) -> Self
fn from(reader: R<CLKPR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<DIDR0_SPEC>> for R
impl From<R<DIDR0_SPEC>> for R
source§fn from(reader: R<DIDR0_SPEC>) -> Self
fn from(reader: R<DIDR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<DIDR0_SPEC>> for R
impl From<R<DIDR0_SPEC>> for R
source§fn from(reader: R<DIDR0_SPEC>) -> Self
fn from(reader: R<DIDR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<EXTENDED_SPEC>> for R
impl From<R<EXTENDED_SPEC>> for R
source§fn from(reader: R<EXTENDED_SPEC>) -> Self
fn from(reader: R<EXTENDED_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<GIMSK_SPEC>> for R
impl From<R<GIMSK_SPEC>> for R
source§fn from(reader: R<GIMSK_SPEC>) -> Self
fn from(reader: R<GIMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<GPIOR0_SPEC>> for R
impl From<R<GPIOR0_SPEC>> for R
source§fn from(reader: R<GPIOR0_SPEC>) -> Self
fn from(reader: R<GPIOR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<GPIOR1_SPEC>> for R
impl From<R<GPIOR1_SPEC>> for R
source§fn from(reader: R<GPIOR1_SPEC>) -> Self
fn from(reader: R<GPIOR1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<GPIOR2_SPEC>> for R
impl From<R<GPIOR2_SPEC>> for R
source§fn from(reader: R<GPIOR2_SPEC>) -> Self
fn from(reader: R<GPIOR2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<GTCCR_SPEC>> for R
impl From<R<GTCCR_SPEC>> for R
source§fn from(reader: R<GTCCR_SPEC>) -> Self
fn from(reader: R<GTCCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<GTCCR_SPEC>> for R
impl From<R<GTCCR_SPEC>> for R
source§fn from(reader: R<GTCCR_SPEC>) -> Self
fn from(reader: R<GTCCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<LOCKBIT_SPEC>> for R
impl From<R<LOCKBIT_SPEC>> for R
source§fn from(reader: R<LOCKBIT_SPEC>) -> Self
fn from(reader: R<LOCKBIT_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MCUCR_SPEC>> for R
impl From<R<MCUCR_SPEC>> for R
source§fn from(reader: R<MCUCR_SPEC>) -> Self
fn from(reader: R<MCUCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MCUCR_SPEC>> for R
impl From<R<MCUCR_SPEC>> for R
source§fn from(reader: R<MCUCR_SPEC>) -> Self
fn from(reader: R<MCUCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MCUSR_SPEC>> for R
impl From<R<MCUSR_SPEC>> for R
source§fn from(reader: R<MCUSR_SPEC>) -> Self
fn from(reader: R<MCUSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<OCR0A_SPEC>> for R
impl From<R<OCR0A_SPEC>> for R
source§fn from(reader: R<OCR0A_SPEC>) -> Self
fn from(reader: R<OCR0A_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<OCR0B_SPEC>> for R
impl From<R<OCR0B_SPEC>> for R
source§fn from(reader: R<OCR0B_SPEC>) -> Self
fn from(reader: R<OCR0B_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<OCR1A_SPEC>> for R
impl From<R<OCR1A_SPEC>> for R
source§fn from(reader: R<OCR1A_SPEC>) -> Self
fn from(reader: R<OCR1A_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<OCR1B_SPEC>> for R
impl From<R<OCR1B_SPEC>> for R
source§fn from(reader: R<OCR1B_SPEC>) -> Self
fn from(reader: R<OCR1B_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<OCR1C_SPEC>> for R
impl From<R<OCR1C_SPEC>> for R
source§fn from(reader: R<OCR1C_SPEC>) -> Self
fn from(reader: R<OCR1C_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<OSCCAL_SPEC>> for R
impl From<R<OSCCAL_SPEC>> for R
source§fn from(reader: R<OSCCAL_SPEC>) -> Self
fn from(reader: R<OSCCAL_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PCMSK_SPEC>> for R
impl From<R<PCMSK_SPEC>> for R
source§fn from(reader: R<PCMSK_SPEC>) -> Self
fn from(reader: R<PCMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PLLCSR_SPEC>> for R
impl From<R<PLLCSR_SPEC>> for R
source§fn from(reader: R<PLLCSR_SPEC>) -> Self
fn from(reader: R<PLLCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PORTB_SPEC>> for R
impl From<R<PORTB_SPEC>> for R
source§fn from(reader: R<PORTB_SPEC>) -> Self
fn from(reader: R<PORTB_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPMCSR_SPEC>> for R
impl From<R<SPMCSR_SPEC>> for R
source§fn from(reader: R<SPMCSR_SPEC>) -> Self
fn from(reader: R<SPMCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TCCR0A_SPEC>> for R
impl From<R<TCCR0A_SPEC>> for R
source§fn from(reader: R<TCCR0A_SPEC>) -> Self
fn from(reader: R<TCCR0A_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TCCR0B_SPEC>> for R
impl From<R<TCCR0B_SPEC>> for R
source§fn from(reader: R<TCCR0B_SPEC>) -> Self
fn from(reader: R<TCCR0B_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TCCR1_SPEC>> for R
impl From<R<TCCR1_SPEC>> for R
source§fn from(reader: R<TCCR1_SPEC>) -> Self
fn from(reader: R<TCCR1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TCNT0_SPEC>> for R
impl From<R<TCNT0_SPEC>> for R
source§fn from(reader: R<TCNT0_SPEC>) -> Self
fn from(reader: R<TCNT0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TCNT1_SPEC>> for R
impl From<R<TCNT1_SPEC>> for R
source§fn from(reader: R<TCNT1_SPEC>) -> Self
fn from(reader: R<TCNT1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TIMSK_SPEC>> for R
impl From<R<TIMSK_SPEC>> for R
source§fn from(reader: R<TIMSK_SPEC>) -> Self
fn from(reader: R<TIMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TIMSK_SPEC>> for R
impl From<R<TIMSK_SPEC>> for R
source§fn from(reader: R<TIMSK_SPEC>) -> Self
fn from(reader: R<TIMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<USIBR_SPEC>> for R
impl From<R<USIBR_SPEC>> for R
source§fn from(reader: R<USIBR_SPEC>) -> Self
fn from(reader: R<USIBR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<USICR_SPEC>> for R
impl From<R<USICR_SPEC>> for R
source§fn from(reader: R<USICR_SPEC>) -> Self
fn from(reader: R<USICR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<USIDR_SPEC>> for R
impl From<R<USIDR_SPEC>> for R
source§fn from(reader: R<USIDR_SPEC>) -> Self
fn from(reader: R<USIDR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<USISR_SPEC>> for R
impl From<R<USISR_SPEC>> for R
source§fn from(reader: R<USISR_SPEC>) -> Self
fn from(reader: R<USISR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<WDTCR_SPEC>> for R
impl From<R<WDTCR_SPEC>> for R
source§fn from(reader: R<WDTCR_SPEC>) -> Self
fn from(reader: R<WDTCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl<REG: RegisterSpec, FI> PartialEq<FI> for R<REG>
impl<REG: RegisterSpec, FI> PartialEq<FI> for R<REG>
Auto Trait Implementations§
impl<REG: ?Sized> Freeze for R<REG>
impl<REG: ?Sized> RefUnwindSafe for R<REG>
impl<REG: ?Sized> Send for R<REG>
impl<REG: ?Sized> Sync for R<REG>
impl<REG: ?Sized> Unpin for R<REG>
impl<REG: ?Sized> UnwindSafe for R<REG>
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