esp32c6_lp/lp_apm/
region.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Cluster REGION%s, containing REGION*_ADDR_START, REGION*_ADDR_END, REGION*_PMS_ATTR"]
4pub struct REGION {
5    addr_start: ADDR_START,
6    addr_end: ADDR_END,
7    pms_attr: PMS_ATTR,
8}
9impl REGION {
10    #[doc = "0x00 - Region address register"]
11    #[inline(always)]
12    pub const fn addr_start(&self) -> &ADDR_START {
13        &self.addr_start
14    }
15    #[doc = "0x04 - Region address register"]
16    #[inline(always)]
17    pub const fn addr_end(&self) -> &ADDR_END {
18        &self.addr_end
19    }
20    #[doc = "0x08 - Region access authority attribute register"]
21    #[inline(always)]
22    pub const fn pms_attr(&self) -> &PMS_ATTR {
23        &self.pms_attr
24    }
25}
26#[doc = "ADDR_START (rw) register accessor: Region address register\n\nYou can [`read`](crate::Reg::read) this register and get [`addr_start::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`addr_start::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@addr_start`] module"]
27pub type ADDR_START = crate::Reg<addr_start::ADDR_START_SPEC>;
28#[doc = "Region address register"]
29pub mod addr_start;
30#[doc = "ADDR_END (rw) register accessor: Region address register\n\nYou can [`read`](crate::Reg::read) this register and get [`addr_end::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`addr_end::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@addr_end`] module"]
31pub type ADDR_END = crate::Reg<addr_end::ADDR_END_SPEC>;
32#[doc = "Region address register"]
33pub mod addr_end;
34#[doc = "PMS_ATTR (rw) register accessor: Region access authority attribute register\n\nYou can [`read`](crate::Reg::read) this register and get [`pms_attr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pms_attr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pms_attr`] module"]
35pub type PMS_ATTR = crate::Reg<pms_attr::PMS_ATTR_SPEC>;
36#[doc = "Region access authority attribute register"]
37pub mod pms_attr;