Struct atsam4n8b_pac::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<ABCDSR_SPEC>> for R
impl From<R<ABCDSR_SPEC>> for R
source§fn from(reader: R<ABCDSR_SPEC>) -> Self
fn from(reader: R<ABCDSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<ABCDSR_SPEC>> for R
impl From<R<ABCDSR_SPEC>> for R
source§fn from(reader: R<ABCDSR_SPEC>) -> Self
fn from(reader: R<ABCDSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<AIMMR_SPEC>> for R
impl From<R<AIMMR_SPEC>> for R
source§fn from(reader: R<AIMMR_SPEC>) -> Self
fn from(reader: R<AIMMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<AIMMR_SPEC>> for R
impl From<R<AIMMR_SPEC>> for R
source§fn from(reader: R<AIMMR_SPEC>) -> Self
fn from(reader: R<AIMMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CALALR_SPEC>> for R
impl From<R<CALALR_SPEC>> for R
source§fn from(reader: R<CALALR_SPEC>) -> Self
fn from(reader: R<CALALR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CCFG_SYSIO_SPEC>> for R
impl From<R<CCFG_SYSIO_SPEC>> for R
source§fn from(reader: R<CCFG_SYSIO_SPEC>) -> Self
fn from(reader: R<CCFG_SYSIO_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CCNT0_SPEC>> for R
impl From<R<CCNT0_SPEC>> for R
source§fn from(reader: R<CCNT0_SPEC>) -> Self
fn from(reader: R<CCNT0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CCNT1_SPEC>> for R
impl From<R<CCNT1_SPEC>> for R
source§fn from(reader: R<CCNT1_SPEC>) -> Self
fn from(reader: R<CCNT1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CCNT2_SPEC>> for R
impl From<R<CCNT2_SPEC>> for R
source§fn from(reader: R<CCNT2_SPEC>) -> Self
fn from(reader: R<CCNT2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CCNT3_SPEC>> for R
impl From<R<CCNT3_SPEC>> for R
source§fn from(reader: R<CCNT3_SPEC>) -> Self
fn from(reader: R<CCNT3_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CDTY0_SPEC>> for R
impl From<R<CDTY0_SPEC>> for R
source§fn from(reader: R<CDTY0_SPEC>) -> Self
fn from(reader: R<CDTY0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CDTY1_SPEC>> for R
impl From<R<CDTY1_SPEC>> for R
source§fn from(reader: R<CDTY1_SPEC>) -> Self
fn from(reader: R<CDTY1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CDTY2_SPEC>> for R
impl From<R<CDTY2_SPEC>> for R
source§fn from(reader: R<CDTY2_SPEC>) -> Self
fn from(reader: R<CDTY2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CDTY3_SPEC>> for R
impl From<R<CDTY3_SPEC>> for R
source§fn from(reader: R<CDTY3_SPEC>) -> Self
fn from(reader: R<CDTY3_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CKGR_MCFR_SPEC>> for R
impl From<R<CKGR_MCFR_SPEC>> for R
source§fn from(reader: R<CKGR_MCFR_SPEC>) -> Self
fn from(reader: R<CKGR_MCFR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CKGR_MOR_SPEC>> for R
impl From<R<CKGR_MOR_SPEC>> for R
source§fn from(reader: R<CKGR_MOR_SPEC>) -> Self
fn from(reader: R<CKGR_MOR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CKGR_PLLAR_SPEC>> for R
impl From<R<CKGR_PLLAR_SPEC>> for R
source§fn from(reader: R<CKGR_PLLAR_SPEC>) -> Self
fn from(reader: R<CKGR_PLLAR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CPRD0_SPEC>> for R
impl From<R<CPRD0_SPEC>> for R
source§fn from(reader: R<CPRD0_SPEC>) -> Self
fn from(reader: R<CPRD0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CPRD1_SPEC>> for R
impl From<R<CPRD1_SPEC>> for R
source§fn from(reader: R<CPRD1_SPEC>) -> Self
fn from(reader: R<CPRD1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CPRD2_SPEC>> for R
impl From<R<CPRD2_SPEC>> for R
source§fn from(reader: R<CPRD2_SPEC>) -> Self
fn from(reader: R<CPRD2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<CPRD3_SPEC>> for R
impl From<R<CPRD3_SPEC>> for R
source§fn from(reader: R<CPRD3_SPEC>) -> Self
fn from(reader: R<CPRD3_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<FRLHSR_SPEC>> for R
impl From<R<FRLHSR_SPEC>> for R
source§fn from(reader: R<FRLHSR_SPEC>) -> Self
fn from(reader: R<FRLHSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<FRLHSR_SPEC>> for R
impl From<R<FRLHSR_SPEC>> for R
source§fn from(reader: R<FRLHSR_SPEC>) -> Self
fn from(reader: R<FRLHSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<IFSCSR_SPEC>> for R
impl From<R<IFSCSR_SPEC>> for R
source§fn from(reader: R<IFSCSR_SPEC>) -> Self
fn from(reader: R<IFSCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<IFSCSR_SPEC>> for R
impl From<R<IFSCSR_SPEC>> for R
source§fn from(reader: R<IFSCSR_SPEC>) -> Self
fn from(reader: R<IFSCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MATRIX_MCFG_SPEC>> for R
impl From<R<MATRIX_MCFG_SPEC>> for R
source§fn from(reader: R<MATRIX_MCFG_SPEC>) -> Self
fn from(reader: R<MATRIX_MCFG_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MATRIX_PRAS0_SPEC>> for R
impl From<R<MATRIX_PRAS0_SPEC>> for R
source§fn from(reader: R<MATRIX_PRAS0_SPEC>) -> Self
fn from(reader: R<MATRIX_PRAS0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MATRIX_PRAS1_SPEC>> for R
impl From<R<MATRIX_PRAS1_SPEC>> for R
source§fn from(reader: R<MATRIX_PRAS1_SPEC>) -> Self
fn from(reader: R<MATRIX_PRAS1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MATRIX_PRAS2_SPEC>> for R
impl From<R<MATRIX_PRAS2_SPEC>> for R
source§fn from(reader: R<MATRIX_PRAS2_SPEC>) -> Self
fn from(reader: R<MATRIX_PRAS2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MATRIX_PRAS3_SPEC>> for R
impl From<R<MATRIX_PRAS3_SPEC>> for R
source§fn from(reader: R<MATRIX_PRAS3_SPEC>) -> Self
fn from(reader: R<MATRIX_PRAS3_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<MATRIX_SCFG_SPEC>> for R
impl From<R<MATRIX_SCFG_SPEC>> for R
source§fn from(reader: R<MATRIX_SCFG_SPEC>) -> Self
fn from(reader: R<MATRIX_SCFG_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_FSMR_SPEC>> for R
impl From<R<PMC_FSMR_SPEC>> for R
source§fn from(reader: R<PMC_FSMR_SPEC>) -> Self
fn from(reader: R<PMC_FSMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_FSPR_SPEC>> for R
impl From<R<PMC_FSPR_SPEC>> for R
source§fn from(reader: R<PMC_FSPR_SPEC>) -> Self
fn from(reader: R<PMC_FSPR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_IMR_SPEC>> for R
impl From<R<PMC_IMR_SPEC>> for R
source§fn from(reader: R<PMC_IMR_SPEC>) -> Self
fn from(reader: R<PMC_IMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_MCKR_SPEC>> for R
impl From<R<PMC_MCKR_SPEC>> for R
source§fn from(reader: R<PMC_MCKR_SPEC>) -> Self
fn from(reader: R<PMC_MCKR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_OCR_SPEC>> for R
impl From<R<PMC_OCR_SPEC>> for R
source§fn from(reader: R<PMC_OCR_SPEC>) -> Self
fn from(reader: R<PMC_OCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_PCK_SPEC>> for R
impl From<R<PMC_PCK_SPEC>> for R
source§fn from(reader: R<PMC_PCK_SPEC>) -> Self
fn from(reader: R<PMC_PCK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_PCSR0_SPEC>> for R
impl From<R<PMC_PCSR0_SPEC>> for R
source§fn from(reader: R<PMC_PCSR0_SPEC>) -> Self
fn from(reader: R<PMC_PCSR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_PMMR_SPEC>> for R
impl From<R<PMC_PMMR_SPEC>> for R
source§fn from(reader: R<PMC_PMMR_SPEC>) -> Self
fn from(reader: R<PMC_PMMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_SCSR_SPEC>> for R
impl From<R<PMC_SCSR_SPEC>> for R
source§fn from(reader: R<PMC_SCSR_SPEC>) -> Self
fn from(reader: R<PMC_SCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_SR_SPEC>> for R
impl From<R<PMC_SR_SPEC>> for R
source§fn from(reader: R<PMC_SR_SPEC>) -> Self
fn from(reader: R<PMC_SR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_WPMR_SPEC>> for R
impl From<R<PMC_WPMR_SPEC>> for R
source§fn from(reader: R<PMC_WPMR_SPEC>) -> Self
fn from(reader: R<PMC_WPMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PMC_WPSR_SPEC>> for R
impl From<R<PMC_WPSR_SPEC>> for R
source§fn from(reader: R<PMC_WPSR_SPEC>) -> Self
fn from(reader: R<PMC_WPSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PPDSR_SPEC>> for R
impl From<R<PPDSR_SPEC>> for R
source§fn from(reader: R<PPDSR_SPEC>) -> Self
fn from(reader: R<PPDSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PPDSR_SPEC>> for R
impl From<R<PPDSR_SPEC>> for R
source§fn from(reader: R<PPDSR_SPEC>) -> Self
fn from(reader: R<PPDSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<PTSR2_SPEC>> for R
impl From<R<PTSR2_SPEC>> for R
source§fn from(reader: R<PTSR2_SPEC>) -> Self
fn from(reader: R<PTSR2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<RNCR2_SPEC>> for R
impl From<R<RNCR2_SPEC>> for R
source§fn from(reader: R<RNCR2_SPEC>) -> Self
fn from(reader: R<RNCR2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<RNPR2_SPEC>> for R
impl From<R<RNPR2_SPEC>> for R
source§fn from(reader: R<RNPR2_SPEC>) -> Self
fn from(reader: R<RNPR2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SCHMITT_SPEC>> for R
impl From<R<SCHMITT_SPEC>> for R
source§fn from(reader: R<SCHMITT_SPEC>) -> Self
fn from(reader: R<SCHMITT_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SCHMITT_SPEC>> for R
impl From<R<SCHMITT_SPEC>> for R
source§fn from(reader: R<SCHMITT_SPEC>) -> Self
fn from(reader: R<SCHMITT_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SMMR0_SPEC>> for R
impl From<R<SMMR0_SPEC>> for R
source§fn from(reader: R<SMMR0_SPEC>) -> Self
fn from(reader: R<SMMR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SMMR1_SPEC>> for R
impl From<R<SMMR1_SPEC>> for R
source§fn from(reader: R<SMMR1_SPEC>) -> Self
fn from(reader: R<SMMR1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SMMR2_SPEC>> for R
impl From<R<SMMR2_SPEC>> for R
source§fn from(reader: R<SMMR2_SPEC>) -> Self
fn from(reader: R<SMMR2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPI_MODE_CSR_SPI_MODE_SPEC>> for R
impl From<R<SPI_MODE_CSR_SPI_MODE_SPEC>> for R
source§fn from(reader: R<SPI_MODE_CSR_SPI_MODE_SPEC>) -> Self
fn from(reader: R<SPI_MODE_CSR_SPI_MODE_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPI_MODE_CSR_SPI_MODE_SPEC>> for R
impl From<R<SPI_MODE_CSR_SPI_MODE_SPEC>> for R
source§fn from(reader: R<SPI_MODE_CSR_SPI_MODE_SPEC>) -> Self
fn from(reader: R<SPI_MODE_CSR_SPI_MODE_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPI_MODE_IMR_SPI_MODE_SPEC>> for R
impl From<R<SPI_MODE_IMR_SPI_MODE_SPEC>> for R
source§fn from(reader: R<SPI_MODE_IMR_SPI_MODE_SPEC>) -> Self
fn from(reader: R<SPI_MODE_IMR_SPI_MODE_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPI_MODE_IMR_SPI_MODE_SPEC>> for R
impl From<R<SPI_MODE_IMR_SPI_MODE_SPEC>> for R
source§fn from(reader: R<SPI_MODE_IMR_SPI_MODE_SPEC>) -> Self
fn from(reader: R<SPI_MODE_IMR_SPI_MODE_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPI_MODE_MR_SPI_MODE_SPEC>> for R
impl From<R<SPI_MODE_MR_SPI_MODE_SPEC>> for R
source§fn from(reader: R<SPI_MODE_MR_SPI_MODE_SPEC>) -> Self
fn from(reader: R<SPI_MODE_MR_SPI_MODE_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<SPI_MODE_MR_SPI_MODE_SPEC>> for R
impl From<R<SPI_MODE_MR_SPI_MODE_SPEC>> for R
source§fn from(reader: R<SPI_MODE_MR_SPI_MODE_SPEC>) -> Self
fn from(reader: R<SPI_MODE_MR_SPI_MODE_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TEMPCWR_SPEC>> for R
impl From<R<TEMPCWR_SPEC>> for R
source§fn from(reader: R<TEMPCWR_SPEC>) -> Self
fn from(reader: R<TEMPCWR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TEMPMR_SPEC>> for R
impl From<R<TEMPMR_SPEC>> for R
source§fn from(reader: R<TEMPMR_SPEC>) -> Self
fn from(reader: R<TEMPMR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<TIMALR_SPEC>> for R
impl From<R<TIMALR_SPEC>> for R
source§fn from(reader: R<TIMALR_SPEC>) -> Self
fn from(reader: R<TIMALR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<WAVE_EQ_1_CMR0_WAVE_EQ_1_SPEC>> for R
impl From<R<WAVE_EQ_1_CMR0_WAVE_EQ_1_SPEC>> for R
source§fn from(reader: R<WAVE_EQ_1_CMR0_WAVE_EQ_1_SPEC>) -> Self
fn from(reader: R<WAVE_EQ_1_CMR0_WAVE_EQ_1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<WAVE_EQ_1_CMR1_WAVE_EQ_1_SPEC>> for R
impl From<R<WAVE_EQ_1_CMR1_WAVE_EQ_1_SPEC>> for R
source§fn from(reader: R<WAVE_EQ_1_CMR1_WAVE_EQ_1_SPEC>) -> Self
fn from(reader: R<WAVE_EQ_1_CMR1_WAVE_EQ_1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<R<WAVE_EQ_1_CMR2_WAVE_EQ_1_SPEC>> for R
impl From<R<WAVE_EQ_1_CMR2_WAVE_EQ_1_SPEC>> for R
source§fn from(reader: R<WAVE_EQ_1_CMR2_WAVE_EQ_1_SPEC>) -> Self
fn from(reader: R<WAVE_EQ_1_CMR2_WAVE_EQ_1_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§
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