Struct esp32_hal::peripherals::APB_CTRL
source · pub struct APB_CTRL { /* private fields */ }
Implementations§
source§impl APB_CTRL
impl APB_CTRL
sourcepub unsafe fn steal() -> APB_CTRL
pub unsafe fn steal() -> APB_CTRL
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn sysclk_conf(&self) -> &Reg<SYSCLK_CONF_SPEC>
pub fn sysclk_conf(&self) -> &Reg<SYSCLK_CONF_SPEC>
0x00 -
sourcepub fn xtal_tick_conf(&self) -> &Reg<XTAL_TICK_CONF_SPEC>
pub fn xtal_tick_conf(&self) -> &Reg<XTAL_TICK_CONF_SPEC>
0x04 -
sourcepub fn pll_tick_conf(&self) -> &Reg<PLL_TICK_CONF_SPEC>
pub fn pll_tick_conf(&self) -> &Reg<PLL_TICK_CONF_SPEC>
0x08 -
sourcepub fn ck8m_tick_conf(&self) -> &Reg<CK8M_TICK_CONF_SPEC>
pub fn ck8m_tick_conf(&self) -> &Reg<CK8M_TICK_CONF_SPEC>
0x0c -
sourcepub fn apb_saradc_ctrl(&self) -> &Reg<APB_SARADC_CTRL_SPEC>
pub fn apb_saradc_ctrl(&self) -> &Reg<APB_SARADC_CTRL_SPEC>
0x10 -
sourcepub fn apb_saradc_ctrl2(&self) -> &Reg<APB_SARADC_CTRL2_SPEC>
pub fn apb_saradc_ctrl2(&self) -> &Reg<APB_SARADC_CTRL2_SPEC>
0x14 -
sourcepub fn apb_saradc_fsm(&self) -> &Reg<APB_SARADC_FSM_SPEC>
pub fn apb_saradc_fsm(&self) -> &Reg<APB_SARADC_FSM_SPEC>
0x18 -
sourcepub fn apb_saradc_sar1_patt_tab(
&self,
n: usize
) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
pub fn apb_saradc_sar1_patt_tab( &self, n: usize ) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
0x1c..0x2c -
sourcepub fn apb_saradc_sar1_patt_tab_iter(
&self
) -> impl Iterator<Item = &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>>
pub fn apb_saradc_sar1_patt_tab_iter( &self ) -> impl Iterator<Item = &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>>
Iterator for array of: 0x1c..0x2c -
sourcepub fn apb_saradc_sar1_patt_tab1(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
pub fn apb_saradc_sar1_patt_tab1(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
0x1c - APB_SARADC_SAR1_PATT_TAB1
sourcepub fn apb_saradc_sar1_patt_tab2(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
pub fn apb_saradc_sar1_patt_tab2(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
0x20 - APB_SARADC_SAR1_PATT_TAB2
sourcepub fn apb_saradc_sar1_patt_tab3(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
pub fn apb_saradc_sar1_patt_tab3(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
0x24 - APB_SARADC_SAR1_PATT_TAB3
sourcepub fn apb_saradc_sar1_patt_tab4(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
pub fn apb_saradc_sar1_patt_tab4(&self) -> &Reg<APB_SARADC_SAR1_PATT_TAB_SPEC>
0x28 - APB_SARADC_SAR1_PATT_TAB4
sourcepub fn apb_saradc_sar2_patt_tab(
&self,
n: usize
) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
pub fn apb_saradc_sar2_patt_tab( &self, n: usize ) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
0x2c..0x3c -
sourcepub fn apb_saradc_sar2_patt_tab_iter(
&self
) -> impl Iterator<Item = &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>>
pub fn apb_saradc_sar2_patt_tab_iter( &self ) -> impl Iterator<Item = &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>>
Iterator for array of: 0x2c..0x3c -
sourcepub fn apb_saradc_sar2_patt_tab1(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
pub fn apb_saradc_sar2_patt_tab1(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
0x2c - APB_SARADC_SAR2_PATT_TAB1
sourcepub fn apb_saradc_sar2_patt_tab2(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
pub fn apb_saradc_sar2_patt_tab2(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
0x30 - APB_SARADC_SAR2_PATT_TAB2
sourcepub fn apb_saradc_sar2_patt_tab3(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
pub fn apb_saradc_sar2_patt_tab3(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
0x34 - APB_SARADC_SAR2_PATT_TAB3
sourcepub fn apb_saradc_sar2_patt_tab4(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
pub fn apb_saradc_sar2_patt_tab4(&self) -> &Reg<APB_SARADC_SAR2_PATT_TAB_SPEC>
0x38 - APB_SARADC_SAR2_PATT_TAB4
sourcepub fn apll_tick_conf(&self) -> &Reg<APLL_TICK_CONF_SPEC>
pub fn apll_tick_conf(&self) -> &Reg<APLL_TICK_CONF_SPEC>
0x3c -
Trait Implementations§
source§impl Peripheral for APB_CTRL
impl Peripheral for APB_CTRL
Auto Trait Implementations§
impl RefUnwindSafe for APB_CTRL
impl Send for APB_CTRL
impl Sync for APB_CTRL
impl Unpin for APB_CTRL
impl UnwindSafe for APB_CTRL
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