Struct esp32c3::dma::ch::CH

source ·
#[repr(C)]
pub struct CH { /* private fields */ }
Expand description

Cluster CH%s, containing IN_CONF0_CH?, IN_CONF1_CH?, INFIFO_STATUS_CH?, IN_POP_CH?, IN_LINK_CH?, IN_STATE_CH?, IN_SUC_EOF_DES_ADDR_CH?, IN_ERR_EOF_DES_ADDR_CH?, IN_DSCR_CH?, IN_DSCR_BF0_CH?, IN_DSCR_BF1_CH?, IN_PRI_CH?, IN_PERI_SEL_CH?, OUT_CONF0_CH?, OUT_CONF1_CH?, OUTFIFO_STATUS_CH?, OUT_PUSH_CH?, OUT_LINK_CH?, OUT_STATE_CH?, OUT_EOF_DES_ADDR_CH?, OUT_EOF_BFR_DES_ADDR_CH?, OUT_DSCR_CH?, OUT_DSCR_BF0_CH?, OUT_DSCR_BF1_CH?, OUT_PRI_CH?, OUT_PERI_SEL_CH?

Implementations§

source§

impl CH

source

pub const fn in_conf0(&self) -> &IN_CONF0

0x00 - DMA_IN_CONF0_CH0_REG.

source

pub const fn in_conf1(&self) -> &IN_CONF1

0x04 - DMA_IN_CONF1_CH0_REG.

source

pub const fn infifo_status(&self) -> &INFIFO_STATUS

0x08 - DMA_INFIFO_STATUS_CH0_REG.

source

pub const fn in_pop(&self) -> &IN_POP

0x0c - DMA_IN_POP_CH0_REG.

0x10 - DMA_IN_LINK_CH0_REG.

source

pub const fn in_state(&self) -> &IN_STATE

0x14 - DMA_IN_STATE_CH0_REG.

source

pub const fn in_suc_eof_des_addr(&self) -> &IN_SUC_EOF_DES_ADDR

0x18 - DMA_IN_SUC_EOF_DES_ADDR_CH0_REG.

source

pub const fn in_err_eof_des_addr(&self) -> &IN_ERR_EOF_DES_ADDR

0x1c - DMA_IN_ERR_EOF_DES_ADDR_CH0_REG.

source

pub const fn in_dscr(&self) -> &IN_DSCR

0x20 - DMA_IN_DSCR_CH0_REG.

source

pub const fn in_dscr_bf0(&self) -> &IN_DSCR_BF0

0x24 - DMA_IN_DSCR_BF0_CH0_REG.

source

pub const fn in_dscr_bf1(&self) -> &IN_DSCR_BF1

0x28 - DMA_IN_DSCR_BF1_CH0_REG.

source

pub const fn in_pri(&self) -> &IN_PRI

0x2c - DMA_IN_PRI_CH0_REG.

source

pub const fn in_peri_sel(&self) -> &IN_PERI_SEL

0x30 - DMA_IN_PERI_SEL_CH0_REG.

source

pub const fn out_conf0(&self) -> &OUT_CONF0

0x60 - DMA_OUT_CONF0_CH0_REG.

source

pub const fn out_conf1(&self) -> &OUT_CONF1

0x64 - DMA_OUT_CONF1_CH0_REG.

source

pub const fn outfifo_status(&self) -> &OUTFIFO_STATUS

0x68 - DMA_OUTFIFO_STATUS_CH0_REG.

source

pub const fn out_push(&self) -> &OUT_PUSH

0x6c - DMA_OUT_PUSH_CH0_REG.

0x70 - DMA_OUT_LINK_CH0_REG.

source

pub const fn out_state(&self) -> &OUT_STATE

0x74 - DMA_OUT_STATE_CH0_REG.

source

pub const fn out_eof_des_addr(&self) -> &OUT_EOF_DES_ADDR

0x78 - DMA_OUT_EOF_DES_ADDR_CH0_REG.

source

pub const fn out_eof_bfr_des_addr(&self) -> &OUT_EOF_BFR_DES_ADDR

0x7c - DMA_OUT_EOF_BFR_DES_ADDR_CH0_REG.

source

pub const fn out_dscr(&self) -> &OUT_DSCR

0x80 - DMA_OUT_DSCR_CH0_REG.

source

pub const fn out_dscr_bf0(&self) -> &OUT_DSCR_BF0

0x84 - DMA_OUT_DSCR_BF0_CH0_REG.

source

pub const fn out_dscr_bf1(&self) -> &OUT_DSCR_BF1

0x88 - DMA_OUT_DSCR_BF1_CH0_REG.

source

pub const fn out_pri(&self) -> &OUT_PRI

0x8c - DMA_OUT_PRI_CH0_REG.

source

pub const fn out_peri_sel(&self) -> &OUT_PERI_SEL

0x90 - DMA_OUT_PERI_SEL_CH0_REG.

Auto Trait Implementations§

§

impl !Freeze for CH

§

impl !RefUnwindSafe for CH

§

impl Send for CH

§

impl !Sync for CH

§

impl Unpin for CH

§

impl UnwindSafe for CH

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>,

§

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>,

§

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.