Struct esp32::rmt::RegisterBlock

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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn chdata(&self, n: usize) -> &CHDATA

0x00..0x20 -

source

pub fn chdata_iter(&self) -> impl Iterator<Item = &CHDATA>

Iterator for array of: 0x00..0x20 -

source

pub const fn ch0data(&self) -> &CHDATA

0x00 - CH0DATA

source

pub const fn ch1data(&self) -> &CHDATA

0x04 - CH1DATA

source

pub const fn ch2data(&self) -> &CHDATA

0x08 - CH2DATA

source

pub const fn ch3data(&self) -> &CHDATA

0x0c - CH3DATA

source

pub const fn ch4data(&self) -> &CHDATA

0x10 - CH4DATA

source

pub const fn ch5data(&self) -> &CHDATA

0x14 - CH5DATA

source

pub const fn ch6data(&self) -> &CHDATA

0x18 - CH6DATA

source

pub const fn ch7data(&self) -> &CHDATA

0x1c - CH7DATA

source

pub const fn chconf0(&self, n: usize) -> &CHCONF0

0x20..0x40 -

source

pub fn chconf0_iter(&self) -> impl Iterator<Item = &CHCONF0>

Iterator for array of: 0x20..0x40 -

source

pub const fn ch0conf0(&self) -> &CHCONF0

0x20 - CH0CONF0

source

pub const fn ch1conf0(&self) -> &CHCONF0

0x28 - CH1CONF0

source

pub const fn ch2conf0(&self) -> &CHCONF0

0x30 - CH2CONF0

source

pub const fn ch3conf0(&self) -> &CHCONF0

0x38 - CH3CONF0

source

pub const fn ch4conf0(&self) -> &CHCONF0

0x40 - CH4CONF0

source

pub const fn ch5conf0(&self) -> &CHCONF0

0x48 - CH5CONF0

source

pub const fn ch6conf0(&self) -> &CHCONF0

0x50 - CH6CONF0

source

pub const fn ch7conf0(&self) -> &CHCONF0

0x58 - CH7CONF0

source

pub const fn chconf1(&self, n: usize) -> &CHCONF1

0x24..0x44 -

source

pub fn chconf1_iter(&self) -> impl Iterator<Item = &CHCONF1>

Iterator for array of: 0x24..0x44 -

source

pub const fn ch0conf1(&self) -> &CHCONF1

0x24 - CH0CONF1

source

pub const fn ch1conf1(&self) -> &CHCONF1

0x2c - CH1CONF1

source

pub const fn ch2conf1(&self) -> &CHCONF1

0x34 - CH2CONF1

source

pub const fn ch3conf1(&self) -> &CHCONF1

0x3c - CH3CONF1

source

pub const fn ch4conf1(&self) -> &CHCONF1

0x44 - CH4CONF1

source

pub const fn ch5conf1(&self) -> &CHCONF1

0x4c - CH5CONF1

source

pub const fn ch6conf1(&self) -> &CHCONF1

0x54 - CH6CONF1

source

pub const fn ch7conf1(&self) -> &CHCONF1

0x5c - CH7CONF1

source

pub const fn chstatus(&self, n: usize) -> &CHSTATUS

0x60..0x80 -

source

pub fn chstatus_iter(&self) -> impl Iterator<Item = &CHSTATUS>

Iterator for array of: 0x60..0x80 -

source

pub const fn ch0status(&self) -> &CHSTATUS

0x60 - CH0STATUS

source

pub const fn ch1status(&self) -> &CHSTATUS

0x64 - CH1STATUS

source

pub const fn ch2status(&self) -> &CHSTATUS

0x68 - CH2STATUS

source

pub const fn ch3status(&self) -> &CHSTATUS

0x6c - CH3STATUS

source

pub const fn ch4status(&self) -> &CHSTATUS

0x70 - CH4STATUS

source

pub const fn ch5status(&self) -> &CHSTATUS

0x74 - CH5STATUS

source

pub const fn ch6status(&self) -> &CHSTATUS

0x78 - CH6STATUS

source

pub const fn ch7status(&self) -> &CHSTATUS

0x7c - CH7STATUS

source

pub const fn chaddr(&self, n: usize) -> &CHADDR

