atsamd51p20a/
cmcc.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Cache Type Register"]
5    pub type_: TYPE,
6    #[doc = "0x04 - Cache Configuration Register"]
7    pub cfg: CFG,
8    #[doc = "0x08 - Cache Control Register"]
9    pub ctrl: CTRL,
10    #[doc = "0x0c - Cache Status Register"]
11    pub sr: SR,
12    #[doc = "0x10 - Cache Lock per Way Register"]
13    pub lckway: LCKWAY,
14    _reserved5: [u8; 12usize],
15    #[doc = "0x20 - Cache Maintenance Register 0"]
16    pub maint0: MAINT0,
17    #[doc = "0x24 - Cache Maintenance Register 1"]
18    pub maint1: MAINT1,
19    #[doc = "0x28 - Cache Monitor Configuration Register"]
20    pub mcfg: MCFG,
21    #[doc = "0x2c - Cache Monitor Enable Register"]
22    pub men: MEN,
23    #[doc = "0x30 - Cache Monitor Control Register"]
24    pub mctrl: MCTRL,
25    #[doc = "0x34 - Cache Monitor Status Register"]
26    pub msr: MSR,
27}
28#[doc = "Cache Type Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [type_](type_) module"]
29pub type TYPE = crate::Reg<u32, _TYPE>;
30#[allow(missing_docs)]
31#[doc(hidden)]
32pub struct _TYPE;
33#[doc = "`read()` method returns [type_::R](type_::R) reader structure"]
34impl crate::Readable for TYPE {}
35#[doc = "Cache Type Register"]
36pub mod type_;
37#[doc = "Cache Configuration Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
38pub type CFG = crate::Reg<u32, _CFG>;
39#[allow(missing_docs)]
40#[doc(hidden)]
41pub struct _CFG;
42#[doc = "`read()` method returns [cfg::R](cfg::R) reader structure"]
43impl crate::Readable for CFG {}
44#[doc = "`write(|w| ..)` method takes [cfg::W](cfg::W) writer structure"]
45impl crate::Writable for CFG {}
46#[doc = "Cache Configuration Register"]
47pub mod cfg;
48#[doc = "Cache Control Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ctrl](ctrl) module"]
49pub type CTRL = crate::Reg<u32, _CTRL>;
50#[allow(missing_docs)]
51#[doc(hidden)]
52pub struct _CTRL;
53#[doc = "`write(|w| ..)` method takes [ctrl::W](ctrl::W) writer structure"]
54impl crate::Writable for CTRL {}
55#[doc = "Cache Control Register"]
56pub mod ctrl;
57#[doc = "Cache Status Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [sr](sr) module"]
58pub type SR = crate::Reg<u32, _SR>;
59#[allow(missing_docs)]
60#[doc(hidden)]
61pub struct _SR;
62#[doc = "`read()` method returns [sr::R](sr::R) reader structure"]
63impl crate::Readable for SR {}
64#[doc = "Cache Status Register"]
65pub mod sr;
66#[doc = "Cache Lock per Way Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [lckway](lckway) module"]
67pub type LCKWAY = crate::Reg<u32, _LCKWAY>;
68#[allow(missing_docs)]
69#[doc(hidden)]
70pub struct _LCKWAY;
71#[doc = "`read()` method returns [lckway::R](lckway::R) reader structure"]
72impl crate::Readable for LCKWAY {}
73#[doc = "`write(|w| ..)` method takes [lckway::W](lckway::W) writer structure"]
74impl crate::Writable for LCKWAY {}
75#[doc = "Cache Lock per Way Register"]
76pub mod lckway;
77#[doc = "Cache Maintenance Register 0\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [maint0](maint0) module"]
78pub type MAINT0 = crate::Reg<u32, _MAINT0>;
79#[allow(missing_docs)]
80#[doc(hidden)]
81pub struct _MAINT0;
82#[doc = "`write(|w| ..)` method takes [maint0::W](maint0::W) writer structure"]
83impl crate::Writable for MAINT0 {}
84#[doc = "Cache Maintenance Register 0"]
85pub mod maint0;
86#[doc = "Cache Maintenance Register 1\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [maint1](maint1) module"]
87pub type MAINT1 = crate::Reg<u32, _MAINT1>;
88#[allow(missing_docs)]
89#[doc(hidden)]
90pub struct _MAINT1;
91#[doc = "`write(|w| ..)` method takes [maint1::W](maint1::W) writer structure"]
92impl crate::Writable for MAINT1 {}
93#[doc = "Cache Maintenance Register 1"]
94pub mod maint1;
95#[doc = "Cache Monitor Configuration Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [mcfg](mcfg) module"]
96pub type MCFG = crate::Reg<u32, _MCFG>;
97#[allow(missing_docs)]
98#[doc(hidden)]
99pub struct _MCFG;
100#[doc = "`read()` method returns [mcfg::R](mcfg::R) reader structure"]
101impl crate::Readable for MCFG {}
102#[doc = "`write(|w| ..)` method takes [mcfg::W](mcfg::W) writer structure"]
103impl crate::Writable for MCFG {}
104#[doc = "Cache Monitor Configuration Register"]
105pub mod mcfg;
106#[doc = "Cache Monitor Enable Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [men](men) module"]
107pub type MEN = crate::Reg<u32, _MEN>;
108#[allow(missing_docs)]
109#[doc(hidden)]
110pub struct _MEN;
111#[doc = "`read()` method returns [men::R](men::R) reader structure"]
112impl crate::Readable for MEN {}
113#[doc = "`write(|w| ..)` method takes [men::W](men::W) writer structure"]
114impl crate::Writable for MEN {}
115#[doc = "Cache Monitor Enable Register"]
116pub mod men;
117#[doc = "Cache Monitor Control Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [mctrl](mctrl) module"]
118pub type MCTRL = crate::Reg<u32, _MCTRL>;
119#[allow(missing_docs)]
120#[doc(hidden)]
121pub struct _MCTRL;
122#[doc = "`write(|w| ..)` method takes [mctrl::W](mctrl::W) writer structure"]
123impl crate::Writable for MCTRL {}
124#[doc = "Cache Monitor Control Register"]
125pub mod mctrl;
126#[doc = "Cache Monitor Status Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [msr](msr) module"]
127pub type MSR = crate::Reg<u32, _MSR>;
128#[allow(missing_docs)]
129#[doc(hidden)]
130pub struct _MSR;
131#[doc = "`read()` method returns [msr::R](msr::R) reader structure"]
132impl crate::Readable for MSR {}
133#[doc = "Cache Monitor Status Register"]
134pub mod msr;