esp32p4 0.2.0

Peripheral access crate for the ESP32-P4
Documentation
#[repr(C)]
#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
#[doc = "Register block"]
pub struct RegisterBlock {
    clk_en: CLK_EN,
    ver_date: VER_DATE,
    pad0: PAD0,
    pad1: PAD1,
    pad2: PAD2,
    pad3: PAD3,
    pad4: PAD4,
    pad5: PAD5,
    pad6: PAD6,
    pad7: PAD7,
    pad8: PAD8,
    pad9: PAD9,
    pad10: PAD10,
    pad11: PAD11,
    pad120: PAD120,
    pad13: PAD13,
    pad14: PAD14,
    pad15: PAD15,
    ext_wakeup0_sel: EXT_WAKEUP0_SEL,
    lp_pad_hold: LP_PAD_HOLD,
    lp_pad_hys: LP_PAD_HYS,
}
impl RegisterBlock {
    #[doc = "0x00 - Reserved"]
    #[inline(always)]
    pub const fn clk_en(&self) -> &CLK_EN {
        &self.clk_en
    }
    #[doc = "0x04 - Reserved"]
    #[inline(always)]
    pub const fn ver_date(&self) -> &VER_DATE {
        &self.ver_date
    }
    #[doc = "0x08 - Reserved"]
    #[inline(always)]
    pub const fn pad0(&self) -> &PAD0 {
        &self.pad0
    }
    #[doc = "0x0c - Reserved"]
    #[inline(always)]
    pub const fn pad1(&self) -> &PAD1 {
        &self.pad1
    }
    #[doc = "0x10 - Reserved"]
    #[inline(always)]
    pub const fn pad2(&self) -> &PAD2 {
        &self.pad2
    }
    #[doc = "0x14 - Reserved"]
    #[inline(always)]
    pub const fn pad3(&self) -> &PAD3 {
        &self.pad3
    }
    #[doc = "0x18 - Reserved"]
    #[inline(always)]
    pub const fn pad4(&self) -> &PAD4 {
        &self.pad4
    }
    #[doc = "0x1c - Reserved"]
    #[inline(always)]
    pub const fn pad5(&self) -> &PAD5 {
        &self.pad5
    }
    #[doc = "0x20 - Reserved"]
    #[inline(always)]
    pub const fn pad6(&self) -> &PAD6 {
        &self.pad6
    }
    #[doc = "0x24 - Reserved"]
    #[inline(always)]
    pub const fn pad7(&self) -> &PAD7 {
        &self.pad7
    }
    #[doc = "0x28 - Reserved"]
    #[inline(always)]
    pub const fn pad8(&self) -> &PAD8 {
        &self.pad8
    }
    #[doc = "0x2c - Reserved"]
    #[inline(always)]
    pub const fn pad9(&self) -> &PAD9 {
        &self.pad9
    }
    #[doc = "0x30 - Reserved"]
    #[inline(always)]
    pub const fn pad10(&self) -> &PAD10 {
        &self.pad10
    }
    #[doc = "0x34 - Reserved"]
    #[inline(always)]
    pub const fn pad11(&self) -> &PAD11 {
        &self.pad11
    }
    #[doc = "0x38 - Reserved"]
    #[inline(always)]
    pub const fn pad120(&self) -> &PAD120 {
        &self.pad120
    }
    #[doc = "0x3c - Reserved"]
    #[inline(always)]
    pub const fn pad13(&self) -> &PAD13 {
        &self.pad13
    }
    #[doc = "0x40 - Reserved"]
    #[inline(always)]
    pub const fn pad14(&self) -> &PAD14 {
        &self.pad14
    }
    #[doc = "0x44 - Reserved"]
    #[inline(always)]
    pub const fn pad15(&self) -> &PAD15 {
        &self.pad15
    }
    #[doc = "0x48 - Reserved"]
    #[inline(always)]
    pub const fn ext_wakeup0_sel(&self) -> &EXT_WAKEUP0_SEL {
        &self.ext_wakeup0_sel
    }
    #[doc = "0x4c - Reserved"]
    #[inline(always)]
    pub const fn lp_pad_hold(&self) -> &LP_PAD_HOLD {
        &self.lp_pad_hold
    }
    #[doc = "0x50 - Reserved"]
    #[inline(always)]
    pub const fn lp_pad_hys(&self) -> &LP_PAD_HYS {
        &self.lp_pad_hys
    }
}
#[doc = "CLK_EN (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`clk_en::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 [`clk_en::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 [`mod@clk_en`] module"]
pub type CLK_EN = crate::Reg<clk_en::CLK_EN_SPEC>;
#[doc = "Reserved"]
pub mod clk_en;
#[doc = "VER_DATE (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ver_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 [`ver_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 [`mod@ver_date`] module"]
pub type VER_DATE = crate::Reg<ver_date::VER_DATE_SPEC>;
#[doc = "Reserved"]
pub mod ver_date;
#[doc = "PAD0 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad0::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 [`pad0::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 [`mod@pad0`] module"]
pub type PAD0 = crate::Reg<pad0::PAD0_SPEC>;
#[doc = "Reserved"]
pub mod pad0;
#[doc = "PAD1 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad1::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 [`pad1::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 [`mod@pad1`] module"]
pub type PAD1 = crate::Reg<pad1::PAD1_SPEC>;
#[doc = "Reserved"]
pub mod pad1;
#[doc = "PAD2 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad2::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 [`pad2::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 [`mod@pad2`] module"]
pub type PAD2 = crate::Reg<pad2::PAD2_SPEC>;
#[doc = "Reserved"]
pub mod pad2;
#[doc = "PAD3 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad3::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 [`pad3::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 [`mod@pad3`] module"]
pub type PAD3 = crate::Reg<pad3::PAD3_SPEC>;
#[doc = "Reserved"]
pub mod pad3;
#[doc = "PAD4 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad4::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 [`pad4::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 [`mod@pad4`] module"]
pub type PAD4 = crate::Reg<pad4::PAD4_SPEC>;
#[doc = "Reserved"]
pub mod pad4;
#[doc = "PAD5 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad5::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 [`pad5::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 [`mod@pad5`] module"]
pub type PAD5 = crate::Reg<pad5::PAD5_SPEC>;
#[doc = "Reserved"]
pub mod pad5;
#[doc = "PAD6 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad6::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 [`pad6::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 [`mod@pad6`] module"]
pub type PAD6 = crate::Reg<pad6::PAD6_SPEC>;
#[doc = "Reserved"]
pub mod pad6;
#[doc = "PAD7 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad7::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 [`pad7::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 [`mod@pad7`] module"]
pub type PAD7 = crate::Reg<pad7::PAD7_SPEC>;
#[doc = "Reserved"]
pub mod pad7;
#[doc = "PAD8 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad8::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 [`pad8::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 [`mod@pad8`] module"]
pub type PAD8 = crate::Reg<pad8::PAD8_SPEC>;
#[doc = "Reserved"]
pub mod pad8;
#[doc = "PAD9 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad9::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 [`pad9::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 [`mod@pad9`] module"]
pub type PAD9 = crate::Reg<pad9::PAD9_SPEC>;
#[doc = "Reserved"]
pub mod pad9;
#[doc = "PAD10 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad10::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 [`pad10::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 [`mod@pad10`] module"]
pub type PAD10 = crate::Reg<pad10::PAD10_SPEC>;
#[doc = "Reserved"]
pub mod pad10;
#[doc = "PAD11 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad11::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 [`pad11::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 [`mod@pad11`] module"]
pub type PAD11 = crate::Reg<pad11::PAD11_SPEC>;
#[doc = "Reserved"]
pub mod pad11;
#[doc = "PAD120 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad120::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 [`pad120::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 [`mod@pad120`] module"]
pub type PAD120 = crate::Reg<pad120::PAD120_SPEC>;
#[doc = "Reserved"]
pub mod pad120;
#[doc = "PAD13 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad13::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 [`pad13::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 [`mod@pad13`] module"]
pub type PAD13 = crate::Reg<pad13::PAD13_SPEC>;
#[doc = "Reserved"]
pub mod pad13;
#[doc = "PAD14 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad14::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 [`pad14::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 [`mod@pad14`] module"]
pub type PAD14 = crate::Reg<pad14::PAD14_SPEC>;
#[doc = "Reserved"]
pub mod pad14;
#[doc = "PAD15 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad15::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 [`pad15::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 [`mod@pad15`] module"]
pub type PAD15 = crate::Reg<pad15::PAD15_SPEC>;
#[doc = "Reserved"]
pub mod pad15;
#[doc = "EXT_WAKEUP0_SEL (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ext_wakeup0_sel::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 [`ext_wakeup0_sel::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 [`mod@ext_wakeup0_sel`] module"]
pub type EXT_WAKEUP0_SEL = crate::Reg<ext_wakeup0_sel::EXT_WAKEUP0_SEL_SPEC>;
#[doc = "Reserved"]
pub mod ext_wakeup0_sel;
#[doc = "LP_PAD_HOLD (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`lp_pad_hold::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 [`lp_pad_hold::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 [`mod@lp_pad_hold`] module"]
pub type LP_PAD_HOLD = crate::Reg<lp_pad_hold::LP_PAD_HOLD_SPEC>;
#[doc = "Reserved"]
pub mod lp_pad_hold;
#[doc = "LP_PAD_HYS (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`lp_pad_hys::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 [`lp_pad_hys::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 [`mod@lp_pad_hys`] module"]
pub type LP_PAD_HYS = crate::Reg<lp_pad_hys::LP_PAD_HYS_SPEC>;
#[doc = "Reserved"]
pub mod lp_pad_hys;