Struct esp32c2_hal::pac::dma::in_peri_sel_ch0::R
pub struct R(_);
Expand description
Register IN_PERI_SEL_CH0
reader
Implementations
impl R
impl R
pub fn peri_in_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn peri_in_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:SPI2. 1: reserved. 2: UHCI0. 3: I2S0. 4: reserved. 5: reserved. 6: AES. 7: SHA. 8: ADC_DAC.
Methods from Deref<Target = R<IN_PERI_SEL_CH0_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<IN_PERI_SEL_CH0_SPEC>> for R
impl From<R<IN_PERI_SEL_CH0_SPEC>> for R
fn from(reader: R<IN_PERI_SEL_CH0_SPEC>) -> R
fn from(reader: R<IN_PERI_SEL_CH0_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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