mimxrt685s_pac/
cache64_polsel.rs1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 _reserved0: [u8; 0x14],
6 reg0_top: Reg0Top,
7 reg1_top: Reg1Top,
8 polsel: Polsel,
9}
10impl RegisterBlock {
11 #[doc = "0x14 - Region 0 Top Boundary"]
12 #[inline(always)]
13 pub const fn reg0_top(&self) -> &Reg0Top {
14 &self.reg0_top
15 }
16 #[doc = "0x18 - Region 1 Top Boundary"]
17 #[inline(always)]
18 pub const fn reg1_top(&self) -> &Reg1Top {
19 &self.reg1_top
20 }
21 #[doc = "0x1c - Policy Select"]
22 #[inline(always)]
23 pub const fn polsel(&self) -> &Polsel {
24 &self.polsel
25 }
26}
27#[doc = "REG0_TOP (rw) register accessor: Region 0 Top Boundary\n\nYou can [`read`](crate::Reg::read) this register and get [`reg0_top::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`reg0_top::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@reg0_top`]
28module"]
29#[doc(alias = "REG0_TOP")]
30pub type Reg0Top = crate::Reg<reg0_top::Reg0TopSpec>;
31#[doc = "Region 0 Top Boundary"]
32pub mod reg0_top;
33#[doc = "REG1_TOP (rw) register accessor: Region 1 Top Boundary\n\nYou can [`read`](crate::Reg::read) this register and get [`reg1_top::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`reg1_top::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@reg1_top`]
34module"]
35#[doc(alias = "REG1_TOP")]
36pub type Reg1Top = crate::Reg<reg1_top::Reg1TopSpec>;
37#[doc = "Region 1 Top Boundary"]
38pub mod reg1_top;
39#[doc = "POLSEL (rw) register accessor: Policy Select\n\nYou can [`read`](crate::Reg::read) this register and get [`polsel::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`polsel::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@polsel`]
40module"]
41#[doc(alias = "POLSEL")]
42pub type Polsel = crate::Reg<polsel::PolselSpec>;
43#[doc = "Policy Select"]
44pub mod polsel;