0x80..0xa0 -

source

pub fn chaddr_iter(&self) -> impl Iterator<Item = &CHADDR>

Iterator for array of: 0x80..0xa0 -

source

pub const fn ch0addr(&self) -> &CHADDR

0x80 - CH0ADDR

source

pub const fn ch1addr(&self) -> &CHADDR

0x84 - CH1ADDR

source

pub const fn ch2addr(&self) -> &CHADDR

0x88 - CH2ADDR

source

pub const fn ch3addr(&self) -> &CHADDR

0x8c - CH3ADDR

source

pub const fn ch4addr(&self) -> &CHADDR

0x90 - CH4ADDR

source

pub const fn ch5addr(&self) -> &CHADDR

0x94 - CH5ADDR

source

pub const fn ch6addr(&self) -> &CHADDR

0x98 - CH6ADDR

source

pub const fn ch7addr(&self) -> &CHADDR

0x9c - CH7ADDR

source

pub const fn int_raw(&self) -> &INT_RAW

0xa0 -

source

pub const fn int_st(&self) -> &INT_ST

0xa4 -

source

pub const fn int_ena(&self) -> &INT_ENA

0xa8 -

source

pub const fn int_clr(&self) -> &INT_CLR

0xac -

source

pub const fn chcarrier_duty(&self, n: usize) -> &CHCARRIER_DUTY

0xb0..0xd0 -

source

pub fn chcarrier_duty_iter(&self) -> impl Iterator<Item = &CHCARRIER_DUTY>

Iterator for array of: 0xb0..0xd0 -

source

pub const fn ch0carrier_duty(&self) -> &CHCARRIER_DUTY

0xb0 - CH0CARRIER_DUTY

source

pub const fn ch1carrier_duty(&self) -> &CHCARRIER_DUTY

0xb4 - CH1CARRIER_DUTY

source

pub const fn ch2carrier_duty(&self) -> &CHCARRIER_DUTY

0xb8 - CH2CARRIER_DUTY

source

pub const fn ch3carrier_duty(&self) -> &CHCARRIER_DUTY

0xbc - CH3CARRIER_DUTY

source

pub const fn ch4carrier_duty(&self) -> &CHCARRIER_DUTY

0xc0 - CH4CARRIER_DUTY

source

pub const fn ch5carrier_duty(&self) -> &CHCARRIER_DUTY

0xc4 - CH5CARRIER_DUTY

source

pub const fn ch6carrier_duty(&self) -> &CHCARRIER_DUTY

0xc8 - CH6CARRIER_DUTY

source

pub const fn ch7carrier_duty(&self) -> &CHCARRIER_DUTY

0xcc - CH7CARRIER_DUTY

source

pub const fn ch_tx_lim(&self, n: usize) -> &CH_TX_LIM

0xd0..0xf0 -

source

pub fn ch_tx_lim_iter(&self) -> impl Iterator<Item = &CH_TX_LIM>

Iterator for array of: 0xd0..0xf0 -

source

pub const fn ch0_tx_lim(&self) -> &CH_TX_LIM

0xd0 - CH0_TX_LIM

source

pub const fn ch1_tx_lim(&self) -> &CH_TX_LIM

0xd4 - CH1_TX_LIM

source

pub const fn ch2_tx_lim(&self) -> &CH_TX_LIM

0xd8 - CH2_TX_LIM

source

pub const fn ch3_tx_lim(&self) -> &CH_TX_LIM

0xdc - CH3_TX_LIM

source

pub const fn ch4_tx_lim(&self) -> &CH_TX_LIM

0xe0 - CH4_TX_LIM

source

pub const fn ch5_tx_lim(&self) -> &CH_TX_LIM

0xe4 - CH5_TX_LIM

source

pub const fn ch6_tx_lim(&self) -> &CH_TX_LIM

0xe8 - CH6_TX_LIM

source

pub const fn ch7_tx_lim(&self) -> &CH_TX_LIM

0xec - CH7_TX_LIM

source

pub const fn apb_conf(&self) -> &APB_CONF

0xf0 -

source

pub const fn date(&self) -> &DATE

0xfc -

Auto Trait Implementations§

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.