You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/inner/accessctrl/adc0.rs
-8
Original file line number
Diff line number
Diff line change
@@ -79,49 +79,41 @@ impl R {
79
79
implW{
80
80
#[doc = "Bit 0 - If 1, and NSP is also set, ADC0 can be accessed from a Non-secure, Unprivileged context. This bit is writable from a Non-secure, Privileged context, if and only if the NSP bit is set."]
81
81
#[inline(always)]
82
-
#[must_use]
83
82
pubfnnsu(&mutself) -> NSU_W<ADC0_SPEC>{
84
83
NSU_W::new(self,0)
85
84
}
86
85
#[doc = "Bit 1 - If 1, ADC0 can be accessed from a Non-secure, Privileged context."]
87
86
#[inline(always)]
88
-
#[must_use]
89
87
pubfnnsp(&mutself) -> NSP_W<ADC0_SPEC>{
90
88
NSP_W::new(self,1)
91
89
}
92
90
#[doc = "Bit 2 - If 1, and SP is also set, ADC0 can be accessed from a Secure, Unprivileged context."]
93
91
#[inline(always)]
94
-
#[must_use]
95
92
pubfnsu(&mutself) -> SU_W<ADC0_SPEC>{
96
93
SU_W::new(self,2)
97
94
}
98
95
#[doc = "Bit 3 - If 1, ADC0 can be accessed from a Secure, Privileged context."]
99
96
#[inline(always)]
100
-
#[must_use]
101
97
pubfnsp(&mutself) -> SP_W<ADC0_SPEC>{
102
98
SP_W::new(self,3)
103
99
}
104
100
#[doc = "Bit 4 - If 1, ADC0 can be accessed by core 0, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
105
101
#[inline(always)]
106
-
#[must_use]
107
102
pubfncore0(&mutself) -> CORE0_W<ADC0_SPEC>{
108
103
CORE0_W::new(self,4)
109
104
}
110
105
#[doc = "Bit 5 - If 1, ADC0 can be accessed by core 1, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
111
106
#[inline(always)]
112
-
#[must_use]
113
107
pubfncore1(&mutself) -> CORE1_W<ADC0_SPEC>{
114
108
CORE1_W::new(self,5)
115
109
}
116
110
#[doc = "Bit 6 - If 1, ADC0 can be accessed by the DMA, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
117
111
#[inline(always)]
118
-
#[must_use]
119
112
pubfndma(&mutself) -> DMA_W<ADC0_SPEC>{
120
113
DMA_W::new(self,6)
121
114
}
122
115
#[doc = "Bit 7 - If 1, ADC0 can be accessed by the debugger, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
Copy file name to clipboardexpand all lines: src/inner/accessctrl/busctrl.rs
-8
Original file line number
Diff line number
Diff line change
@@ -79,49 +79,41 @@ impl R {
79
79
implW{
80
80
#[doc = "Bit 0 - If 1, and NSP is also set, BUSCTRL can be accessed from a Non-secure, Unprivileged context. This bit is writable from a Non-secure, Privileged context, if and only if the NSP bit is set."]
81
81
#[inline(always)]
82
-
#[must_use]
83
82
pubfnnsu(&mutself) -> NSU_W<BUSCTRL_SPEC>{
84
83
NSU_W::new(self,0)
85
84
}
86
85
#[doc = "Bit 1 - If 1, BUSCTRL can be accessed from a Non-secure, Privileged context."]
87
86
#[inline(always)]
88
-
#[must_use]
89
87
pubfnnsp(&mutself) -> NSP_W<BUSCTRL_SPEC>{
90
88
NSP_W::new(self,1)
91
89
}
92
90
#[doc = "Bit 2 - If 1, and SP is also set, BUSCTRL can be accessed from a Secure, Unprivileged context."]
93
91
#[inline(always)]
94
-
#[must_use]
95
92
pubfnsu(&mutself) -> SU_W<BUSCTRL_SPEC>{
96
93
SU_W::new(self,2)
97
94
}
98
95
#[doc = "Bit 3 - If 1, BUSCTRL can be accessed from a Secure, Privileged context."]
99
96
#[inline(always)]
100
-
#[must_use]
101
97
pubfnsp(&mutself) -> SP_W<BUSCTRL_SPEC>{
102
98
SP_W::new(self,3)
103
99
}
104
100
#[doc = "Bit 4 - If 1, BUSCTRL can be accessed by core 0, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
105
101
#[inline(always)]
106
-
#[must_use]
107
102
pubfncore0(&mutself) -> CORE0_W<BUSCTRL_SPEC>{
108
103
CORE0_W::new(self,4)
109
104
}
110
105
#[doc = "Bit 5 - If 1, BUSCTRL can be accessed by core 1, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
111
106
#[inline(always)]
112
-
#[must_use]
113
107
pubfncore1(&mutself) -> CORE1_W<BUSCTRL_SPEC>{
114
108
CORE1_W::new(self,5)
115
109
}
116
110
#[doc = "Bit 6 - If 1, BUSCTRL can be accessed by the DMA, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
117
111
#[inline(always)]
118
-
#[must_use]
119
112
pubfndma(&mutself) -> DMA_W<BUSCTRL_SPEC>{
120
113
DMA_W::new(self,6)
121
114
}
122
115
#[doc = "Bit 7 - If 1, BUSCTRL can be accessed by the debugger, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
Copy file name to clipboardexpand all lines: src/inner/accessctrl/clocks.rs
-8
Original file line number
Diff line number
Diff line change
@@ -79,49 +79,41 @@ impl R {
79
79
implW{
80
80
#[doc = "Bit 0 - If 1, and NSP is also set, CLOCKS can be accessed from a Non-secure, Unprivileged context. This bit is writable from a Non-secure, Privileged context, if and only if the NSP bit is set."]
81
81
#[inline(always)]
82
-
#[must_use]
83
82
pubfnnsu(&mutself) -> NSU_W<CLOCKS_SPEC>{
84
83
NSU_W::new(self,0)
85
84
}
86
85
#[doc = "Bit 1 - If 1, CLOCKS can be accessed from a Non-secure, Privileged context."]
87
86
#[inline(always)]
88
-
#[must_use]
89
87
pubfnnsp(&mutself) -> NSP_W<CLOCKS_SPEC>{
90
88
NSP_W::new(self,1)
91
89
}
92
90
#[doc = "Bit 2 - If 1, and SP is also set, CLOCKS can be accessed from a Secure, Unprivileged context."]
93
91
#[inline(always)]
94
-
#[must_use]
95
92
pubfnsu(&mutself) -> SU_W<CLOCKS_SPEC>{
96
93
SU_W::new(self,2)
97
94
}
98
95
#[doc = "Bit 3 - If 1, CLOCKS can be accessed from a Secure, Privileged context."]
99
96
#[inline(always)]
100
-
#[must_use]
101
97
pubfnsp(&mutself) -> SP_W<CLOCKS_SPEC>{
102
98
SP_W::new(self,3)
103
99
}
104
100
#[doc = "Bit 4 - If 1, CLOCKS can be accessed by core 0, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
105
101
#[inline(always)]
106
-
#[must_use]
107
102
pubfncore0(&mutself) -> CORE0_W<CLOCKS_SPEC>{
108
103
CORE0_W::new(self,4)
109
104
}
110
105
#[doc = "Bit 5 - If 1, CLOCKS can be accessed by core 1, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
111
106
#[inline(always)]
112
-
#[must_use]
113
107
pubfncore1(&mutself) -> CORE1_W<CLOCKS_SPEC>{
114
108
CORE1_W::new(self,5)
115
109
}
116
110
#[doc = "Bit 6 - If 1, CLOCKS can be accessed by the DMA, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
117
111
#[inline(always)]
118
-
#[must_use]
119
112
pubfndma(&mutself) -> DMA_W<CLOCKS_SPEC>{
120
113
DMA_W::new(self,6)
121
114
}
122
115
#[doc = "Bit 7 - If 1, CLOCKS can be accessed by the debugger, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
Copy file name to clipboardexpand all lines: src/inner/accessctrl/coresight_periph.rs
-8
Original file line number
Diff line number
Diff line change
@@ -79,49 +79,41 @@ impl R {
79
79
implW{
80
80
#[doc = "Bit 0 - If 1, and NSP is also set, CORESIGHT_PERIPH can be accessed from a Non-secure, Unprivileged context. This bit is writable from a Non-secure, Privileged context, if and only if the NSP bit is set."]
Copy file name to clipboardexpand all lines: src/inner/accessctrl/coresight_trace.rs
-8
Original file line number
Diff line number
Diff line change
@@ -79,49 +79,41 @@ impl R {
79
79
implW{
80
80
#[doc = "Bit 0 - If 1, and NSP is also set, CORESIGHT_TRACE can be accessed from a Non-secure, Unprivileged context. This bit is writable from a Non-secure, Privileged context, if and only if the NSP bit is set."]
Copy file name to clipboardexpand all lines: src/inner/accessctrl/dma.rs
-8
Original file line number
Diff line number
Diff line change
@@ -79,49 +79,41 @@ impl R {
79
79
implW{
80
80
#[doc = "Bit 0 - If 1, and NSP is also set, DMA can be accessed from a Non-secure, Unprivileged context. This bit is writable from a Non-secure, Privileged context, if and only if the NSP bit is set."]
81
81
#[inline(always)]
82
-
#[must_use]
83
82
pubfnnsu(&mutself) -> NSU_W<DMA_SPEC>{
84
83
NSU_W::new(self,0)
85
84
}
86
85
#[doc = "Bit 1 - If 1, DMA can be accessed from a Non-secure, Privileged context."]
87
86
#[inline(always)]
88
-
#[must_use]
89
87
pubfnnsp(&mutself) -> NSP_W<DMA_SPEC>{
90
88
NSP_W::new(self,1)
91
89
}
92
90
#[doc = "Bit 2 - If 1, and SP is also set, DMA can be accessed from a Secure, Unprivileged context."]
93
91
#[inline(always)]
94
-
#[must_use]
95
92
pubfnsu(&mutself) -> SU_W<DMA_SPEC>{
96
93
SU_W::new(self,2)
97
94
}
98
95
#[doc = "Bit 3 - If 1, DMA can be accessed from a Secure, Privileged context."]
99
96
#[inline(always)]
100
-
#[must_use]
101
97
pubfnsp(&mutself) -> SP_W<DMA_SPEC>{
102
98
SP_W::new(self,3)
103
99
}
104
100
#[doc = "Bit 4 - If 1, DMA can be accessed by core 0, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
105
101
#[inline(always)]
106
-
#[must_use]
107
102
pubfncore0(&mutself) -> CORE0_W<DMA_SPEC>{
108
103
CORE0_W::new(self,4)
109
104
}
110
105
#[doc = "Bit 5 - If 1, DMA can be accessed by core 1, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
111
106
#[inline(always)]
112
-
#[must_use]
113
107
pubfncore1(&mutself) -> CORE1_W<DMA_SPEC>{
114
108
CORE1_W::new(self,5)
115
109
}
116
110
#[doc = "Bit 6 - If 1, DMA can be accessed by the DMA, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
117
111
#[inline(always)]
118
-
#[must_use]
119
112
pubfndma(&mutself) -> DMA_W<DMA_SPEC>{
120
113
DMA_W::new(self,6)
121
114
}
122
115
#[doc = "Bit 7 - If 1, DMA can be accessed by the debugger, at security/privilege levels permitted by SP/NSP/SU/NSU in this register."]
0 commit comments