esp32 0.26.0

Peripheral access crate for the ESP32
Documentation
#[doc = r"Register block"]
#[repr(C)]
#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
pub struct RegisterBlock {
    #[doc = "0x00 - "]
    pub sysclk_conf: SYSCLK_CONF,
    #[doc = "0x04 - "]
    pub xtal_tick_conf: XTAL_TICK_CONF,
    #[doc = "0x08 - "]
    pub pll_tick_conf: PLL_TICK_CONF,
    #[doc = "0x0c - "]
    pub ck8m_tick_conf: CK8M_TICK_CONF,
    #[doc = "0x10 - "]
    pub apb_saradc_ctrl: APB_SARADC_CTRL,
    #[doc = "0x14 - "]
    pub apb_saradc_ctrl2: APB_SARADC_CTRL2,
    #[doc = "0x18 - "]
    pub apb_saradc_fsm: APB_SARADC_FSM,
    #[doc = "0x1c - "]
    pub apb_saradc_sar1_patt_tab1: APB_SARADC_SAR1_PATT_TAB1,
    #[doc = "0x20 - "]
    pub apb_saradc_sar1_patt_tab2: APB_SARADC_SAR1_PATT_TAB2,
    #[doc = "0x24 - "]
    pub apb_saradc_sar1_patt_tab3: APB_SARADC_SAR1_PATT_TAB3,
    #[doc = "0x28 - "]
    pub apb_saradc_sar1_patt_tab4: APB_SARADC_SAR1_PATT_TAB4,
    #[doc = "0x2c - "]
    pub apb_saradc_sar2_patt_tab1: APB_SARADC_SAR2_PATT_TAB1,
    #[doc = "0x30 - "]
    pub apb_saradc_sar2_patt_tab2: APB_SARADC_SAR2_PATT_TAB2,
    #[doc = "0x34 - "]
    pub apb_saradc_sar2_patt_tab3: APB_SARADC_SAR2_PATT_TAB3,
    #[doc = "0x38 - "]
    pub apb_saradc_sar2_patt_tab4: APB_SARADC_SAR2_PATT_TAB4,
    #[doc = "0x3c - "]
    pub apll_tick_conf: APLL_TICK_CONF,
    _reserved16: [u8; 0x3c],
    #[doc = "0x7c - "]
    pub date: DATE,
}
#[doc = "SYSCLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sysclk_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`sysclk_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`sysclk_conf`] module"]
pub type SYSCLK_CONF = crate::Reg<sysclk_conf::SYSCLK_CONF_SPEC>;
#[doc = ""]
pub mod sysclk_conf;
#[doc = "XTAL_TICK_CONF (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`xtal_tick_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`xtal_tick_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`xtal_tick_conf`] module"]
pub type XTAL_TICK_CONF = crate::Reg<xtal_tick_conf::XTAL_TICK_CONF_SPEC>;
#[doc = ""]
pub mod xtal_tick_conf;
#[doc = "PLL_TICK_CONF (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pll_tick_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`pll_tick_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`pll_tick_conf`] module"]
pub type PLL_TICK_CONF = crate::Reg<pll_tick_conf::PLL_TICK_CONF_SPEC>;
#[doc = ""]
pub mod pll_tick_conf;
#[doc = "CK8M_TICK_CONF (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ck8m_tick_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ck8m_tick_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`ck8m_tick_conf`] module"]
pub type CK8M_TICK_CONF = crate::Reg<ck8m_tick_conf::CK8M_TICK_CONF_SPEC>;
#[doc = ""]
pub mod ck8m_tick_conf;
#[doc = "APB_SARADC_CTRL (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_ctrl::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_ctrl`] module"]
pub type APB_SARADC_CTRL = crate::Reg<apb_saradc_ctrl::APB_SARADC_CTRL_SPEC>;
#[doc = ""]
pub mod apb_saradc_ctrl;
#[doc = "APB_SARADC_CTRL2 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_ctrl2::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_ctrl2::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_ctrl2`] module"]
pub type APB_SARADC_CTRL2 = crate::Reg<apb_saradc_ctrl2::APB_SARADC_CTRL2_SPEC>;
#[doc = ""]
pub mod apb_saradc_ctrl2;
#[doc = "APB_SARADC_FSM (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_fsm::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_fsm::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_fsm`] module"]
pub type APB_SARADC_FSM = crate::Reg<apb_saradc_fsm::APB_SARADC_FSM_SPEC>;
#[doc = ""]
pub mod apb_saradc_fsm;
#[doc = "APB_SARADC_SAR1_PATT_TAB1 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar1_patt_tab1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar1_patt_tab1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar1_patt_tab1`] module"]
pub type APB_SARADC_SAR1_PATT_TAB1 =
    crate::Reg<apb_saradc_sar1_patt_tab1::APB_SARADC_SAR1_PATT_TAB1_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar1_patt_tab1;
