Struct esp32::mcpwm0::RegisterBlock

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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn clk_cfg(&self) -> &CLK_CFG

0x00 -

source

pub const fn timer0_cfg0(&self) -> &TIMER0_CFG0

0x04 -

source

pub const fn timer0_cfg1(&self) -> &TIMER0_CFG1

0x08 -

source

pub const fn timer0_sync(&self) -> &TIMER0_SYNC

0x0c -

source

pub const fn timer0_status(&self) -> &TIMER0_STATUS

0x10 -

source

pub const fn timer1_cfg0(&self) -> &TIMER1_CFG0

0x14 -

source

pub const fn timer1_cfg1(&self) -> &TIMER1_CFG1

0x18 -

source

pub const fn timer1_sync(&self) -> &TIMER1_SYNC

0x1c -

source

pub const fn timer1_status(&self) -> &TIMER1_STATUS

0x20 -

source

pub const fn timer2_cfg0(&self) -> &TIMER2_CFG0

0x24 -

source

pub const fn timer2_cfg1(&self) -> &TIMER2_CFG1

0x28 -

source

pub const fn timer2_sync(&self) -> &TIMER2_SYNC

0x2c -

source

pub const fn timer2_status(&self) -> &TIMER2_STATUS

0x30 -

source

pub const fn timer_synci_cfg(&self) -> &TIMER_SYNCI_CFG

0x34 -

source

pub const fn operator_timersel(&self) -> &OPERATOR_TIMERSEL

0x38 -

source

pub const fn gen0_stmp_cfg(&self) -> &GEN0_STMP_CFG

0x3c -

source

pub const fn gen0_tstmp_a(&self) -> &GEN0_TSTMP_A

0x40 -

source

pub const fn gen0_tstmp_b(&self) -> &GEN0_TSTMP_B

0x44 -

source

pub const fn gen0_cfg0(&self) -> &GEN0_CFG0

0x48 -

source

pub const fn gen0_force(&self) -> &GEN0_FORCE

0x4c -

source

pub const fn gen0_a(&self) -> &GEN0_A

0x50 -

source

pub const fn gen0_b(&self) -> &GEN0_B

0x54 -

source

pub const fn dt0_cfg(&self) -> &DT0_CFG

0x58 -

source

pub const fn dt0_fed_cfg(&self) -> &DT0_FED_CFG

0x5c -

source

pub const fn dt0_red_cfg(&self) -> &DT0_RED_CFG

0x60 -

source

pub const fn carrier0_cfg(&self) -> &CARRIER0_CFG

0x64 -

source

pub const fn fh0_cfg0(&self) -> &FH0_CFG0

0x68 -

source

pub const fn fh0_cfg1(&self) -> &FH0_CFG1

0x6c -

source

pub const fn fh0_status(&self) -> &FH0_STATUS

0x70 -

source

pub const fn gen1_stmp_cfg(&self) -> &GEN1_STMP_CFG

0x74 -

source

pub const fn gen1_tstmp_a(&self) -> &GEN1_TSTMP_A

0x78 -

source

pub const fn gen1_tstmp_b(&self) -> &GEN1_TSTMP_B

0x7c -

source

pub const fn gen1_cfg0(&self) -> &GEN1_CFG0

0x80 -

source

pub const fn gen1_force(&self) -> &GEN1_FORCE

0x84 -

source

pub const fn gen1_a(&self) -> &GEN1_A

0x88 -

source

pub const fn gen1_b(&self) -> &GEN1_B

0x8c -

source

pub const fn dt1_cfg(&self) -> &DT1_CFG

0x90 -

source

pub const fn dt1_fed_cfg(&self) -> &DT1_FED_CFG

0x94 -

source

pub const fn dt1_red_cfg(&self) -> &DT1_RED_CFG

0x98 -

source

pub const fn carrier1_cfg(&self) -> &CARRIER1_CFG

0x9c -

source

pub const fn fh1_cfg0(&self) -> &FH1_CFG0

0xa0 -

source

pub const fn fh1_cfg1(&self) -> &FH1_CFG1

0xa4 -

source

pub const fn fh1_status(&self) -> &FH1_STATUS

0xa8 -

source

pub const fn gen2_stmp_cfg(&self) -> &GEN2_STMP_CFG

0xac -

source

pub const fn gen2_tstmp_a(&self) -> &GEN2_TSTMP_A

0xb0 -

source

pub const fn gen2_tstmp_b(&self) -> &GEN2_TSTMP_B

0xb4 -

source

pub const fn gen2_cfg0(&self) -> &GEN2_CFG0

0xb8 -

source

pub const fn gen2_force(&self) -> &GEN2_FORCE

0xbc -

source

pub const fn gen2_a(&self) -> &GEN2_A

0xc0 -

source

pub const fn gen2_b(&self) -> &GEN2_B

0xc4 -

source

pub const fn dt2_cfg(&self) -> &DT2_CFG

0xc8 -

source

pub const fn dt2_fed_cfg(&self) -> &DT2_FED_CFG

0xcc -

source

pub const fn dt2_red_cfg(&self) -> &DT2_RED_CFG

0xd0 -

source

pub const fn carrier2_cfg(&self) -> &CARRIER2_CFG

0xd4 -

source

pub const fn fh2_cfg0(&self) -> &FH2_CFG0

0xd8 -

source

pub const fn fh2_cfg1(&self) -> &FH2_CFG1

0xdc -

source

pub const fn fh2_status(&self) -> &FH2_STATUS

0xe0 -

source

pub const fn fault_detect(&self) -> &FAULT_DETECT

0xe4 -

source

pub const fn cap_timer_cfg(&self) -> &CAP_TIMER_CFG

0xe8 -

source

pub const fn cap_timer_phase(&self) -> &CAP_TIMER_PHASE

0xec -

source

pub const fn cap_ch0_cfg(&self) -> &CAP_CH0_CFG

0xf0 -

source

pub const fn cap_ch1_cfg(&self) -> &CAP_CH1_CFG

0xf4 -

source

pub const fn cap_ch2_cfg(&self) -> &CAP_CH2_CFG

0xf8 -

source

pub const fn cap_ch0(&self) -> &CAP_CH0

0xfc -

source

pub const fn cap_ch1(&self) -> &CAP_CH1

0x100 -

source

pub const fn cap_ch2(&self) -> &CAP_CH2

0x104 -

source

pub const fn cap_status(&self) -> &CAP_STATUS

0x108 -

source

pub const fn update_cfg(&self) -> &UPDATE_CFG

0x10c -

source

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

0x110 -

source

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

0x114 -

source

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

0x118 -

source

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

0x11c -

source

pub const fn clk(&self) -> &CLK

0x120 -

source

pub const fn version(&self) -> &VERSION

0x124 -

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.