mimxrt685s_pac/
cache64.rs

1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5    _reserved0: [u8; 0x0800],
6    ccr: Ccr,
7    clcr: Clcr,
8    csar: Csar,
9    ccvr: Ccvr,
10}
11impl RegisterBlock {
12    #[doc = "0x800 - Cache control register"]
13    #[inline(always)]
14    pub const fn ccr(&self) -> &Ccr {
15        &self.ccr
16    }
17    #[doc = "0x804 - Cache line control register"]
18    #[inline(always)]
19    pub const fn clcr(&self) -> &Clcr {
20        &self.clcr
21    }
22    #[doc = "0x808 - Cache search address register"]
23    #[inline(always)]
24    pub const fn csar(&self) -> &Csar {
25        &self.csar
26    }
27    #[doc = "0x80c - Cache read/write value register"]
28    #[inline(always)]
29    pub const fn ccvr(&self) -> &Ccvr {
30        &self.ccvr
31    }
32}
33#[doc = "CCR (rw) register accessor: Cache control register\n\nYou can [`read`](crate::Reg::read) this register and get [`ccr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ccr::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@ccr`]
34module"]
35#[doc(alias = "CCR")]
36pub type Ccr = crate::Reg<ccr::CcrSpec>;
37#[doc = "Cache control register"]
38pub mod ccr;
39#[doc = "CLCR (rw) register accessor: Cache line control register\n\nYou can [`read`](crate::Reg::read) this register and get [`clcr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clcr::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@clcr`]
40module"]
41#[doc(alias = "CLCR")]
42pub type Clcr = crate::Reg<clcr::ClcrSpec>;
43#[doc = "Cache line control register"]
44pub mod clcr;
45#[doc = "CSAR (rw) register accessor: Cache search address register\n\nYou can [`read`](crate::Reg::read) this register and get [`csar::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`csar::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@csar`]
46module"]
47#[doc(alias = "CSAR")]
48pub type Csar = crate::Reg<csar::CsarSpec>;
49#[doc = "Cache search address register"]
50pub mod csar;
51#[doc = "CCVR (rw) register accessor: Cache read/write value register\n\nYou can [`read`](crate::Reg::read) this register and get [`ccvr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ccvr::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@ccvr`]
52module"]
53#[doc(alias = "CCVR")]
54pub type Ccvr = crate::Reg<ccvr::CcvrSpec>;
55#[doc = "Cache read/write value register"]
56pub mod ccvr;