1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#[doc = "Register `CACHE_ILG_INT_ST` reader"]
pub struct R(crate::R<CACHE_ILG_INT_ST_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<CACHE_ILG_INT_ST_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<CACHE_ILG_INT_ST_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<CACHE_ILG_INT_ST_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `ICACHE_SYNC_OP_FAULT_ST` reader - The bit is used to indicate interrupt by sync configurations fault."]
pub struct ICACHE_SYNC_OP_FAULT_ST_R(crate::FieldReader<bool, bool>);
impl ICACHE_SYNC_OP_FAULT_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
ICACHE_SYNC_OP_FAULT_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for ICACHE_SYNC_OP_FAULT_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `ICACHE_PRELOAD_OP_FAULT_ST` reader - The bit is used to indicate interrupt by preload configurations fault."]
pub struct ICACHE_PRELOAD_OP_FAULT_ST_R(crate::FieldReader<bool, bool>);
impl ICACHE_PRELOAD_OP_FAULT_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
ICACHE_PRELOAD_OP_FAULT_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for ICACHE_PRELOAD_OP_FAULT_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `MMU_ENTRY_FAULT_ST` reader - The bit is used to indicate interrupt by mmu entry fault."]
pub struct MMU_ENTRY_FAULT_ST_R(crate::FieldReader<bool, bool>);
impl MMU_ENTRY_FAULT_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
MMU_ENTRY_FAULT_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for MMU_ENTRY_FAULT_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `IBUS_ACS_CNT_OVF_ST` reader - The bit is used to indicate interrupt by ibus access flash/spiram counter overflow."]
pub struct IBUS_ACS_CNT_OVF_ST_R(crate::FieldReader<bool, bool>);
impl IBUS_ACS_CNT_OVF_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
IBUS_ACS_CNT_OVF_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for IBUS_ACS_CNT_OVF_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `IBUS_ACS_MISS_CNT_OVF_ST` reader - The bit is used to indicate interrupt by ibus access flash/spiram miss counter overflow."]
pub struct IBUS_ACS_MISS_CNT_OVF_ST_R(crate::FieldReader<bool, bool>);
impl IBUS_ACS_MISS_CNT_OVF_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
IBUS_ACS_MISS_CNT_OVF_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for IBUS_ACS_MISS_CNT_OVF_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `DBUS_ACS_CNT_OVF_ST` reader - The bit is used to indicate interrupt by dbus access flash/spiram counter overflow."]
pub struct DBUS_ACS_CNT_OVF_ST_R(crate::FieldReader<bool, bool>);
impl DBUS_ACS_CNT_OVF_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
DBUS_ACS_CNT_OVF_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for DBUS_ACS_CNT_OVF_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `DBUS_ACS_FLASH_MISS_CNT_OVF_ST` reader - The bit is used to indicate interrupt by dbus access flash miss counter overflow."]
pub struct DBUS_ACS_FLASH_MISS_CNT_OVF_ST_R(crate::FieldReader<bool, bool>);
impl DBUS_ACS_FLASH_MISS_CNT_OVF_ST_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
DBUS_ACS_FLASH_MISS_CNT_OVF_ST_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for DBUS_ACS_FLASH_MISS_CNT_OVF_ST_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl R {
#[doc = "Bit 0 - The bit is used to indicate interrupt by sync configurations fault."]
#[inline(always)]
pub fn icache_sync_op_fault_st(&self) -> ICACHE_SYNC_OP_FAULT_ST_R {
ICACHE_SYNC_OP_FAULT_ST_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - The bit is used to indicate interrupt by preload configurations fault."]
#[inline(always)]
pub fn icache_preload_op_fault_st(&self) -> ICACHE_PRELOAD_OP_FAULT_ST_R {
ICACHE_PRELOAD_OP_FAULT_ST_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 5 - The bit is used to indicate interrupt by mmu entry fault."]
#[inline(always)]
pub fn mmu_entry_fault_st(&self) -> MMU_ENTRY_FAULT_ST_R {
MMU_ENTRY_FAULT_ST_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 7 - The bit is used to indicate interrupt by ibus access flash/spiram counter overflow."]
#[inline(always)]
pub fn ibus_acs_cnt_ovf_st(&self) -> IBUS_ACS_CNT_OVF_ST_R {
IBUS_ACS_CNT_OVF_ST_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - The bit is used to indicate interrupt by ibus access flash/spiram miss counter overflow."]
#[inline(always)]
pub fn ibus_acs_miss_cnt_ovf_st(&self) -> IBUS_ACS_MISS_CNT_OVF_ST_R {
IBUS_ACS_MISS_CNT_OVF_ST_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - The bit is used to indicate interrupt by dbus access flash/spiram counter overflow."]
#[inline(always)]
pub fn dbus_acs_cnt_ovf_st(&self) -> DBUS_ACS_CNT_OVF_ST_R {
DBUS_ACS_CNT_OVF_ST_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - The bit is used to indicate interrupt by dbus access flash miss counter overflow."]
#[inline(always)]
pub fn dbus_acs_flash_miss_cnt_ovf_st(&self) -> DBUS_ACS_FLASH_MISS_CNT_OVF_ST_R {
DBUS_ACS_FLASH_MISS_CNT_OVF_ST_R::new(((self.bits >> 10) & 1) != 0)
}
}
#[doc = "This description will be updated in the near future.\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 [cache_ilg_int_st]
(index.html) module"]
pub struct CACHE_ILG_INT_ST_SPEC;
impl crate::RegisterSpec for CACHE_ILG_INT_ST_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [cache_ilg_int_st::R]
(R) reader structure"]
impl crate::Readable for CACHE_ILG_INT_ST_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets CACHE_ILG_INT_ST to value 0"]
impl crate::Resettable for CACHE_ILG_INT_ST_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}