#[doc = "APB_SARADC_SAR1_PATT_TAB2 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar1_patt_tab2::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar1_patt_tab2::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar1_patt_tab2`] module"]
pub type APB_SARADC_SAR1_PATT_TAB2 =
    crate::Reg<apb_saradc_sar1_patt_tab2::APB_SARADC_SAR1_PATT_TAB2_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar1_patt_tab2;
#[doc = "APB_SARADC_SAR1_PATT_TAB3 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar1_patt_tab3::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar1_patt_tab3::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar1_patt_tab3`] module"]
pub type APB_SARADC_SAR1_PATT_TAB3 =
    crate::Reg<apb_saradc_sar1_patt_tab3::APB_SARADC_SAR1_PATT_TAB3_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar1_patt_tab3;
#[doc = "APB_SARADC_SAR1_PATT_TAB4 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar1_patt_tab4::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar1_patt_tab4::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar1_patt_tab4`] module"]
pub type APB_SARADC_SAR1_PATT_TAB4 =
    crate::Reg<apb_saradc_sar1_patt_tab4::APB_SARADC_SAR1_PATT_TAB4_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar1_patt_tab4;
#[doc = "APB_SARADC_SAR2_PATT_TAB1 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar2_patt_tab1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar2_patt_tab1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar2_patt_tab1`] module"]
pub type APB_SARADC_SAR2_PATT_TAB1 =
    crate::Reg<apb_saradc_sar2_patt_tab1::APB_SARADC_SAR2_PATT_TAB1_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar2_patt_tab1;
#[doc = "APB_SARADC_SAR2_PATT_TAB2 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar2_patt_tab2::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar2_patt_tab2::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar2_patt_tab2`] module"]
pub type APB_SARADC_SAR2_PATT_TAB2 =
    crate::Reg<apb_saradc_sar2_patt_tab2::APB_SARADC_SAR2_PATT_TAB2_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar2_patt_tab2;
#[doc = "APB_SARADC_SAR2_PATT_TAB3 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar2_patt_tab3::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar2_patt_tab3::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar2_patt_tab3`] module"]
pub type APB_SARADC_SAR2_PATT_TAB3 =
    crate::Reg<apb_saradc_sar2_patt_tab3::APB_SARADC_SAR2_PATT_TAB3_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar2_patt_tab3;
#[doc = "APB_SARADC_SAR2_PATT_TAB4 (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb_saradc_sar2_patt_tab4::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb_saradc_sar2_patt_tab4::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apb_saradc_sar2_patt_tab4`] module"]
pub type APB_SARADC_SAR2_PATT_TAB4 =
    crate::Reg<apb_saradc_sar2_patt_tab4::APB_SARADC_SAR2_PATT_TAB4_SPEC>;
#[doc = ""]
pub mod apb_saradc_sar2_patt_tab4;
#[doc = "APLL_TICK_CONF (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apll_tick_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apll_tick_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`apll_tick_conf`] module"]
pub type APLL_TICK_CONF = crate::Reg<apll_tick_conf::APLL_TICK_CONF_SPEC>;
#[doc = ""]
pub mod apll_tick_conf;
#[doc = "DATE (rw) register accessor: \n\nYou can [`read`](crate::generic::Reg::read) this register and get [`date::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`date::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`date`] module"]
pub type DATE = crate::Reg<date::DATE_SPEC>;
#[doc = ""]
pub mod date;