Struct esp32::mcpwm0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn timer0_cfg0(&self) -> &TIMER0_CFG0
pub const fn timer0_cfg0(&self) -> &TIMER0_CFG0
0x04 -
sourcepub const fn timer0_cfg1(&self) -> &TIMER0_CFG1
pub const fn timer0_cfg1(&self) -> &TIMER0_CFG1
0x08 -
sourcepub const fn timer0_sync(&self) -> &TIMER0_SYNC
pub const fn timer0_sync(&self) -> &TIMER0_SYNC
0x0c -
sourcepub const fn timer0_status(&self) -> &TIMER0_STATUS
pub const fn timer0_status(&self) -> &TIMER0_STATUS
0x10 -
sourcepub const fn timer1_cfg0(&self) -> &TIMER1_CFG0
pub const fn timer1_cfg0(&self) -> &TIMER1_CFG0
0x14 -
sourcepub const fn timer1_cfg1(&self) -> &TIMER1_CFG1
pub const fn timer1_cfg1(&self) -> &TIMER1_CFG1
0x18 -
sourcepub const fn timer1_sync(&self) -> &TIMER1_SYNC
pub const fn timer1_sync(&self) -> &TIMER1_SYNC
0x1c -
sourcepub const fn timer1_status(&self) -> &TIMER1_STATUS
pub const fn timer1_status(&self) -> &TIMER1_STATUS
0x20 -
sourcepub const fn timer2_cfg0(&self) -> &TIMER2_CFG0
pub const fn timer2_cfg0(&self) -> &TIMER2_CFG0
0x24 -
sourcepub const fn timer2_cfg1(&self) -> &TIMER2_CFG1
pub const fn timer2_cfg1(&self) -> &TIMER2_CFG1
0x28 -
sourcepub const fn timer2_sync(&self) -> &TIMER2_SYNC
pub const fn timer2_sync(&self) -> &TIMER2_SYNC
0x2c -
sourcepub const fn timer2_status(&self) -> &TIMER2_STATUS
pub const fn timer2_status(&self) -> &TIMER2_STATUS
0x30 -
sourcepub const fn timer_synci_cfg(&self) -> &TIMER_SYNCI_CFG
pub const fn timer_synci_cfg(&self) -> &TIMER_SYNCI_CFG
0x34 -
sourcepub const fn operator_timersel(&self) -> &OPERATOR_TIMERSEL
pub const fn operator_timersel(&self) -> &OPERATOR_TIMERSEL
0x38 -
sourcepub const fn gen0_stmp_cfg(&self) -> &GEN0_STMP_CFG
pub const fn gen0_stmp_cfg(&self) -> &GEN0_STMP_CFG
0x3c -
sourcepub const fn gen0_tstmp_a(&self) -> &GEN0_TSTMP_A
pub const fn gen0_tstmp_a(&self) -> &GEN0_TSTMP_A
0x40 -
sourcepub const fn gen0_tstmp_b(&self) -> &GEN0_TSTMP_B
pub const fn gen0_tstmp_b(&self) -> &GEN0_TSTMP_B
0x44 -
sourcepub const fn gen0_force(&self) -> &GEN0_FORCE
pub const fn gen0_force(&self) -> &GEN0_FORCE
0x4c -
sourcepub const fn dt0_fed_cfg(&self) -> &DT0_FED_CFG
pub const fn dt0_fed_cfg(&self) -> &DT0_FED_CFG
0x5c -
sourcepub const fn dt0_red_cfg(&self) -> &DT0_RED_CFG
pub const fn dt0_red_cfg(&self) -> &DT0_RED_CFG
0x60 -
sourcepub const fn carrier0_cfg(&self) -> &CARRIER0_CFG
pub const fn carrier0_cfg(&self) -> &CARRIER0_CFG
0x64 -
sourcepub const fn fh0_status(&self) -> &FH0_STATUS
pub const fn fh0_status(&self) -> &FH0_STATUS
0x70 -
sourcepub const fn gen1_stmp_cfg(&self) -> &GEN1_STMP_CFG
pub const fn gen1_stmp_cfg(&self) -> &GEN1_STMP_CFG
0x74 -
sourcepub const fn gen1_tstmp_a(&self) -> &GEN1_TSTMP_A
pub const fn gen1_tstmp_a(&self) -> &GEN1_TSTMP_A
0x78 -
sourcepub const fn gen1_tstmp_b(&self) -> &GEN1_TSTMP_B
pub const fn gen1_tstmp_b(&self) -> &GEN1_TSTMP_B
0x7c -
sourcepub const fn gen1_force(&self) -> &GEN1_FORCE
pub const fn gen1_force(&self) -> &GEN1_FORCE
0x84 -
sourcepub const fn dt1_fed_cfg(&self) -> &DT1_FED_CFG
pub const fn dt1_fed_cfg(&self) -> &DT1_FED_CFG
0x94 -
sourcepub const fn dt1_red_cfg(&self) -> &DT1_RED_CFG
pub const fn dt1_red_cfg(&self) -> &DT1_RED_CFG
0x98 -
sourcepub const fn carrier1_cfg(&self) -> &CARRIER1_CFG
pub const fn carrier1_cfg(&self) -> &CARRIER1_CFG
0x9c -
sourcepub const fn fh1_status(&self) -> &FH1_STATUS
pub const fn fh1_status(&self) -> &FH1_STATUS
0xa8 -
sourcepub const fn gen2_stmp_cfg(&self) -> &GEN2_STMP_CFG
pub const fn gen2_stmp_cfg(&self) -> &GEN2_STMP_CFG
0xac -
sourcepub const fn gen2_tstmp_a(&self) -> &GEN2_TSTMP_A
pub const fn gen2_tstmp_a(&self) -> &GEN2_TSTMP_A
0xb0 -
sourcepub const fn gen2_tstmp_b(&self) -> &GEN2_TSTMP_B
pub const fn gen2_tstmp_b(&self) -> &GEN2_TSTMP_B
0xb4 -
sourcepub const fn gen2_force(&self) -> &GEN2_FORCE
pub const fn gen2_force(&self) -> &GEN2_FORCE
0xbc -
sourcepub const fn dt2_fed_cfg(&self) -> &DT2_FED_CFG
pub const fn dt2_fed_cfg(&self) -> &DT2_FED_CFG
0xcc -
sourcepub const fn dt2_red_cfg(&self) -> &DT2_RED_CFG
pub const fn dt2_red_cfg(&self) -> &DT2_RED_CFG
0xd0 -
sourcepub const fn carrier2_cfg(&self) -> &CARRIER2_CFG
pub const fn carrier2_cfg(&self) -> &CARRIER2_CFG
0xd4 -
sourcepub const fn fh2_status(&self) -> &FH2_STATUS
pub const fn fh2_status(&self) -> &FH2_STATUS
0xe0 -
sourcepub const fn fault_detect(&self) -> &FAULT_DETECT
pub const fn fault_detect(&self) -> &FAULT_DETECT
0xe4 -
sourcepub const fn cap_timer_cfg(&self) -> &CAP_TIMER_CFG
pub const fn cap_timer_cfg(&self) -> &CAP_TIMER_CFG
0xe8 -
sourcepub const fn cap_timer_phase(&self) -> &CAP_TIMER_PHASE
pub const fn cap_timer_phase(&self) -> &CAP_TIMER_PHASE
0xec -
sourcepub const fn cap_ch0_cfg(&self) -> &CAP_CH0_CFG
pub const fn cap_ch0_cfg(&self) -> &CAP_CH0_CFG
0xf0 -
sourcepub const fn cap_ch1_cfg(&self) -> &CAP_CH1_CFG
pub const fn cap_ch1_cfg(&self) -> &CAP_CH1_CFG
0xf4 -
sourcepub const fn cap_ch2_cfg(&self) -> &CAP_CH2_CFG
pub const fn cap_ch2_cfg(&self) -> &CAP_CH2_CFG
0xf8 -
sourcepub const fn cap_status(&self) -> &CAP_STATUS
pub const fn cap_status(&self) -> &CAP_STATUS
0x108 -
sourcepub const fn update_cfg(&self) -> &UPDATE_CFG
pub const fn update_cfg(&self) -> &UPDATE_CFG
0x10c -
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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