]> git.gir.st - tmk_keyboard.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/device/device/MK64F12/MK64F12_aips.h
Squashed 'tmk_core/' changes from 7967731..b9e0ea0
[tmk_keyboard.git] / tool / mbed / mbed-sdk / libraries / mbed / targets / hal / TARGET_Freescale / TARGET_KPSDK_MCUS / TARGET_MCU_K64F / device / device / MK64F12 / MK64F12_aips.h
1 /*
2 ** ###################################################################
3 ** Compilers: Keil ARM C/C++ Compiler
4 ** Freescale C/C++ for Embedded ARM
5 ** GNU C Compiler
6 ** IAR ANSI C/C++ Compiler for ARM
7 **
8 ** Reference manual: K64P144M120SF5RM, Rev.2, January 2014
9 ** Version: rev. 2.5, 2014-02-10
10 ** Build: b140604
11 **
12 ** Abstract:
13 ** Extension to the CMSIS register access layer header.
14 **
15 ** Copyright (c) 2014 Freescale Semiconductor, Inc.
16 ** All rights reserved.
17 **
18 ** Redistribution and use in source and binary forms, with or without modification,
19 ** are permitted provided that the following conditions are met:
20 **
21 ** o Redistributions of source code must retain the above copyright notice, this list
22 ** of conditions and the following disclaimer.
23 **
24 ** o Redistributions in binary form must reproduce the above copyright notice, this
25 ** list of conditions and the following disclaimer in the documentation and/or
26 ** other materials provided with the distribution.
27 **
28 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
29 ** contributors may be used to endorse or promote products derived from this
30 ** software without specific prior written permission.
31 **
32 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
33 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
36 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
38 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
39 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
40 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
41 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 **
43 ** http: www.freescale.com
44 ** mail: support@freescale.com
45 **
46 ** Revisions:
47 ** - rev. 1.0 (2013-08-12)
48 ** Initial version.
49 ** - rev. 2.0 (2013-10-29)
50 ** Register accessor macros added to the memory map.
51 ** Symbols for Processor Expert memory map compatibility added to the memory map.
52 ** Startup file for gcc has been updated according to CMSIS 3.2.
53 ** System initialization updated.
54 ** MCG - registers updated.
55 ** PORTA, PORTB, PORTC, PORTE - registers for digital filter removed.
56 ** - rev. 2.1 (2013-10-30)
57 ** Definition of BITBAND macros updated to support peripherals with 32-bit acces disabled.
58 ** - rev. 2.2 (2013-12-09)
59 ** DMA - EARS register removed.
60 ** AIPS0, AIPS1 - MPRA register updated.
61 ** - rev. 2.3 (2014-01-24)
62 ** Update according to reference manual rev. 2
63 ** ENET, MCG, MCM, SIM, USB - registers updated
64 ** - rev. 2.4 (2014-02-10)
65 ** The declaration of clock configurations has been moved to separate header file system_MK64F12.h
66 ** Update of SystemInit() and SystemCoreClockUpdate() functions.
67 ** - rev. 2.5 (2014-02-10)
68 ** The declaration of clock configurations has been moved to separate header file system_MK64F12.h
69 ** Update of SystemInit() and SystemCoreClockUpdate() functions.
70 ** Module access macro module_BASES replaced by module_BASE_PTRS.
71 **
72 ** ###################################################################
73 */
74
75 /*
76 * WARNING! DO NOT EDIT THIS FILE DIRECTLY!
77 *
78 * This file was generated automatically and any changes may be lost.
79 */
80 #ifndef __HW_AIPS_REGISTERS_H__
81 #define __HW_AIPS_REGISTERS_H__
82
83 #include "MK64F12.h"
84 #include "fsl_bitaccess.h"
85
86 /*
87 * MK64F12 AIPS
88 *
89 * AIPS-Lite Bridge
90 *
91 * Registers defined in this header file:
92 * - HW_AIPS_MPRA - Master Privilege Register A
93 * - HW_AIPS_PACRA - Peripheral Access Control Register
94 * - HW_AIPS_PACRB - Peripheral Access Control Register
95 * - HW_AIPS_PACRC - Peripheral Access Control Register
96 * - HW_AIPS_PACRD - Peripheral Access Control Register
97 * - HW_AIPS_PACRE - Peripheral Access Control Register
98 * - HW_AIPS_PACRF - Peripheral Access Control Register
99 * - HW_AIPS_PACRG - Peripheral Access Control Register
100 * - HW_AIPS_PACRH - Peripheral Access Control Register
101 * - HW_AIPS_PACRI - Peripheral Access Control Register
102 * - HW_AIPS_PACRJ - Peripheral Access Control Register
103 * - HW_AIPS_PACRK - Peripheral Access Control Register
104 * - HW_AIPS_PACRL - Peripheral Access Control Register
105 * - HW_AIPS_PACRM - Peripheral Access Control Register
106 * - HW_AIPS_PACRN - Peripheral Access Control Register
107 * - HW_AIPS_PACRO - Peripheral Access Control Register
108 * - HW_AIPS_PACRP - Peripheral Access Control Register
109 * - HW_AIPS_PACRU - Peripheral Access Control Register
110 *
111 * - hw_aips_t - Struct containing all module registers.
112 */
113
114 #define HW_AIPS_INSTANCE_COUNT (2U) /*!< Number of instances of the AIPS module. */
115 #define HW_AIPS0 (0U) /*!< Instance number for AIPS0. */
116 #define HW_AIPS1 (1U) /*!< Instance number for AIPS1. */
117
118 /*******************************************************************************
119 * HW_AIPS_MPRA - Master Privilege Register A
120 ******************************************************************************/
121
122 /*!
123 * @brief HW_AIPS_MPRA - Master Privilege Register A (RW)
124 *
125 * Reset value: 0x77700000U
126 *
127 * The MPRA specifies identical 4-bit fields defining the access-privilege level
128 * associated with a bus master to various peripherals on the chip. The register
129 * provides one field per bus master. At reset, the default value loaded into
130 * the MPRA fields is chip-specific. See the chip configuration details for the
131 * value of a particular device. A register field that maps to an unimplemented
132 * master or peripheral behaves as read-only-zero. Each master is assigned a logical
133 * ID from 0 to 15. See the master logical ID assignment table in the
134 * chip-specific AIPS information.
135 */
136 typedef union _hw_aips_mpra
137 {
138 uint32_t U;
139 struct _hw_aips_mpra_bitfields
140 {
141 uint32_t RESERVED0 : 8; /*!< [7:0] */
142 uint32_t MPL5 : 1; /*!< [8] Master 5 Privilege Level */
143 uint32_t MTW5 : 1; /*!< [9] Master 5 Trusted For Writes */
144 uint32_t MTR5 : 1; /*!< [10] Master 5 Trusted For Read */
145 uint32_t RESERVED1 : 1; /*!< [11] */
146 uint32_t MPL4 : 1; /*!< [12] Master 4 Privilege Level */
147 uint32_t MTW4 : 1; /*!< [13] Master 4 Trusted For Writes */
148 uint32_t MTR4 : 1; /*!< [14] Master 4 Trusted For Read */
149 uint32_t RESERVED2 : 1; /*!< [15] */
150 uint32_t MPL3 : 1; /*!< [16] Master 3 Privilege Level */
151 uint32_t MTW3 : 1; /*!< [17] Master 3 Trusted For Writes */
152 uint32_t MTR3 : 1; /*!< [18] Master 3 Trusted For Read */
153 uint32_t RESERVED3 : 1; /*!< [19] */
154 uint32_t MPL2 : 1; /*!< [20] Master 2 Privilege Level */
155 uint32_t MTW2 : 1; /*!< [21] Master 2 Trusted For Writes */
156 uint32_t MTR2 : 1; /*!< [22] Master 2 Trusted For Read */
157 uint32_t RESERVED4 : 1; /*!< [23] */
158 uint32_t MPL1 : 1; /*!< [24] Master 1 Privilege Level */
159 uint32_t MTW1 : 1; /*!< [25] Master 1 Trusted for Writes */
160 uint32_t MTR1 : 1; /*!< [26] Master 1 Trusted for Read */
161 uint32_t RESERVED5 : 1; /*!< [27] */
162 uint32_t MPL0 : 1; /*!< [28] Master 0 Privilege Level */
163 uint32_t MTW0 : 1; /*!< [29] Master 0 Trusted For Writes */
164 uint32_t MTR0 : 1; /*!< [30] Master 0 Trusted For Read */
165 uint32_t RESERVED6 : 1; /*!< [31] */
166 } B;
167 } hw_aips_mpra_t;
168
169 /*!
170 * @name Constants and macros for entire AIPS_MPRA register
171 */
172 /*@{*/
173 #define HW_AIPS_MPRA_ADDR(x) ((x) + 0x0U)
174
175 #define HW_AIPS_MPRA(x) (*(__IO hw_aips_mpra_t *) HW_AIPS_MPRA_ADDR(x))
176 #define HW_AIPS_MPRA_RD(x) (HW_AIPS_MPRA(x).U)
177 #define HW_AIPS_MPRA_WR(x, v) (HW_AIPS_MPRA(x).U = (v))
178 #define HW_AIPS_MPRA_SET(x, v) (HW_AIPS_MPRA_WR(x, HW_AIPS_MPRA_RD(x) | (v)))
179 #define HW_AIPS_MPRA_CLR(x, v) (HW_AIPS_MPRA_WR(x, HW_AIPS_MPRA_RD(x) & ~(v)))
180 #define HW_AIPS_MPRA_TOG(x, v) (HW_AIPS_MPRA_WR(x, HW_AIPS_MPRA_RD(x) ^ (v)))
181 /*@}*/
182
183 /*
184 * Constants & macros for individual AIPS_MPRA bitfields
185 */
186
187 /*!
188 * @name Register AIPS_MPRA, field MPL5[8] (RW)
189 *
190 * Specifies how the privilege level of the master is determined.
191 *
192 * Values:
193 * - 0 - Accesses from this master are forced to user-mode.
194 * - 1 - Accesses from this master are not forced to user-mode.
195 */
196 /*@{*/
197 #define BP_AIPS_MPRA_MPL5 (8U) /*!< Bit position for AIPS_MPRA_MPL5. */
198 #define BM_AIPS_MPRA_MPL5 (0x00000100U) /*!< Bit mask for AIPS_MPRA_MPL5. */
199 #define BS_AIPS_MPRA_MPL5 (1U) /*!< Bit field size in bits for AIPS_MPRA_MPL5. */
200
201 /*! @brief Read current value of the AIPS_MPRA_MPL5 field. */
202 #define BR_AIPS_MPRA_MPL5(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL5))
203
204 /*! @brief Format value for bitfield AIPS_MPRA_MPL5. */
205 #define BF_AIPS_MPRA_MPL5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MPL5) & BM_AIPS_MPRA_MPL5)
206
207 /*! @brief Set the MPL5 field to a new value. */
208 #define BW_AIPS_MPRA_MPL5(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL5) = (v))
209 /*@}*/
210
211 /*!
212 * @name Register AIPS_MPRA, field MTW5[9] (RW)
213 *
214 * Determines whether the master is trusted for write accesses.
215 *
216 * Values:
217 * - 0 - This master is not trusted for write accesses.
218 * - 1 - This master is trusted for write accesses.
219 */
220 /*@{*/
221 #define BP_AIPS_MPRA_MTW5 (9U) /*!< Bit position for AIPS_MPRA_MTW5. */
222 #define BM_AIPS_MPRA_MTW5 (0x00000200U) /*!< Bit mask for AIPS_MPRA_MTW5. */
223 #define BS_AIPS_MPRA_MTW5 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTW5. */
224
225 /*! @brief Read current value of the AIPS_MPRA_MTW5 field. */
226 #define BR_AIPS_MPRA_MTW5(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW5))
227
228 /*! @brief Format value for bitfield AIPS_MPRA_MTW5. */
229 #define BF_AIPS_MPRA_MTW5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTW5) & BM_AIPS_MPRA_MTW5)
230
231 /*! @brief Set the MTW5 field to a new value. */
232 #define BW_AIPS_MPRA_MTW5(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW5) = (v))
233 /*@}*/
234
235 /*!
236 * @name Register AIPS_MPRA, field MTR5[10] (RW)
237 *
238 * Determines whether the master is trusted for read accesses.
239 *
240 * Values:
241 * - 0 - This master is not trusted for read accesses.
242 * - 1 - This master is trusted for read accesses.
243 */
244 /*@{*/
245 #define BP_AIPS_MPRA_MTR5 (10U) /*!< Bit position for AIPS_MPRA_MTR5. */
246 #define BM_AIPS_MPRA_MTR5 (0x00000400U) /*!< Bit mask for AIPS_MPRA_MTR5. */
247 #define BS_AIPS_MPRA_MTR5 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTR5. */
248
249 /*! @brief Read current value of the AIPS_MPRA_MTR5 field. */
250 #define BR_AIPS_MPRA_MTR5(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR5))
251
252 /*! @brief Format value for bitfield AIPS_MPRA_MTR5. */
253 #define BF_AIPS_MPRA_MTR5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTR5) & BM_AIPS_MPRA_MTR5)
254
255 /*! @brief Set the MTR5 field to a new value. */
256 #define BW_AIPS_MPRA_MTR5(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR5) = (v))
257 /*@}*/
258
259 /*!
260 * @name Register AIPS_MPRA, field MPL4[12] (RW)
261 *
262 * Specifies how the privilege level of the master is determined.
263 *
264 * Values:
265 * - 0 - Accesses from this master are forced to user-mode.
266 * - 1 - Accesses from this master are not forced to user-mode.
267 */
268 /*@{*/
269 #define BP_AIPS_MPRA_MPL4 (12U) /*!< Bit position for AIPS_MPRA_MPL4. */
270 #define BM_AIPS_MPRA_MPL4 (0x00001000U) /*!< Bit mask for AIPS_MPRA_MPL4. */
271 #define BS_AIPS_MPRA_MPL4 (1U) /*!< Bit field size in bits for AIPS_MPRA_MPL4. */
272
273 /*! @brief Read current value of the AIPS_MPRA_MPL4 field. */
274 #define BR_AIPS_MPRA_MPL4(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL4))
275
276 /*! @brief Format value for bitfield AIPS_MPRA_MPL4. */
277 #define BF_AIPS_MPRA_MPL4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MPL4) & BM_AIPS_MPRA_MPL4)
278
279 /*! @brief Set the MPL4 field to a new value. */
280 #define BW_AIPS_MPRA_MPL4(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL4) = (v))
281 /*@}*/
282
283 /*!
284 * @name Register AIPS_MPRA, field MTW4[13] (RW)
285 *
286 * Determines whether the master is trusted for write accesses.
287 *
288 * Values:
289 * - 0 - This master is not trusted for write accesses.
290 * - 1 - This master is trusted for write accesses.
291 */
292 /*@{*/
293 #define BP_AIPS_MPRA_MTW4 (13U) /*!< Bit position for AIPS_MPRA_MTW4. */
294 #define BM_AIPS_MPRA_MTW4 (0x00002000U) /*!< Bit mask for AIPS_MPRA_MTW4. */
295 #define BS_AIPS_MPRA_MTW4 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTW4. */
296
297 /*! @brief Read current value of the AIPS_MPRA_MTW4 field. */
298 #define BR_AIPS_MPRA_MTW4(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW4))
299
300 /*! @brief Format value for bitfield AIPS_MPRA_MTW4. */
301 #define BF_AIPS_MPRA_MTW4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTW4) & BM_AIPS_MPRA_MTW4)
302
303 /*! @brief Set the MTW4 field to a new value. */
304 #define BW_AIPS_MPRA_MTW4(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW4) = (v))
305 /*@}*/
306
307 /*!
308 * @name Register AIPS_MPRA, field MTR4[14] (RW)
309 *
310 * Determines whether the master is trusted for read accesses.
311 *
312 * Values:
313 * - 0 - This master is not trusted for read accesses.
314 * - 1 - This master is trusted for read accesses.
315 */
316 /*@{*/
317 #define BP_AIPS_MPRA_MTR4 (14U) /*!< Bit position for AIPS_MPRA_MTR4. */
318 #define BM_AIPS_MPRA_MTR4 (0x00004000U) /*!< Bit mask for AIPS_MPRA_MTR4. */
319 #define BS_AIPS_MPRA_MTR4 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTR4. */
320
321 /*! @brief Read current value of the AIPS_MPRA_MTR4 field. */
322 #define BR_AIPS_MPRA_MTR4(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR4))
323
324 /*! @brief Format value for bitfield AIPS_MPRA_MTR4. */
325 #define BF_AIPS_MPRA_MTR4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTR4) & BM_AIPS_MPRA_MTR4)
326
327 /*! @brief Set the MTR4 field to a new value. */
328 #define BW_AIPS_MPRA_MTR4(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR4) = (v))
329 /*@}*/
330
331 /*!
332 * @name Register AIPS_MPRA, field MPL3[16] (RW)
333 *
334 * Specifies how the privilege level of the master is determined.
335 *
336 * Values:
337 * - 0 - Accesses from this master are forced to user-mode.
338 * - 1 - Accesses from this master are not forced to user-mode.
339 */
340 /*@{*/
341 #define BP_AIPS_MPRA_MPL3 (16U) /*!< Bit position for AIPS_MPRA_MPL3. */
342 #define BM_AIPS_MPRA_MPL3 (0x00010000U) /*!< Bit mask for AIPS_MPRA_MPL3. */
343 #define BS_AIPS_MPRA_MPL3 (1U) /*!< Bit field size in bits for AIPS_MPRA_MPL3. */
344
345 /*! @brief Read current value of the AIPS_MPRA_MPL3 field. */
346 #define BR_AIPS_MPRA_MPL3(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL3))
347
348 /*! @brief Format value for bitfield AIPS_MPRA_MPL3. */
349 #define BF_AIPS_MPRA_MPL3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MPL3) & BM_AIPS_MPRA_MPL3)
350
351 /*! @brief Set the MPL3 field to a new value. */
352 #define BW_AIPS_MPRA_MPL3(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL3) = (v))
353 /*@}*/
354
355 /*!
356 * @name Register AIPS_MPRA, field MTW3[17] (RW)
357 *
358 * Determines whether the master is trusted for write accesses.
359 *
360 * Values:
361 * - 0 - This master is not trusted for write accesses.
362 * - 1 - This master is trusted for write accesses.
363 */
364 /*@{*/
365 #define BP_AIPS_MPRA_MTW3 (17U) /*!< Bit position for AIPS_MPRA_MTW3. */
366 #define BM_AIPS_MPRA_MTW3 (0x00020000U) /*!< Bit mask for AIPS_MPRA_MTW3. */
367 #define BS_AIPS_MPRA_MTW3 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTW3. */
368
369 /*! @brief Read current value of the AIPS_MPRA_MTW3 field. */
370 #define BR_AIPS_MPRA_MTW3(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW3))
371
372 /*! @brief Format value for bitfield AIPS_MPRA_MTW3. */
373 #define BF_AIPS_MPRA_MTW3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTW3) & BM_AIPS_MPRA_MTW3)
374
375 /*! @brief Set the MTW3 field to a new value. */
376 #define BW_AIPS_MPRA_MTW3(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW3) = (v))
377 /*@}*/
378
379 /*!
380 * @name Register AIPS_MPRA, field MTR3[18] (RW)
381 *
382 * Determines whether the master is trusted for read accesses.
383 *
384 * Values:
385 * - 0 - This master is not trusted for read accesses.
386 * - 1 - This master is trusted for read accesses.
387 */
388 /*@{*/
389 #define BP_AIPS_MPRA_MTR3 (18U) /*!< Bit position for AIPS_MPRA_MTR3. */
390 #define BM_AIPS_MPRA_MTR3 (0x00040000U) /*!< Bit mask for AIPS_MPRA_MTR3. */
391 #define BS_AIPS_MPRA_MTR3 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTR3. */
392
393 /*! @brief Read current value of the AIPS_MPRA_MTR3 field. */
394 #define BR_AIPS_MPRA_MTR3(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR3))
395
396 /*! @brief Format value for bitfield AIPS_MPRA_MTR3. */
397 #define BF_AIPS_MPRA_MTR3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTR3) & BM_AIPS_MPRA_MTR3)
398
399 /*! @brief Set the MTR3 field to a new value. */
400 #define BW_AIPS_MPRA_MTR3(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR3) = (v))
401 /*@}*/
402
403 /*!
404 * @name Register AIPS_MPRA, field MPL2[20] (RW)
405 *
406 * Specifies how the privilege level of the master is determined.
407 *
408 * Values:
409 * - 0 - Accesses from this master are forced to user-mode.
410 * - 1 - Accesses from this master are not forced to user-mode.
411 */
412 /*@{*/
413 #define BP_AIPS_MPRA_MPL2 (20U) /*!< Bit position for AIPS_MPRA_MPL2. */
414 #define BM_AIPS_MPRA_MPL2 (0x00100000U) /*!< Bit mask for AIPS_MPRA_MPL2. */
415 #define BS_AIPS_MPRA_MPL2 (1U) /*!< Bit field size in bits for AIPS_MPRA_MPL2. */
416
417 /*! @brief Read current value of the AIPS_MPRA_MPL2 field. */
418 #define BR_AIPS_MPRA_MPL2(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL2))
419
420 /*! @brief Format value for bitfield AIPS_MPRA_MPL2. */
421 #define BF_AIPS_MPRA_MPL2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MPL2) & BM_AIPS_MPRA_MPL2)
422
423 /*! @brief Set the MPL2 field to a new value. */
424 #define BW_AIPS_MPRA_MPL2(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL2) = (v))
425 /*@}*/
426
427 /*!
428 * @name Register AIPS_MPRA, field MTW2[21] (RW)
429 *
430 * Determines whether the master is trusted for write accesses.
431 *
432 * Values:
433 * - 0 - This master is not trusted for write accesses.
434 * - 1 - This master is trusted for write accesses.
435 */
436 /*@{*/
437 #define BP_AIPS_MPRA_MTW2 (21U) /*!< Bit position for AIPS_MPRA_MTW2. */
438 #define BM_AIPS_MPRA_MTW2 (0x00200000U) /*!< Bit mask for AIPS_MPRA_MTW2. */
439 #define BS_AIPS_MPRA_MTW2 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTW2. */
440
441 /*! @brief Read current value of the AIPS_MPRA_MTW2 field. */
442 #define BR_AIPS_MPRA_MTW2(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW2))
443
444 /*! @brief Format value for bitfield AIPS_MPRA_MTW2. */
445 #define BF_AIPS_MPRA_MTW2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTW2) & BM_AIPS_MPRA_MTW2)
446
447 /*! @brief Set the MTW2 field to a new value. */
448 #define BW_AIPS_MPRA_MTW2(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW2) = (v))
449 /*@}*/
450
451 /*!
452 * @name Register AIPS_MPRA, field MTR2[22] (RW)
453 *
454 * Determines whether the master is trusted for read accesses.
455 *
456 * Values:
457 * - 0 - This master is not trusted for read accesses.
458 * - 1 - This master is trusted for read accesses.
459 */
460 /*@{*/
461 #define BP_AIPS_MPRA_MTR2 (22U) /*!< Bit position for AIPS_MPRA_MTR2. */
462 #define BM_AIPS_MPRA_MTR2 (0x00400000U) /*!< Bit mask for AIPS_MPRA_MTR2. */
463 #define BS_AIPS_MPRA_MTR2 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTR2. */
464
465 /*! @brief Read current value of the AIPS_MPRA_MTR2 field. */
466 #define BR_AIPS_MPRA_MTR2(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR2))
467
468 /*! @brief Format value for bitfield AIPS_MPRA_MTR2. */
469 #define BF_AIPS_MPRA_MTR2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTR2) & BM_AIPS_MPRA_MTR2)
470
471 /*! @brief Set the MTR2 field to a new value. */
472 #define BW_AIPS_MPRA_MTR2(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR2) = (v))
473 /*@}*/
474
475 /*!
476 * @name Register AIPS_MPRA, field MPL1[24] (RW)
477 *
478 * Specifies how the privilege level of the master is determined.
479 *
480 * Values:
481 * - 0 - Accesses from this master are forced to user-mode.
482 * - 1 - Accesses from this master are not forced to user-mode.
483 */
484 /*@{*/
485 #define BP_AIPS_MPRA_MPL1 (24U) /*!< Bit position for AIPS_MPRA_MPL1. */
486 #define BM_AIPS_MPRA_MPL1 (0x01000000U) /*!< Bit mask for AIPS_MPRA_MPL1. */
487 #define BS_AIPS_MPRA_MPL1 (1U) /*!< Bit field size in bits for AIPS_MPRA_MPL1. */
488
489 /*! @brief Read current value of the AIPS_MPRA_MPL1 field. */
490 #define BR_AIPS_MPRA_MPL1(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL1))
491
492 /*! @brief Format value for bitfield AIPS_MPRA_MPL1. */
493 #define BF_AIPS_MPRA_MPL1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MPL1) & BM_AIPS_MPRA_MPL1)
494
495 /*! @brief Set the MPL1 field to a new value. */
496 #define BW_AIPS_MPRA_MPL1(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL1) = (v))
497 /*@}*/
498
499 /*!
500 * @name Register AIPS_MPRA, field MTW1[25] (RW)
501 *
502 * Determines whether the master is trusted for write accesses.
503 *
504 * Values:
505 * - 0 - This master is not trusted for write accesses.
506 * - 1 - This master is trusted for write accesses.
507 */
508 /*@{*/
509 #define BP_AIPS_MPRA_MTW1 (25U) /*!< Bit position for AIPS_MPRA_MTW1. */
510 #define BM_AIPS_MPRA_MTW1 (0x02000000U) /*!< Bit mask for AIPS_MPRA_MTW1. */
511 #define BS_AIPS_MPRA_MTW1 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTW1. */
512
513 /*! @brief Read current value of the AIPS_MPRA_MTW1 field. */
514 #define BR_AIPS_MPRA_MTW1(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW1))
515
516 /*! @brief Format value for bitfield AIPS_MPRA_MTW1. */
517 #define BF_AIPS_MPRA_MTW1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTW1) & BM_AIPS_MPRA_MTW1)
518
519 /*! @brief Set the MTW1 field to a new value. */
520 #define BW_AIPS_MPRA_MTW1(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW1) = (v))
521 /*@}*/
522
523 /*!
524 * @name Register AIPS_MPRA, field MTR1[26] (RW)
525 *
526 * Determines whether the master is trusted for read accesses.
527 *
528 * Values:
529 * - 0 - This master is not trusted for read accesses.
530 * - 1 - This master is trusted for read accesses.
531 */
532 /*@{*/
533 #define BP_AIPS_MPRA_MTR1 (26U) /*!< Bit position for AIPS_MPRA_MTR1. */
534 #define BM_AIPS_MPRA_MTR1 (0x04000000U) /*!< Bit mask for AIPS_MPRA_MTR1. */
535 #define BS_AIPS_MPRA_MTR1 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTR1. */
536
537 /*! @brief Read current value of the AIPS_MPRA_MTR1 field. */
538 #define BR_AIPS_MPRA_MTR1(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR1))
539
540 /*! @brief Format value for bitfield AIPS_MPRA_MTR1. */
541 #define BF_AIPS_MPRA_MTR1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTR1) & BM_AIPS_MPRA_MTR1)
542
543 /*! @brief Set the MTR1 field to a new value. */
544 #define BW_AIPS_MPRA_MTR1(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR1) = (v))
545 /*@}*/
546
547 /*!
548 * @name Register AIPS_MPRA, field MPL0[28] (RW)
549 *
550 * Specifies how the privilege level of the master is determined.
551 *
552 * Values:
553 * - 0 - Accesses from this master are forced to user-mode.
554 * - 1 - Accesses from this master are not forced to user-mode.
555 */
556 /*@{*/
557 #define BP_AIPS_MPRA_MPL0 (28U) /*!< Bit position for AIPS_MPRA_MPL0. */
558 #define BM_AIPS_MPRA_MPL0 (0x10000000U) /*!< Bit mask for AIPS_MPRA_MPL0. */
559 #define BS_AIPS_MPRA_MPL0 (1U) /*!< Bit field size in bits for AIPS_MPRA_MPL0. */
560
561 /*! @brief Read current value of the AIPS_MPRA_MPL0 field. */
562 #define BR_AIPS_MPRA_MPL0(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL0))
563
564 /*! @brief Format value for bitfield AIPS_MPRA_MPL0. */
565 #define BF_AIPS_MPRA_MPL0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MPL0) & BM_AIPS_MPRA_MPL0)
566
567 /*! @brief Set the MPL0 field to a new value. */
568 #define BW_AIPS_MPRA_MPL0(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MPL0) = (v))
569 /*@}*/
570
571 /*!
572 * @name Register AIPS_MPRA, field MTW0[29] (RW)
573 *
574 * Determines whether the master is trusted for write accesses.
575 *
576 * Values:
577 * - 0 - This master is not trusted for write accesses.
578 * - 1 - This master is trusted for write accesses.
579 */
580 /*@{*/
581 #define BP_AIPS_MPRA_MTW0 (29U) /*!< Bit position for AIPS_MPRA_MTW0. */
582 #define BM_AIPS_MPRA_MTW0 (0x20000000U) /*!< Bit mask for AIPS_MPRA_MTW0. */
583 #define BS_AIPS_MPRA_MTW0 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTW0. */
584
585 /*! @brief Read current value of the AIPS_MPRA_MTW0 field. */
586 #define BR_AIPS_MPRA_MTW0(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW0))
587
588 /*! @brief Format value for bitfield AIPS_MPRA_MTW0. */
589 #define BF_AIPS_MPRA_MTW0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTW0) & BM_AIPS_MPRA_MTW0)
590
591 /*! @brief Set the MTW0 field to a new value. */
592 #define BW_AIPS_MPRA_MTW0(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTW0) = (v))
593 /*@}*/
594
595 /*!
596 * @name Register AIPS_MPRA, field MTR0[30] (RW)
597 *
598 * Determines whether the master is trusted for read accesses.
599 *
600 * Values:
601 * - 0 - This master is not trusted for read accesses.
602 * - 1 - This master is trusted for read accesses.
603 */
604 /*@{*/
605 #define BP_AIPS_MPRA_MTR0 (30U) /*!< Bit position for AIPS_MPRA_MTR0. */
606 #define BM_AIPS_MPRA_MTR0 (0x40000000U) /*!< Bit mask for AIPS_MPRA_MTR0. */
607 #define BS_AIPS_MPRA_MTR0 (1U) /*!< Bit field size in bits for AIPS_MPRA_MTR0. */
608
609 /*! @brief Read current value of the AIPS_MPRA_MTR0 field. */
610 #define BR_AIPS_MPRA_MTR0(x) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR0))
611
612 /*! @brief Format value for bitfield AIPS_MPRA_MTR0. */
613 #define BF_AIPS_MPRA_MTR0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_MPRA_MTR0) & BM_AIPS_MPRA_MTR0)
614
615 /*! @brief Set the MTR0 field to a new value. */
616 #define BW_AIPS_MPRA_MTR0(x, v) (BITBAND_ACCESS32(HW_AIPS_MPRA_ADDR(x), BP_AIPS_MPRA_MTR0) = (v))
617 /*@}*/
618
619 /*******************************************************************************
620 * HW_AIPS_PACRA - Peripheral Access Control Register
621 ******************************************************************************/
622
623 /*!
624 * @brief HW_AIPS_PACRA - Peripheral Access Control Register (RW)
625 *
626 * Reset value: 0x50004000U
627 *
628 * Each PACR register consists of eight 4-bit PACR fields. Each PACR field
629 * defines the access levels for a particular peripheral. The mapping between a
630 * peripheral and its PACR field is shown in the table below. The peripheral assignment
631 * to each PACR is defined by the memory map slot that the peripheral is
632 * assigned to. See this chip's memory map for the assignment of a particular
633 * peripheral. The following table shows the location of each peripheral slot's PACR field
634 * in the PACR registers. Offset Register [31:28] [27:24] [23:20] [19:16] [15:12]
635 * [11:8] [7:4] [3:0] 0x20 PACRA PACR0 PACR1 PACR2 PACR3 PACR4 PACR5 PACR6 PACR7
636 * 0x24 PACRB PACR8 PACR9 PACR10 PACR11 PACR12 PACR13 PACR14 PACR15 0x28 PACRC
637 * PACR16 PACR17 PACR18 PACR19 PACR20 PACR21 PACR22 PACR23 0x2C PACRD PACR24
638 * PACR25 PACR26 PACR27 PACR28 PACR29 PACR30 PACR31 0x30 Reserved 0x34 Reserved 0x38
639 * Reserved 0x3C Reserved 0x40 PACRE PACR32 PACR33 PACR34 PACR35 PACR36 PACR37
640 * PACR38 PACR39 0x44 PACRF PACR40 PACR41 PACR42 PACR43 PACR44 PACR45 PACR46 PACR47
641 * 0x48 PACRG PACR48 PACR49 PACR50 PACR51 PACR52 PACR53 PACR54 PACR55 0x4C PACRH
642 * PACR56 PACR57 PACR58 PACR59 PACR60 PACR61 PACR62 PACR63 0x50 PACRI PACR64
643 * PACR65 PACR66 PACR67 PACR68 PACR69 PACR70 PACR71 0x54 PACRJ PACR72 PACR73 PACR74
644 * PACR75 PACR76 PACR77 PACR78 PACR79 0x58 PACRK PACR80 PACR81 PACR82 PACR83
645 * PACR84 PACR85 PACR86 PACR87 0x5C PACRL PACR88 PACR89 PACR90 PACR91 PACR92 PACR93
646 * PACR94 PACR95 0x60 PACRM PACR96 PACR97 PACR98 PACR99 PACR100 PACR101 PACR102
647 * PACR103 0x64 PACRN PACR104 PACR105 PACR106 PACR107 PACR108 PACR109 PACR110
648 * PACR111 0x68 PACRO PACR112 PACR113 PACR114 PACR115 PACR116 PACR117 PACR118 PACR119
649 * 0x6C PACRP PACR120 PACR121 PACR122 PACR123 PACR124 PACR125 PACR126 PACR127 0x80
650 * PACRU PACR GBL0 PACR GBL1 Reserved The register field descriptions for PACR
651 * A-D, which control peripheral slots 0-31, are shown below. The following
652 * section, PACRPeripheral Access Control Register , shows the register field
653 * descriptions for PACR E-P. All PACR registers are identical. They are divided into two
654 * sections because they occupy two non-contiguous address spaces.
655 */
656 typedef union _hw_aips_pacra
657 {
658 uint32_t U;
659 struct _hw_aips_pacra_bitfields
660 {
661 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
662 uint32_t WP7 : 1; /*!< [1] Write Protect */
663 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
664 uint32_t RESERVED0 : 1; /*!< [3] */
665 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
666 uint32_t WP6 : 1; /*!< [5] Write Protect */
667 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
668 uint32_t RESERVED1 : 1; /*!< [7] */
669 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
670 uint32_t WP5 : 1; /*!< [9] Write Protect */
671 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
672 uint32_t RESERVED2 : 1; /*!< [11] */
673 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
674 uint32_t WP4 : 1; /*!< [13] Write Protect */
675 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
676 uint32_t RESERVED3 : 1; /*!< [15] */
677 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
678 uint32_t WP3 : 1; /*!< [17] Write Protect */
679 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
680 uint32_t RESERVED4 : 1; /*!< [19] */
681 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
682 uint32_t WP2 : 1; /*!< [21] Write Protect */
683 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
684 uint32_t RESERVED5 : 1; /*!< [23] */
685 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
686 uint32_t WP1 : 1; /*!< [25] Write Protect */
687 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
688 uint32_t RESERVED6 : 1; /*!< [27] */
689 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
690 uint32_t WP0 : 1; /*!< [29] Write Protect */
691 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
692 uint32_t RESERVED7 : 1; /*!< [31] */
693 } B;
694 } hw_aips_pacra_t;
695
696 /*!
697 * @name Constants and macros for entire AIPS_PACRA register
698 */
699 /*@{*/
700 #define HW_AIPS_PACRA_ADDR(x) ((x) + 0x20U)
701
702 #define HW_AIPS_PACRA(x) (*(__IO hw_aips_pacra_t *) HW_AIPS_PACRA_ADDR(x))
703 #define HW_AIPS_PACRA_RD(x) (HW_AIPS_PACRA(x).U)
704 #define HW_AIPS_PACRA_WR(x, v) (HW_AIPS_PACRA(x).U = (v))
705 #define HW_AIPS_PACRA_SET(x, v) (HW_AIPS_PACRA_WR(x, HW_AIPS_PACRA_RD(x) | (v)))
706 #define HW_AIPS_PACRA_CLR(x, v) (HW_AIPS_PACRA_WR(x, HW_AIPS_PACRA_RD(x) & ~(v)))
707 #define HW_AIPS_PACRA_TOG(x, v) (HW_AIPS_PACRA_WR(x, HW_AIPS_PACRA_RD(x) ^ (v)))
708 /*@}*/
709
710 /*
711 * Constants & macros for individual AIPS_PACRA bitfields
712 */
713
714 /*!
715 * @name Register AIPS_PACRA, field TP7[0] (RW)
716 *
717 * Determines whether the peripheral allows accesses from an untrusted master.
718 * When this field is set and an access is attempted by an untrusted master, the
719 * access terminates with an error response and no peripheral access initiates.
720 *
721 * Values:
722 * - 0 - Accesses from an untrusted master are allowed.
723 * - 1 - Accesses from an untrusted master are not allowed.
724 */
725 /*@{*/
726 #define BP_AIPS_PACRA_TP7 (0U) /*!< Bit position for AIPS_PACRA_TP7. */
727 #define BM_AIPS_PACRA_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRA_TP7. */
728 #define BS_AIPS_PACRA_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP7. */
729
730 /*! @brief Read current value of the AIPS_PACRA_TP7 field. */
731 #define BR_AIPS_PACRA_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP7))
732
733 /*! @brief Format value for bitfield AIPS_PACRA_TP7. */
734 #define BF_AIPS_PACRA_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP7) & BM_AIPS_PACRA_TP7)
735
736 /*! @brief Set the TP7 field to a new value. */
737 #define BW_AIPS_PACRA_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP7) = (v))
738 /*@}*/
739
740 /*!
741 * @name Register AIPS_PACRA, field WP7[1] (RW)
742 *
743 * Determines whether the peripheral allows write accesses. When this field is
744 * set and a write access is attempted, access terminates with an error response
745 * and no peripheral access initiates.
746 *
747 * Values:
748 * - 0 - This peripheral allows write accesses.
749 * - 1 - This peripheral is write protected.
750 */
751 /*@{*/
752 #define BP_AIPS_PACRA_WP7 (1U) /*!< Bit position for AIPS_PACRA_WP7. */
753 #define BM_AIPS_PACRA_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRA_WP7. */
754 #define BS_AIPS_PACRA_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP7. */
755
756 /*! @brief Read current value of the AIPS_PACRA_WP7 field. */
757 #define BR_AIPS_PACRA_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP7))
758
759 /*! @brief Format value for bitfield AIPS_PACRA_WP7. */
760 #define BF_AIPS_PACRA_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP7) & BM_AIPS_PACRA_WP7)
761
762 /*! @brief Set the WP7 field to a new value. */
763 #define BW_AIPS_PACRA_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP7) = (v))
764 /*@}*/
765
766 /*!
767 * @name Register AIPS_PACRA, field SP7[2] (RW)
768 *
769 * Determines whether the peripheral requires supervisor privilege level for
770 * accesses. When this field is set, the master privilege level must indicate the
771 * supervisor access attribute, and the MPRx[MPLn] control field for the master
772 * must be set. If not, access terminates with an error response and no peripheral
773 * access initiates.
774 *
775 * Values:
776 * - 0 - This peripheral does not require supervisor privilege level for
777 * accesses.
778 * - 1 - This peripheral requires supervisor privilege level for accesses.
779 */
780 /*@{*/
781 #define BP_AIPS_PACRA_SP7 (2U) /*!< Bit position for AIPS_PACRA_SP7. */
782 #define BM_AIPS_PACRA_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRA_SP7. */
783 #define BS_AIPS_PACRA_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP7. */
784
785 /*! @brief Read current value of the AIPS_PACRA_SP7 field. */
786 #define BR_AIPS_PACRA_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP7))
787
788 /*! @brief Format value for bitfield AIPS_PACRA_SP7. */
789 #define BF_AIPS_PACRA_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP7) & BM_AIPS_PACRA_SP7)
790
791 /*! @brief Set the SP7 field to a new value. */
792 #define BW_AIPS_PACRA_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP7) = (v))
793 /*@}*/
794
795 /*!
796 * @name Register AIPS_PACRA, field TP6[4] (RW)
797 *
798 * Determines whether the peripheral allows accesses from an untrusted master.
799 * When this field is set and an access is attempted by an untrusted master, the
800 * access terminates with an error response and no peripheral access initiates.
801 *
802 * Values:
803 * - 0 - Accesses from an untrusted master are allowed.
804 * - 1 - Accesses from an untrusted master are not allowed.
805 */
806 /*@{*/
807 #define BP_AIPS_PACRA_TP6 (4U) /*!< Bit position for AIPS_PACRA_TP6. */
808 #define BM_AIPS_PACRA_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRA_TP6. */
809 #define BS_AIPS_PACRA_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP6. */
810
811 /*! @brief Read current value of the AIPS_PACRA_TP6 field. */
812 #define BR_AIPS_PACRA_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP6))
813
814 /*! @brief Format value for bitfield AIPS_PACRA_TP6. */
815 #define BF_AIPS_PACRA_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP6) & BM_AIPS_PACRA_TP6)
816
817 /*! @brief Set the TP6 field to a new value. */
818 #define BW_AIPS_PACRA_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP6) = (v))
819 /*@}*/
820
821 /*!
822 * @name Register AIPS_PACRA, field WP6[5] (RW)
823 *
824 * Determines whether the peripheral allows write accesses. When this field is
825 * set and a write access is attempted, access terminates with an error response
826 * and no peripheral access initiates.
827 *
828 * Values:
829 * - 0 - This peripheral allows write accesses.
830 * - 1 - This peripheral is write protected.
831 */
832 /*@{*/
833 #define BP_AIPS_PACRA_WP6 (5U) /*!< Bit position for AIPS_PACRA_WP6. */
834 #define BM_AIPS_PACRA_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRA_WP6. */
835 #define BS_AIPS_PACRA_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP6. */
836
837 /*! @brief Read current value of the AIPS_PACRA_WP6 field. */
838 #define BR_AIPS_PACRA_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP6))
839
840 /*! @brief Format value for bitfield AIPS_PACRA_WP6. */
841 #define BF_AIPS_PACRA_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP6) & BM_AIPS_PACRA_WP6)
842
843 /*! @brief Set the WP6 field to a new value. */
844 #define BW_AIPS_PACRA_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP6) = (v))
845 /*@}*/
846
847 /*!
848 * @name Register AIPS_PACRA, field SP6[6] (RW)
849 *
850 * Determines whether the peripheral requires supervisor privilege level for
851 * accesses. When this field is set, the master privilege level must indicate the
852 * supervisor access attribute, and the MPRx[MPLn] control field for the master
853 * must be set. If not, access terminates with an error response and no peripheral
854 * access initiates.
855 *
856 * Values:
857 * - 0 - This peripheral does not require supervisor privilege level for
858 * accesses.
859 * - 1 - This peripheral requires supervisor privilege level for accesses.
860 */
861 /*@{*/
862 #define BP_AIPS_PACRA_SP6 (6U) /*!< Bit position for AIPS_PACRA_SP6. */
863 #define BM_AIPS_PACRA_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRA_SP6. */
864 #define BS_AIPS_PACRA_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP6. */
865
866 /*! @brief Read current value of the AIPS_PACRA_SP6 field. */
867 #define BR_AIPS_PACRA_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP6))
868
869 /*! @brief Format value for bitfield AIPS_PACRA_SP6. */
870 #define BF_AIPS_PACRA_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP6) & BM_AIPS_PACRA_SP6)
871
872 /*! @brief Set the SP6 field to a new value. */
873 #define BW_AIPS_PACRA_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP6) = (v))
874 /*@}*/
875
876 /*!
877 * @name Register AIPS_PACRA, field TP5[8] (RW)
878 *
879 * Determines whether the peripheral allows accesses from an untrusted master.
880 * When this field is set and an access is attempted by an untrusted master, the
881 * access terminates with an error response and no peripheral access initiates.
882 *
883 * Values:
884 * - 0 - Accesses from an untrusted master are allowed.
885 * - 1 - Accesses from an untrusted master are not allowed.
886 */
887 /*@{*/
888 #define BP_AIPS_PACRA_TP5 (8U) /*!< Bit position for AIPS_PACRA_TP5. */
889 #define BM_AIPS_PACRA_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRA_TP5. */
890 #define BS_AIPS_PACRA_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP5. */
891
892 /*! @brief Read current value of the AIPS_PACRA_TP5 field. */
893 #define BR_AIPS_PACRA_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP5))
894
895 /*! @brief Format value for bitfield AIPS_PACRA_TP5. */
896 #define BF_AIPS_PACRA_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP5) & BM_AIPS_PACRA_TP5)
897
898 /*! @brief Set the TP5 field to a new value. */
899 #define BW_AIPS_PACRA_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP5) = (v))
900 /*@}*/
901
902 /*!
903 * @name Register AIPS_PACRA, field WP5[9] (RW)
904 *
905 * Determines whether the peripheral allows write accesses. When this field is
906 * set and a write access is attempted, access terminates with an error response
907 * and no peripheral access initiates.
908 *
909 * Values:
910 * - 0 - This peripheral allows write accesses.
911 * - 1 - This peripheral is write protected.
912 */
913 /*@{*/
914 #define BP_AIPS_PACRA_WP5 (9U) /*!< Bit position for AIPS_PACRA_WP5. */
915 #define BM_AIPS_PACRA_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRA_WP5. */
916 #define BS_AIPS_PACRA_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP5. */
917
918 /*! @brief Read current value of the AIPS_PACRA_WP5 field. */
919 #define BR_AIPS_PACRA_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP5))
920
921 /*! @brief Format value for bitfield AIPS_PACRA_WP5. */
922 #define BF_AIPS_PACRA_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP5) & BM_AIPS_PACRA_WP5)
923
924 /*! @brief Set the WP5 field to a new value. */
925 #define BW_AIPS_PACRA_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP5) = (v))
926 /*@}*/
927
928 /*!
929 * @name Register AIPS_PACRA, field SP5[10] (RW)
930 *
931 * Determines whether the peripheral requires supervisor privilege level for
932 * accesses. When this field is set, the master privilege level must indicate the
933 * supervisor access attribute, and the MPRx[MPLn] control field for the master
934 * must be set. If not, access terminates with an error response and no peripheral
935 * access initiates.
936 *
937 * Values:
938 * - 0 - This peripheral does not require supervisor privilege level for
939 * accesses.
940 * - 1 - This peripheral requires supervisor privilege level for accesses.
941 */
942 /*@{*/
943 #define BP_AIPS_PACRA_SP5 (10U) /*!< Bit position for AIPS_PACRA_SP5. */
944 #define BM_AIPS_PACRA_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRA_SP5. */
945 #define BS_AIPS_PACRA_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP5. */
946
947 /*! @brief Read current value of the AIPS_PACRA_SP5 field. */
948 #define BR_AIPS_PACRA_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP5))
949
950 /*! @brief Format value for bitfield AIPS_PACRA_SP5. */
951 #define BF_AIPS_PACRA_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP5) & BM_AIPS_PACRA_SP5)
952
953 /*! @brief Set the SP5 field to a new value. */
954 #define BW_AIPS_PACRA_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP5) = (v))
955 /*@}*/
956
957 /*!
958 * @name Register AIPS_PACRA, field TP4[12] (RW)
959 *
960 * Determines whether the peripheral allows accesses from an untrusted master.
961 * When this field is set and an access is attempted by an untrusted master, the
962 * access terminates with an error response and no peripheral access initiates.
963 *
964 * Values:
965 * - 0 - Accesses from an untrusted master are allowed.
966 * - 1 - Accesses from an untrusted master are not allowed.
967 */
968 /*@{*/
969 #define BP_AIPS_PACRA_TP4 (12U) /*!< Bit position for AIPS_PACRA_TP4. */
970 #define BM_AIPS_PACRA_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRA_TP4. */
971 #define BS_AIPS_PACRA_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP4. */
972
973 /*! @brief Read current value of the AIPS_PACRA_TP4 field. */
974 #define BR_AIPS_PACRA_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP4))
975
976 /*! @brief Format value for bitfield AIPS_PACRA_TP4. */
977 #define BF_AIPS_PACRA_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP4) & BM_AIPS_PACRA_TP4)
978
979 /*! @brief Set the TP4 field to a new value. */
980 #define BW_AIPS_PACRA_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP4) = (v))
981 /*@}*/
982
983 /*!
984 * @name Register AIPS_PACRA, field WP4[13] (RW)
985 *
986 * Determines whether the peripheral allows write accesss. When this bit is set
987 * and a write access is attempted, access terminates with an error response and
988 * no peripheral access initiates.
989 *
990 * Values:
991 * - 0 - This peripheral allows write accesses.
992 * - 1 - This peripheral is write protected.
993 */
994 /*@{*/
995 #define BP_AIPS_PACRA_WP4 (13U) /*!< Bit position for AIPS_PACRA_WP4. */
996 #define BM_AIPS_PACRA_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRA_WP4. */
997 #define BS_AIPS_PACRA_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP4. */
998
999 /*! @brief Read current value of the AIPS_PACRA_WP4 field. */
1000 #define BR_AIPS_PACRA_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP4))
1001
1002 /*! @brief Format value for bitfield AIPS_PACRA_WP4. */
1003 #define BF_AIPS_PACRA_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP4) & BM_AIPS_PACRA_WP4)
1004
1005 /*! @brief Set the WP4 field to a new value. */
1006 #define BW_AIPS_PACRA_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP4) = (v))
1007 /*@}*/
1008
1009 /*!
1010 * @name Register AIPS_PACRA, field SP4[14] (RW)
1011 *
1012 * Determines whether the peripheral requires supervisor privilege level for
1013 * accesses. When this field is set, the master privilege level must indicate the
1014 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1015 * must be set. If not, access terminates with an error response and no peripheral
1016 * access initiates.
1017 *
1018 * Values:
1019 * - 0 - This peripheral does not require supervisor privilege level for
1020 * accesses.
1021 * - 1 - This peripheral requires supervisor privilege level for accesses.
1022 */
1023 /*@{*/
1024 #define BP_AIPS_PACRA_SP4 (14U) /*!< Bit position for AIPS_PACRA_SP4. */
1025 #define BM_AIPS_PACRA_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRA_SP4. */
1026 #define BS_AIPS_PACRA_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP4. */
1027
1028 /*! @brief Read current value of the AIPS_PACRA_SP4 field. */
1029 #define BR_AIPS_PACRA_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP4))
1030
1031 /*! @brief Format value for bitfield AIPS_PACRA_SP4. */
1032 #define BF_AIPS_PACRA_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP4) & BM_AIPS_PACRA_SP4)
1033
1034 /*! @brief Set the SP4 field to a new value. */
1035 #define BW_AIPS_PACRA_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP4) = (v))
1036 /*@}*/
1037
1038 /*!
1039 * @name Register AIPS_PACRA, field TP3[16] (RW)
1040 *
1041 * Determines whether the peripheral allows accesses from an untrusted master.
1042 * When this bit is set and an access is attempted by an untrusted master, the
1043 * access terminates with an error response and no peripheral access initiates.
1044 *
1045 * Values:
1046 * - 0 - Accesses from an untrusted master are allowed.
1047 * - 1 - Accesses from an untrusted master are not allowed.
1048 */
1049 /*@{*/
1050 #define BP_AIPS_PACRA_TP3 (16U) /*!< Bit position for AIPS_PACRA_TP3. */
1051 #define BM_AIPS_PACRA_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRA_TP3. */
1052 #define BS_AIPS_PACRA_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP3. */
1053
1054 /*! @brief Read current value of the AIPS_PACRA_TP3 field. */
1055 #define BR_AIPS_PACRA_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP3))
1056
1057 /*! @brief Format value for bitfield AIPS_PACRA_TP3. */
1058 #define BF_AIPS_PACRA_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP3) & BM_AIPS_PACRA_TP3)
1059
1060 /*! @brief Set the TP3 field to a new value. */
1061 #define BW_AIPS_PACRA_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP3) = (v))
1062 /*@}*/
1063
1064 /*!
1065 * @name Register AIPS_PACRA, field WP3[17] (RW)
1066 *
1067 * Determines whether the peripheral allows write accesses. When this field is
1068 * set and a write access is attempted, access terminates with an error response
1069 * and no peripheral access initiates.
1070 *
1071 * Values:
1072 * - 0 - This peripheral allows write accesses.
1073 * - 1 - This peripheral is write protected.
1074 */
1075 /*@{*/
1076 #define BP_AIPS_PACRA_WP3 (17U) /*!< Bit position for AIPS_PACRA_WP3. */
1077 #define BM_AIPS_PACRA_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRA_WP3. */
1078 #define BS_AIPS_PACRA_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP3. */
1079
1080 /*! @brief Read current value of the AIPS_PACRA_WP3 field. */
1081 #define BR_AIPS_PACRA_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP3))
1082
1083 /*! @brief Format value for bitfield AIPS_PACRA_WP3. */
1084 #define BF_AIPS_PACRA_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP3) & BM_AIPS_PACRA_WP3)
1085
1086 /*! @brief Set the WP3 field to a new value. */
1087 #define BW_AIPS_PACRA_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP3) = (v))
1088 /*@}*/
1089
1090 /*!
1091 * @name Register AIPS_PACRA, field SP3[18] (RW)
1092 *
1093 * Determines whether the peripheral requires supervisor privilege level for
1094 * access. When this bit is set, the master privilege level must indicate the
1095 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
1096 * set. If not, access terminates with an error response and no peripheral access
1097 * initiates.
1098 *
1099 * Values:
1100 * - 0 - This peripheral does not require supervisor privilege level for
1101 * accesses.
1102 * - 1 - This peripheral requires supervisor privilege level for accesses.
1103 */
1104 /*@{*/
1105 #define BP_AIPS_PACRA_SP3 (18U) /*!< Bit position for AIPS_PACRA_SP3. */
1106 #define BM_AIPS_PACRA_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRA_SP3. */
1107 #define BS_AIPS_PACRA_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP3. */
1108
1109 /*! @brief Read current value of the AIPS_PACRA_SP3 field. */
1110 #define BR_AIPS_PACRA_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP3))
1111
1112 /*! @brief Format value for bitfield AIPS_PACRA_SP3. */
1113 #define BF_AIPS_PACRA_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP3) & BM_AIPS_PACRA_SP3)
1114
1115 /*! @brief Set the SP3 field to a new value. */
1116 #define BW_AIPS_PACRA_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP3) = (v))
1117 /*@}*/
1118
1119 /*!
1120 * @name Register AIPS_PACRA, field TP2[20] (RW)
1121 *
1122 * Determines whether the peripheral allows accesses from an untrusted master.
1123 * When this field is set and an access is attempted by an untrusted master, the
1124 * access terminates with an error response and no peripheral access initiates.
1125 *
1126 * Values:
1127 * - 0 - Accesses from an untrusted master are allowed.
1128 * - 1 - Accesses from an untrusted master are not allowed.
1129 */
1130 /*@{*/
1131 #define BP_AIPS_PACRA_TP2 (20U) /*!< Bit position for AIPS_PACRA_TP2. */
1132 #define BM_AIPS_PACRA_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRA_TP2. */
1133 #define BS_AIPS_PACRA_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP2. */
1134
1135 /*! @brief Read current value of the AIPS_PACRA_TP2 field. */
1136 #define BR_AIPS_PACRA_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP2))
1137
1138 /*! @brief Format value for bitfield AIPS_PACRA_TP2. */
1139 #define BF_AIPS_PACRA_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP2) & BM_AIPS_PACRA_TP2)
1140
1141 /*! @brief Set the TP2 field to a new value. */
1142 #define BW_AIPS_PACRA_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP2) = (v))
1143 /*@}*/
1144
1145 /*!
1146 * @name Register AIPS_PACRA, field WP2[21] (RW)
1147 *
1148 * Determines whether the peripheral allows write accesss. When this bit is set
1149 * and a write access is attempted, access terminates with an error response and
1150 * no peripheral access initiates.
1151 *
1152 * Values:
1153 * - 0 - This peripheral allows write accesses.
1154 * - 1 - This peripheral is write protected.
1155 */
1156 /*@{*/
1157 #define BP_AIPS_PACRA_WP2 (21U) /*!< Bit position for AIPS_PACRA_WP2. */
1158 #define BM_AIPS_PACRA_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRA_WP2. */
1159 #define BS_AIPS_PACRA_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP2. */
1160
1161 /*! @brief Read current value of the AIPS_PACRA_WP2 field. */
1162 #define BR_AIPS_PACRA_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP2))
1163
1164 /*! @brief Format value for bitfield AIPS_PACRA_WP2. */
1165 #define BF_AIPS_PACRA_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP2) & BM_AIPS_PACRA_WP2)
1166
1167 /*! @brief Set the WP2 field to a new value. */
1168 #define BW_AIPS_PACRA_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP2) = (v))
1169 /*@}*/
1170
1171 /*!
1172 * @name Register AIPS_PACRA, field SP2[22] (RW)
1173 *
1174 * Determines whether the peripheral requires supervisor privilege level for
1175 * accesses. When this field is set, the master privilege level must indicate the
1176 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1177 * must be set. If not, access terminates with an error response and no peripheral
1178 * access initiates.
1179 *
1180 * Values:
1181 * - 0 - This peripheral does not require supervisor privilege level for
1182 * accesses.
1183 * - 1 - This peripheral requires supervisor privilege level for accesses.
1184 */
1185 /*@{*/
1186 #define BP_AIPS_PACRA_SP2 (22U) /*!< Bit position for AIPS_PACRA_SP2. */
1187 #define BM_AIPS_PACRA_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRA_SP2. */
1188 #define BS_AIPS_PACRA_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP2. */
1189
1190 /*! @brief Read current value of the AIPS_PACRA_SP2 field. */
1191 #define BR_AIPS_PACRA_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP2))
1192
1193 /*! @brief Format value for bitfield AIPS_PACRA_SP2. */
1194 #define BF_AIPS_PACRA_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP2) & BM_AIPS_PACRA_SP2)
1195
1196 /*! @brief Set the SP2 field to a new value. */
1197 #define BW_AIPS_PACRA_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP2) = (v))
1198 /*@}*/
1199
1200 /*!
1201 * @name Register AIPS_PACRA, field TP1[24] (RW)
1202 *
1203 * Determines whether the peripheral allows accesses from an untrusted master.
1204 * When this bit is set and an access is attempted by an untrusted master, the
1205 * access terminates with an error response and no peripheral access initiates.
1206 *
1207 * Values:
1208 * - 0 - Accesses from an untrusted master are allowed.
1209 * - 1 - Accesses from an untrusted master are not allowed.
1210 */
1211 /*@{*/
1212 #define BP_AIPS_PACRA_TP1 (24U) /*!< Bit position for AIPS_PACRA_TP1. */
1213 #define BM_AIPS_PACRA_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRA_TP1. */
1214 #define BS_AIPS_PACRA_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP1. */
1215
1216 /*! @brief Read current value of the AIPS_PACRA_TP1 field. */
1217 #define BR_AIPS_PACRA_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP1))
1218
1219 /*! @brief Format value for bitfield AIPS_PACRA_TP1. */
1220 #define BF_AIPS_PACRA_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP1) & BM_AIPS_PACRA_TP1)
1221
1222 /*! @brief Set the TP1 field to a new value. */
1223 #define BW_AIPS_PACRA_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP1) = (v))
1224 /*@}*/
1225
1226 /*!
1227 * @name Register AIPS_PACRA, field WP1[25] (RW)
1228 *
1229 * Determines whether the peripheral allows write accesses. When this field is
1230 * set and a write access is attempted, access terminates with an error response
1231 * and no peripheral access initiates.
1232 *
1233 * Values:
1234 * - 0 - This peripheral allows write accesses.
1235 * - 1 - This peripheral is write protected.
1236 */
1237 /*@{*/
1238 #define BP_AIPS_PACRA_WP1 (25U) /*!< Bit position for AIPS_PACRA_WP1. */
1239 #define BM_AIPS_PACRA_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRA_WP1. */
1240 #define BS_AIPS_PACRA_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP1. */
1241
1242 /*! @brief Read current value of the AIPS_PACRA_WP1 field. */
1243 #define BR_AIPS_PACRA_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP1))
1244
1245 /*! @brief Format value for bitfield AIPS_PACRA_WP1. */
1246 #define BF_AIPS_PACRA_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP1) & BM_AIPS_PACRA_WP1)
1247
1248 /*! @brief Set the WP1 field to a new value. */
1249 #define BW_AIPS_PACRA_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP1) = (v))
1250 /*@}*/
1251
1252 /*!
1253 * @name Register AIPS_PACRA, field SP1[26] (RW)
1254 *
1255 * Determines whether the peripheral requires supervisor privilege level for
1256 * accesses. When this field is set, the master privilege level must indicate the
1257 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1258 * must be set. If not, access terminates with an error response and no peripheral
1259 * access initiates.
1260 *
1261 * Values:
1262 * - 0 - This peripheral does not require supervisor privilege level for
1263 * accesses.
1264 * - 1 - This peripheral requires supervisor privilege level for accesses.
1265 */
1266 /*@{*/
1267 #define BP_AIPS_PACRA_SP1 (26U) /*!< Bit position for AIPS_PACRA_SP1. */
1268 #define BM_AIPS_PACRA_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRA_SP1. */
1269 #define BS_AIPS_PACRA_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP1. */
1270
1271 /*! @brief Read current value of the AIPS_PACRA_SP1 field. */
1272 #define BR_AIPS_PACRA_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP1))
1273
1274 /*! @brief Format value for bitfield AIPS_PACRA_SP1. */
1275 #define BF_AIPS_PACRA_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP1) & BM_AIPS_PACRA_SP1)
1276
1277 /*! @brief Set the SP1 field to a new value. */
1278 #define BW_AIPS_PACRA_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP1) = (v))
1279 /*@}*/
1280
1281 /*!
1282 * @name Register AIPS_PACRA, field TP0[28] (RW)
1283 *
1284 * Determines whether the peripheral allows accesses from an untrusted master.
1285 * When this field is set and an access is attempted by an untrusted master, the
1286 * access terminates with an error response and no peripheral access initiates.
1287 *
1288 * Values:
1289 * - 0 - Accesses from an untrusted master are allowed.
1290 * - 1 - Accesses from an untrusted master are not allowed.
1291 */
1292 /*@{*/
1293 #define BP_AIPS_PACRA_TP0 (28U) /*!< Bit position for AIPS_PACRA_TP0. */
1294 #define BM_AIPS_PACRA_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRA_TP0. */
1295 #define BS_AIPS_PACRA_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRA_TP0. */
1296
1297 /*! @brief Read current value of the AIPS_PACRA_TP0 field. */
1298 #define BR_AIPS_PACRA_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP0))
1299
1300 /*! @brief Format value for bitfield AIPS_PACRA_TP0. */
1301 #define BF_AIPS_PACRA_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_TP0) & BM_AIPS_PACRA_TP0)
1302
1303 /*! @brief Set the TP0 field to a new value. */
1304 #define BW_AIPS_PACRA_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_TP0) = (v))
1305 /*@}*/
1306
1307 /*!
1308 * @name Register AIPS_PACRA, field WP0[29] (RW)
1309 *
1310 * Determines whether the peripheral allows write accesss. When this bit is set
1311 * and a write access is attempted, access terminates with an error response and
1312 * no peripheral access initiates.
1313 *
1314 * Values:
1315 * - 0 - This peripheral allows write accesses.
1316 * - 1 - This peripheral is write protected.
1317 */
1318 /*@{*/
1319 #define BP_AIPS_PACRA_WP0 (29U) /*!< Bit position for AIPS_PACRA_WP0. */
1320 #define BM_AIPS_PACRA_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRA_WP0. */
1321 #define BS_AIPS_PACRA_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRA_WP0. */
1322
1323 /*! @brief Read current value of the AIPS_PACRA_WP0 field. */
1324 #define BR_AIPS_PACRA_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP0))
1325
1326 /*! @brief Format value for bitfield AIPS_PACRA_WP0. */
1327 #define BF_AIPS_PACRA_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_WP0) & BM_AIPS_PACRA_WP0)
1328
1329 /*! @brief Set the WP0 field to a new value. */
1330 #define BW_AIPS_PACRA_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_WP0) = (v))
1331 /*@}*/
1332
1333 /*!
1334 * @name Register AIPS_PACRA, field SP0[30] (RW)
1335 *
1336 * Determines whether the peripheral requires supervisor privilege level for
1337 * accesses. When this field is set, the master privilege level must indicate the
1338 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1339 * must be set. If not, access terminates with an error response and no peripheral
1340 * access initiates.
1341 *
1342 * Values:
1343 * - 0 - This peripheral does not require supervisor privilege level for
1344 * accesses.
1345 * - 1 - This peripheral requires supervisor privilege level for accesses.
1346 */
1347 /*@{*/
1348 #define BP_AIPS_PACRA_SP0 (30U) /*!< Bit position for AIPS_PACRA_SP0. */
1349 #define BM_AIPS_PACRA_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRA_SP0. */
1350 #define BS_AIPS_PACRA_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRA_SP0. */
1351
1352 /*! @brief Read current value of the AIPS_PACRA_SP0 field. */
1353 #define BR_AIPS_PACRA_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP0))
1354
1355 /*! @brief Format value for bitfield AIPS_PACRA_SP0. */
1356 #define BF_AIPS_PACRA_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRA_SP0) & BM_AIPS_PACRA_SP0)
1357
1358 /*! @brief Set the SP0 field to a new value. */
1359 #define BW_AIPS_PACRA_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRA_ADDR(x), BP_AIPS_PACRA_SP0) = (v))
1360 /*@}*/
1361
1362 /*******************************************************************************
1363 * HW_AIPS_PACRB - Peripheral Access Control Register
1364 ******************************************************************************/
1365
1366 /*!
1367 * @brief HW_AIPS_PACRB - Peripheral Access Control Register (RW)
1368 *
1369 * Reset value: 0x44004400U
1370 *
1371 * Each PACR register consists of eight 4-bit PACR fields. Each PACR field
1372 * defines the access levels for a particular peripheral. The mapping between a
1373 * peripheral and its PACR field is shown in the table below. The peripheral assignment
1374 * to each PACR is defined by the memory map slot that the peripheral is
1375 * assigned to. See this chip's memory map for the assignment of a particular
1376 * peripheral. The following table shows the location of each peripheral slot's PACR field
1377 * in the PACR registers. Offset Register [31:28] [27:24] [23:20] [19:16] [15:12]
1378 * [11:8] [7:4] [3:0] 0x20 PACRA PACR0 PACR1 PACR2 PACR3 PACR4 PACR5 PACR6 PACR7
1379 * 0x24 PACRB PACR8 PACR9 PACR10 PACR11 PACR12 PACR13 PACR14 PACR15 0x28 PACRC
1380 * PACR16 PACR17 PACR18 PACR19 PACR20 PACR21 PACR22 PACR23 0x2C PACRD PACR24
1381 * PACR25 PACR26 PACR27 PACR28 PACR29 PACR30 PACR31 0x30 Reserved 0x34 Reserved 0x38
1382 * Reserved 0x3C Reserved 0x40 PACRE PACR32 PACR33 PACR34 PACR35 PACR36 PACR37
1383 * PACR38 PACR39 0x44 PACRF PACR40 PACR41 PACR42 PACR43 PACR44 PACR45 PACR46 PACR47
1384 * 0x48 PACRG PACR48 PACR49 PACR50 PACR51 PACR52 PACR53 PACR54 PACR55 0x4C PACRH
1385 * PACR56 PACR57 PACR58 PACR59 PACR60 PACR61 PACR62 PACR63 0x50 PACRI PACR64
1386 * PACR65 PACR66 PACR67 PACR68 PACR69 PACR70 PACR71 0x54 PACRJ PACR72 PACR73 PACR74
1387 * PACR75 PACR76 PACR77 PACR78 PACR79 0x58 PACRK PACR80 PACR81 PACR82 PACR83
1388 * PACR84 PACR85 PACR86 PACR87 0x5C PACRL PACR88 PACR89 PACR90 PACR91 PACR92 PACR93
1389 * PACR94 PACR95 0x60 PACRM PACR96 PACR97 PACR98 PACR99 PACR100 PACR101 PACR102
1390 * PACR103 0x64 PACRN PACR104 PACR105 PACR106 PACR107 PACR108 PACR109 PACR110
1391 * PACR111 0x68 PACRO PACR112 PACR113 PACR114 PACR115 PACR116 PACR117 PACR118 PACR119
1392 * 0x6C PACRP PACR120 PACR121 PACR122 PACR123 PACR124 PACR125 PACR126 PACR127 0x80
1393 * PACRU PACR GBL0 PACR GBL1 Reserved The register field descriptions for PACR
1394 * A-D, which control peripheral slots 0-31, are shown below. The following
1395 * section, PACRPeripheral Access Control Register , shows the register field
1396 * descriptions for PACR E-P. All PACR registers are identical. They are divided into two
1397 * sections because they occupy two non-contiguous address spaces.
1398 */
1399 typedef union _hw_aips_pacrb
1400 {
1401 uint32_t U;
1402 struct _hw_aips_pacrb_bitfields
1403 {
1404 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
1405 uint32_t WP7 : 1; /*!< [1] Write Protect */
1406 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
1407 uint32_t RESERVED0 : 1; /*!< [3] */
1408 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
1409 uint32_t WP6 : 1; /*!< [5] Write Protect */
1410 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
1411 uint32_t RESERVED1 : 1; /*!< [7] */
1412 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
1413 uint32_t WP5 : 1; /*!< [9] Write Protect */
1414 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
1415 uint32_t RESERVED2 : 1; /*!< [11] */
1416 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
1417 uint32_t WP4 : 1; /*!< [13] Write Protect */
1418 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
1419 uint32_t RESERVED3 : 1; /*!< [15] */
1420 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
1421 uint32_t WP3 : 1; /*!< [17] Write Protect */
1422 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
1423 uint32_t RESERVED4 : 1; /*!< [19] */
1424 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
1425 uint32_t WP2 : 1; /*!< [21] Write Protect */
1426 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
1427 uint32_t RESERVED5 : 1; /*!< [23] */
1428 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
1429 uint32_t WP1 : 1; /*!< [25] Write Protect */
1430 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
1431 uint32_t RESERVED6 : 1; /*!< [27] */
1432 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
1433 uint32_t WP0 : 1; /*!< [29] Write Protect */
1434 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
1435 uint32_t RESERVED7 : 1; /*!< [31] */
1436 } B;
1437 } hw_aips_pacrb_t;
1438
1439 /*!
1440 * @name Constants and macros for entire AIPS_PACRB register
1441 */
1442 /*@{*/
1443 #define HW_AIPS_PACRB_ADDR(x) ((x) + 0x24U)
1444
1445 #define HW_AIPS_PACRB(x) (*(__IO hw_aips_pacrb_t *) HW_AIPS_PACRB_ADDR(x))
1446 #define HW_AIPS_PACRB_RD(x) (HW_AIPS_PACRB(x).U)
1447 #define HW_AIPS_PACRB_WR(x, v) (HW_AIPS_PACRB(x).U = (v))
1448 #define HW_AIPS_PACRB_SET(x, v) (HW_AIPS_PACRB_WR(x, HW_AIPS_PACRB_RD(x) | (v)))
1449 #define HW_AIPS_PACRB_CLR(x, v) (HW_AIPS_PACRB_WR(x, HW_AIPS_PACRB_RD(x) & ~(v)))
1450 #define HW_AIPS_PACRB_TOG(x, v) (HW_AIPS_PACRB_WR(x, HW_AIPS_PACRB_RD(x) ^ (v)))
1451 /*@}*/
1452
1453 /*
1454 * Constants & macros for individual AIPS_PACRB bitfields
1455 */
1456
1457 /*!
1458 * @name Register AIPS_PACRB, field TP7[0] (RW)
1459 *
1460 * Determines whether the peripheral allows accesses from an untrusted master.
1461 * When this field is set and an access is attempted by an untrusted master, the
1462 * access terminates with an error response and no peripheral access initiates.
1463 *
1464 * Values:
1465 * - 0 - Accesses from an untrusted master are allowed.
1466 * - 1 - Accesses from an untrusted master are not allowed.
1467 */
1468 /*@{*/
1469 #define BP_AIPS_PACRB_TP7 (0U) /*!< Bit position for AIPS_PACRB_TP7. */
1470 #define BM_AIPS_PACRB_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRB_TP7. */
1471 #define BS_AIPS_PACRB_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP7. */
1472
1473 /*! @brief Read current value of the AIPS_PACRB_TP7 field. */
1474 #define BR_AIPS_PACRB_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP7))
1475
1476 /*! @brief Format value for bitfield AIPS_PACRB_TP7. */
1477 #define BF_AIPS_PACRB_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP7) & BM_AIPS_PACRB_TP7)
1478
1479 /*! @brief Set the TP7 field to a new value. */
1480 #define BW_AIPS_PACRB_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP7) = (v))
1481 /*@}*/
1482
1483 /*!
1484 * @name Register AIPS_PACRB, field WP7[1] (RW)
1485 *
1486 * Determines whether the peripheral allows write accesses. When this field is
1487 * set and a write access is attempted, access terminates with an error response
1488 * and no peripheral access initiates.
1489 *
1490 * Values:
1491 * - 0 - This peripheral allows write accesses.
1492 * - 1 - This peripheral is write protected.
1493 */
1494 /*@{*/
1495 #define BP_AIPS_PACRB_WP7 (1U) /*!< Bit position for AIPS_PACRB_WP7. */
1496 #define BM_AIPS_PACRB_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRB_WP7. */
1497 #define BS_AIPS_PACRB_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP7. */
1498
1499 /*! @brief Read current value of the AIPS_PACRB_WP7 field. */
1500 #define BR_AIPS_PACRB_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP7))
1501
1502 /*! @brief Format value for bitfield AIPS_PACRB_WP7. */
1503 #define BF_AIPS_PACRB_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP7) & BM_AIPS_PACRB_WP7)
1504
1505 /*! @brief Set the WP7 field to a new value. */
1506 #define BW_AIPS_PACRB_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP7) = (v))
1507 /*@}*/
1508
1509 /*!
1510 * @name Register AIPS_PACRB, field SP7[2] (RW)
1511 *
1512 * Determines whether the peripheral requires supervisor privilege level for
1513 * accesses. When this field is set, the master privilege level must indicate the
1514 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1515 * must be set. If not, access terminates with an error response and no peripheral
1516 * access initiates.
1517 *
1518 * Values:
1519 * - 0 - This peripheral does not require supervisor privilege level for
1520 * accesses.
1521 * - 1 - This peripheral requires supervisor privilege level for accesses.
1522 */
1523 /*@{*/
1524 #define BP_AIPS_PACRB_SP7 (2U) /*!< Bit position for AIPS_PACRB_SP7. */
1525 #define BM_AIPS_PACRB_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRB_SP7. */
1526 #define BS_AIPS_PACRB_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP7. */
1527
1528 /*! @brief Read current value of the AIPS_PACRB_SP7 field. */
1529 #define BR_AIPS_PACRB_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP7))
1530
1531 /*! @brief Format value for bitfield AIPS_PACRB_SP7. */
1532 #define BF_AIPS_PACRB_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP7) & BM_AIPS_PACRB_SP7)
1533
1534 /*! @brief Set the SP7 field to a new value. */
1535 #define BW_AIPS_PACRB_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP7) = (v))
1536 /*@}*/
1537
1538 /*!
1539 * @name Register AIPS_PACRB, field TP6[4] (RW)
1540 *
1541 * Determines whether the peripheral allows accesses from an untrusted master.
1542 * When this field is set and an access is attempted by an untrusted master, the
1543 * access terminates with an error response and no peripheral access initiates.
1544 *
1545 * Values:
1546 * - 0 - Accesses from an untrusted master are allowed.
1547 * - 1 - Accesses from an untrusted master are not allowed.
1548 */
1549 /*@{*/
1550 #define BP_AIPS_PACRB_TP6 (4U) /*!< Bit position for AIPS_PACRB_TP6. */
1551 #define BM_AIPS_PACRB_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRB_TP6. */
1552 #define BS_AIPS_PACRB_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP6. */
1553
1554 /*! @brief Read current value of the AIPS_PACRB_TP6 field. */
1555 #define BR_AIPS_PACRB_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP6))
1556
1557 /*! @brief Format value for bitfield AIPS_PACRB_TP6. */
1558 #define BF_AIPS_PACRB_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP6) & BM_AIPS_PACRB_TP6)
1559
1560 /*! @brief Set the TP6 field to a new value. */
1561 #define BW_AIPS_PACRB_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP6) = (v))
1562 /*@}*/
1563
1564 /*!
1565 * @name Register AIPS_PACRB, field WP6[5] (RW)
1566 *
1567 * Determines whether the peripheral allows write accesses. When this field is
1568 * set and a write access is attempted, access terminates with an error response
1569 * and no peripheral access initiates.
1570 *
1571 * Values:
1572 * - 0 - This peripheral allows write accesses.
1573 * - 1 - This peripheral is write protected.
1574 */
1575 /*@{*/
1576 #define BP_AIPS_PACRB_WP6 (5U) /*!< Bit position for AIPS_PACRB_WP6. */
1577 #define BM_AIPS_PACRB_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRB_WP6. */
1578 #define BS_AIPS_PACRB_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP6. */
1579
1580 /*! @brief Read current value of the AIPS_PACRB_WP6 field. */
1581 #define BR_AIPS_PACRB_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP6))
1582
1583 /*! @brief Format value for bitfield AIPS_PACRB_WP6. */
1584 #define BF_AIPS_PACRB_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP6) & BM_AIPS_PACRB_WP6)
1585
1586 /*! @brief Set the WP6 field to a new value. */
1587 #define BW_AIPS_PACRB_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP6) = (v))
1588 /*@}*/
1589
1590 /*!
1591 * @name Register AIPS_PACRB, field SP6[6] (RW)
1592 *
1593 * Determines whether the peripheral requires supervisor privilege level for
1594 * accesses. When this field is set, the master privilege level must indicate the
1595 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1596 * must be set. If not, access terminates with an error response and no peripheral
1597 * access initiates.
1598 *
1599 * Values:
1600 * - 0 - This peripheral does not require supervisor privilege level for
1601 * accesses.
1602 * - 1 - This peripheral requires supervisor privilege level for accesses.
1603 */
1604 /*@{*/
1605 #define BP_AIPS_PACRB_SP6 (6U) /*!< Bit position for AIPS_PACRB_SP6. */
1606 #define BM_AIPS_PACRB_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRB_SP6. */
1607 #define BS_AIPS_PACRB_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP6. */
1608
1609 /*! @brief Read current value of the AIPS_PACRB_SP6 field. */
1610 #define BR_AIPS_PACRB_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP6))
1611
1612 /*! @brief Format value for bitfield AIPS_PACRB_SP6. */
1613 #define BF_AIPS_PACRB_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP6) & BM_AIPS_PACRB_SP6)
1614
1615 /*! @brief Set the SP6 field to a new value. */
1616 #define BW_AIPS_PACRB_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP6) = (v))
1617 /*@}*/
1618
1619 /*!
1620 * @name Register AIPS_PACRB, field TP5[8] (RW)
1621 *
1622 * Determines whether the peripheral allows accesses from an untrusted master.
1623 * When this field is set and an access is attempted by an untrusted master, the
1624 * access terminates with an error response and no peripheral access initiates.
1625 *
1626 * Values:
1627 * - 0 - Accesses from an untrusted master are allowed.
1628 * - 1 - Accesses from an untrusted master are not allowed.
1629 */
1630 /*@{*/
1631 #define BP_AIPS_PACRB_TP5 (8U) /*!< Bit position for AIPS_PACRB_TP5. */
1632 #define BM_AIPS_PACRB_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRB_TP5. */
1633 #define BS_AIPS_PACRB_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP5. */
1634
1635 /*! @brief Read current value of the AIPS_PACRB_TP5 field. */
1636 #define BR_AIPS_PACRB_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP5))
1637
1638 /*! @brief Format value for bitfield AIPS_PACRB_TP5. */
1639 #define BF_AIPS_PACRB_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP5) & BM_AIPS_PACRB_TP5)
1640
1641 /*! @brief Set the TP5 field to a new value. */
1642 #define BW_AIPS_PACRB_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP5) = (v))
1643 /*@}*/
1644
1645 /*!
1646 * @name Register AIPS_PACRB, field WP5[9] (RW)
1647 *
1648 * Determines whether the peripheral allows write accesses. When this field is
1649 * set and a write access is attempted, access terminates with an error response
1650 * and no peripheral access initiates.
1651 *
1652 * Values:
1653 * - 0 - This peripheral allows write accesses.
1654 * - 1 - This peripheral is write protected.
1655 */
1656 /*@{*/
1657 #define BP_AIPS_PACRB_WP5 (9U) /*!< Bit position for AIPS_PACRB_WP5. */
1658 #define BM_AIPS_PACRB_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRB_WP5. */
1659 #define BS_AIPS_PACRB_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP5. */
1660
1661 /*! @brief Read current value of the AIPS_PACRB_WP5 field. */
1662 #define BR_AIPS_PACRB_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP5))
1663
1664 /*! @brief Format value for bitfield AIPS_PACRB_WP5. */
1665 #define BF_AIPS_PACRB_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP5) & BM_AIPS_PACRB_WP5)
1666
1667 /*! @brief Set the WP5 field to a new value. */
1668 #define BW_AIPS_PACRB_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP5) = (v))
1669 /*@}*/
1670
1671 /*!
1672 * @name Register AIPS_PACRB, field SP5[10] (RW)
1673 *
1674 * Determines whether the peripheral requires supervisor privilege level for
1675 * accesses. When this field is set, the master privilege level must indicate the
1676 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1677 * must be set. If not, access terminates with an error response and no peripheral
1678 * access initiates.
1679 *
1680 * Values:
1681 * - 0 - This peripheral does not require supervisor privilege level for
1682 * accesses.
1683 * - 1 - This peripheral requires supervisor privilege level for accesses.
1684 */
1685 /*@{*/
1686 #define BP_AIPS_PACRB_SP5 (10U) /*!< Bit position for AIPS_PACRB_SP5. */
1687 #define BM_AIPS_PACRB_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRB_SP5. */
1688 #define BS_AIPS_PACRB_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP5. */
1689
1690 /*! @brief Read current value of the AIPS_PACRB_SP5 field. */
1691 #define BR_AIPS_PACRB_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP5))
1692
1693 /*! @brief Format value for bitfield AIPS_PACRB_SP5. */
1694 #define BF_AIPS_PACRB_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP5) & BM_AIPS_PACRB_SP5)
1695
1696 /*! @brief Set the SP5 field to a new value. */
1697 #define BW_AIPS_PACRB_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP5) = (v))
1698 /*@}*/
1699
1700 /*!
1701 * @name Register AIPS_PACRB, field TP4[12] (RW)
1702 *
1703 * Determines whether the peripheral allows accesses from an untrusted master.
1704 * When this field is set and an access is attempted by an untrusted master, the
1705 * access terminates with an error response and no peripheral access initiates.
1706 *
1707 * Values:
1708 * - 0 - Accesses from an untrusted master are allowed.
1709 * - 1 - Accesses from an untrusted master are not allowed.
1710 */
1711 /*@{*/
1712 #define BP_AIPS_PACRB_TP4 (12U) /*!< Bit position for AIPS_PACRB_TP4. */
1713 #define BM_AIPS_PACRB_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRB_TP4. */
1714 #define BS_AIPS_PACRB_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP4. */
1715
1716 /*! @brief Read current value of the AIPS_PACRB_TP4 field. */
1717 #define BR_AIPS_PACRB_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP4))
1718
1719 /*! @brief Format value for bitfield AIPS_PACRB_TP4. */
1720 #define BF_AIPS_PACRB_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP4) & BM_AIPS_PACRB_TP4)
1721
1722 /*! @brief Set the TP4 field to a new value. */
1723 #define BW_AIPS_PACRB_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP4) = (v))
1724 /*@}*/
1725
1726 /*!
1727 * @name Register AIPS_PACRB, field WP4[13] (RW)
1728 *
1729 * Determines whether the peripheral allows write accesss. When this bit is set
1730 * and a write access is attempted, access terminates with an error response and
1731 * no peripheral access initiates.
1732 *
1733 * Values:
1734 * - 0 - This peripheral allows write accesses.
1735 * - 1 - This peripheral is write protected.
1736 */
1737 /*@{*/
1738 #define BP_AIPS_PACRB_WP4 (13U) /*!< Bit position for AIPS_PACRB_WP4. */
1739 #define BM_AIPS_PACRB_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRB_WP4. */
1740 #define BS_AIPS_PACRB_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP4. */
1741
1742 /*! @brief Read current value of the AIPS_PACRB_WP4 field. */
1743 #define BR_AIPS_PACRB_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP4))
1744
1745 /*! @brief Format value for bitfield AIPS_PACRB_WP4. */
1746 #define BF_AIPS_PACRB_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP4) & BM_AIPS_PACRB_WP4)
1747
1748 /*! @brief Set the WP4 field to a new value. */
1749 #define BW_AIPS_PACRB_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP4) = (v))
1750 /*@}*/
1751
1752 /*!
1753 * @name Register AIPS_PACRB, field SP4[14] (RW)
1754 *
1755 * Determines whether the peripheral requires supervisor privilege level for
1756 * accesses. When this field is set, the master privilege level must indicate the
1757 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1758 * must be set. If not, access terminates with an error response and no peripheral
1759 * access initiates.
1760 *
1761 * Values:
1762 * - 0 - This peripheral does not require supervisor privilege level for
1763 * accesses.
1764 * - 1 - This peripheral requires supervisor privilege level for accesses.
1765 */
1766 /*@{*/
1767 #define BP_AIPS_PACRB_SP4 (14U) /*!< Bit position for AIPS_PACRB_SP4. */
1768 #define BM_AIPS_PACRB_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRB_SP4. */
1769 #define BS_AIPS_PACRB_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP4. */
1770
1771 /*! @brief Read current value of the AIPS_PACRB_SP4 field. */
1772 #define BR_AIPS_PACRB_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP4))
1773
1774 /*! @brief Format value for bitfield AIPS_PACRB_SP4. */
1775 #define BF_AIPS_PACRB_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP4) & BM_AIPS_PACRB_SP4)
1776
1777 /*! @brief Set the SP4 field to a new value. */
1778 #define BW_AIPS_PACRB_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP4) = (v))
1779 /*@}*/
1780
1781 /*!
1782 * @name Register AIPS_PACRB, field TP3[16] (RW)
1783 *
1784 * Determines whether the peripheral allows accesses from an untrusted master.
1785 * When this bit is set and an access is attempted by an untrusted master, the
1786 * access terminates with an error response and no peripheral access initiates.
1787 *
1788 * Values:
1789 * - 0 - Accesses from an untrusted master are allowed.
1790 * - 1 - Accesses from an untrusted master are not allowed.
1791 */
1792 /*@{*/
1793 #define BP_AIPS_PACRB_TP3 (16U) /*!< Bit position for AIPS_PACRB_TP3. */
1794 #define BM_AIPS_PACRB_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRB_TP3. */
1795 #define BS_AIPS_PACRB_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP3. */
1796
1797 /*! @brief Read current value of the AIPS_PACRB_TP3 field. */
1798 #define BR_AIPS_PACRB_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP3))
1799
1800 /*! @brief Format value for bitfield AIPS_PACRB_TP3. */
1801 #define BF_AIPS_PACRB_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP3) & BM_AIPS_PACRB_TP3)
1802
1803 /*! @brief Set the TP3 field to a new value. */
1804 #define BW_AIPS_PACRB_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP3) = (v))
1805 /*@}*/
1806
1807 /*!
1808 * @name Register AIPS_PACRB, field WP3[17] (RW)
1809 *
1810 * Determines whether the peripheral allows write accesses. When this field is
1811 * set and a write access is attempted, access terminates with an error response
1812 * and no peripheral access initiates.
1813 *
1814 * Values:
1815 * - 0 - This peripheral allows write accesses.
1816 * - 1 - This peripheral is write protected.
1817 */
1818 /*@{*/
1819 #define BP_AIPS_PACRB_WP3 (17U) /*!< Bit position for AIPS_PACRB_WP3. */
1820 #define BM_AIPS_PACRB_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRB_WP3. */
1821 #define BS_AIPS_PACRB_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP3. */
1822
1823 /*! @brief Read current value of the AIPS_PACRB_WP3 field. */
1824 #define BR_AIPS_PACRB_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP3))
1825
1826 /*! @brief Format value for bitfield AIPS_PACRB_WP3. */
1827 #define BF_AIPS_PACRB_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP3) & BM_AIPS_PACRB_WP3)
1828
1829 /*! @brief Set the WP3 field to a new value. */
1830 #define BW_AIPS_PACRB_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP3) = (v))
1831 /*@}*/
1832
1833 /*!
1834 * @name Register AIPS_PACRB, field SP3[18] (RW)
1835 *
1836 * Determines whether the peripheral requires supervisor privilege level for
1837 * access. When this bit is set, the master privilege level must indicate the
1838 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
1839 * set. If not, access terminates with an error response and no peripheral access
1840 * initiates.
1841 *
1842 * Values:
1843 * - 0 - This peripheral does not require supervisor privilege level for
1844 * accesses.
1845 * - 1 - This peripheral requires supervisor privilege level for accesses.
1846 */
1847 /*@{*/
1848 #define BP_AIPS_PACRB_SP3 (18U) /*!< Bit position for AIPS_PACRB_SP3. */
1849 #define BM_AIPS_PACRB_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRB_SP3. */
1850 #define BS_AIPS_PACRB_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP3. */
1851
1852 /*! @brief Read current value of the AIPS_PACRB_SP3 field. */
1853 #define BR_AIPS_PACRB_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP3))
1854
1855 /*! @brief Format value for bitfield AIPS_PACRB_SP3. */
1856 #define BF_AIPS_PACRB_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP3) & BM_AIPS_PACRB_SP3)
1857
1858 /*! @brief Set the SP3 field to a new value. */
1859 #define BW_AIPS_PACRB_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP3) = (v))
1860 /*@}*/
1861
1862 /*!
1863 * @name Register AIPS_PACRB, field TP2[20] (RW)
1864 *
1865 * Determines whether the peripheral allows accesses from an untrusted master.
1866 * When this field is set and an access is attempted by an untrusted master, the
1867 * access terminates with an error response and no peripheral access initiates.
1868 *
1869 * Values:
1870 * - 0 - Accesses from an untrusted master are allowed.
1871 * - 1 - Accesses from an untrusted master are not allowed.
1872 */
1873 /*@{*/
1874 #define BP_AIPS_PACRB_TP2 (20U) /*!< Bit position for AIPS_PACRB_TP2. */
1875 #define BM_AIPS_PACRB_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRB_TP2. */
1876 #define BS_AIPS_PACRB_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP2. */
1877
1878 /*! @brief Read current value of the AIPS_PACRB_TP2 field. */
1879 #define BR_AIPS_PACRB_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP2))
1880
1881 /*! @brief Format value for bitfield AIPS_PACRB_TP2. */
1882 #define BF_AIPS_PACRB_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP2) & BM_AIPS_PACRB_TP2)
1883
1884 /*! @brief Set the TP2 field to a new value. */
1885 #define BW_AIPS_PACRB_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP2) = (v))
1886 /*@}*/
1887
1888 /*!
1889 * @name Register AIPS_PACRB, field WP2[21] (RW)
1890 *
1891 * Determines whether the peripheral allows write accesss. When this bit is set
1892 * and a write access is attempted, access terminates with an error response and
1893 * no peripheral access initiates.
1894 *
1895 * Values:
1896 * - 0 - This peripheral allows write accesses.
1897 * - 1 - This peripheral is write protected.
1898 */
1899 /*@{*/
1900 #define BP_AIPS_PACRB_WP2 (21U) /*!< Bit position for AIPS_PACRB_WP2. */
1901 #define BM_AIPS_PACRB_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRB_WP2. */
1902 #define BS_AIPS_PACRB_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP2. */
1903
1904 /*! @brief Read current value of the AIPS_PACRB_WP2 field. */
1905 #define BR_AIPS_PACRB_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP2))
1906
1907 /*! @brief Format value for bitfield AIPS_PACRB_WP2. */
1908 #define BF_AIPS_PACRB_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP2) & BM_AIPS_PACRB_WP2)
1909
1910 /*! @brief Set the WP2 field to a new value. */
1911 #define BW_AIPS_PACRB_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP2) = (v))
1912 /*@}*/
1913
1914 /*!
1915 * @name Register AIPS_PACRB, field SP2[22] (RW)
1916 *
1917 * Determines whether the peripheral requires supervisor privilege level for
1918 * accesses. When this field is set, the master privilege level must indicate the
1919 * supervisor access attribute, and the MPRx[MPLn] control field for the master
1920 * must be set. If not, access terminates with an error response and no peripheral
1921 * access initiates.
1922 *
1923 * Values:
1924 * - 0 - This peripheral does not require supervisor privilege level for
1925 * accesses.
1926 * - 1 - This peripheral requires supervisor privilege level for accesses.
1927 */
1928 /*@{*/
1929 #define BP_AIPS_PACRB_SP2 (22U) /*!< Bit position for AIPS_PACRB_SP2. */
1930 #define BM_AIPS_PACRB_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRB_SP2. */
1931 #define BS_AIPS_PACRB_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP2. */
1932
1933 /*! @brief Read current value of the AIPS_PACRB_SP2 field. */
1934 #define BR_AIPS_PACRB_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP2))
1935
1936 /*! @brief Format value for bitfield AIPS_PACRB_SP2. */
1937 #define BF_AIPS_PACRB_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP2) & BM_AIPS_PACRB_SP2)
1938
1939 /*! @brief Set the SP2 field to a new value. */
1940 #define BW_AIPS_PACRB_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP2) = (v))
1941 /*@}*/
1942
1943 /*!
1944 * @name Register AIPS_PACRB, field TP1[24] (RW)
1945 *
1946 * Determines whether the peripheral allows accesses from an untrusted master.
1947 * When this bit is set and an access is attempted by an untrusted master, the
1948 * access terminates with an error response and no peripheral access initiates.
1949 *
1950 * Values:
1951 * - 0 - Accesses from an untrusted master are allowed.
1952 * - 1 - Accesses from an untrusted master are not allowed.
1953 */
1954 /*@{*/
1955 #define BP_AIPS_PACRB_TP1 (24U) /*!< Bit position for AIPS_PACRB_TP1. */
1956 #define BM_AIPS_PACRB_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRB_TP1. */
1957 #define BS_AIPS_PACRB_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP1. */
1958
1959 /*! @brief Read current value of the AIPS_PACRB_TP1 field. */
1960 #define BR_AIPS_PACRB_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP1))
1961
1962 /*! @brief Format value for bitfield AIPS_PACRB_TP1. */
1963 #define BF_AIPS_PACRB_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP1) & BM_AIPS_PACRB_TP1)
1964
1965 /*! @brief Set the TP1 field to a new value. */
1966 #define BW_AIPS_PACRB_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP1) = (v))
1967 /*@}*/
1968
1969 /*!
1970 * @name Register AIPS_PACRB, field WP1[25] (RW)
1971 *
1972 * Determines whether the peripheral allows write accesses. When this field is
1973 * set and a write access is attempted, access terminates with an error response
1974 * and no peripheral access initiates.
1975 *
1976 * Values:
1977 * - 0 - This peripheral allows write accesses.
1978 * - 1 - This peripheral is write protected.
1979 */
1980 /*@{*/
1981 #define BP_AIPS_PACRB_WP1 (25U) /*!< Bit position for AIPS_PACRB_WP1. */
1982 #define BM_AIPS_PACRB_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRB_WP1. */
1983 #define BS_AIPS_PACRB_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP1. */
1984
1985 /*! @brief Read current value of the AIPS_PACRB_WP1 field. */
1986 #define BR_AIPS_PACRB_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP1))
1987
1988 /*! @brief Format value for bitfield AIPS_PACRB_WP1. */
1989 #define BF_AIPS_PACRB_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP1) & BM_AIPS_PACRB_WP1)
1990
1991 /*! @brief Set the WP1 field to a new value. */
1992 #define BW_AIPS_PACRB_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP1) = (v))
1993 /*@}*/
1994
1995 /*!
1996 * @name Register AIPS_PACRB, field SP1[26] (RW)
1997 *
1998 * Determines whether the peripheral requires supervisor privilege level for
1999 * accesses. When this field is set, the master privilege level must indicate the
2000 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2001 * must be set. If not, access terminates with an error response and no peripheral
2002 * access initiates.
2003 *
2004 * Values:
2005 * - 0 - This peripheral does not require supervisor privilege level for
2006 * accesses.
2007 * - 1 - This peripheral requires supervisor privilege level for accesses.
2008 */
2009 /*@{*/
2010 #define BP_AIPS_PACRB_SP1 (26U) /*!< Bit position for AIPS_PACRB_SP1. */
2011 #define BM_AIPS_PACRB_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRB_SP1. */
2012 #define BS_AIPS_PACRB_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP1. */
2013
2014 /*! @brief Read current value of the AIPS_PACRB_SP1 field. */
2015 #define BR_AIPS_PACRB_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP1))
2016
2017 /*! @brief Format value for bitfield AIPS_PACRB_SP1. */
2018 #define BF_AIPS_PACRB_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP1) & BM_AIPS_PACRB_SP1)
2019
2020 /*! @brief Set the SP1 field to a new value. */
2021 #define BW_AIPS_PACRB_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP1) = (v))
2022 /*@}*/
2023
2024 /*!
2025 * @name Register AIPS_PACRB, field TP0[28] (RW)
2026 *
2027 * Determines whether the peripheral allows accesses from an untrusted master.
2028 * When this field is set and an access is attempted by an untrusted master, the
2029 * access terminates with an error response and no peripheral access initiates.
2030 *
2031 * Values:
2032 * - 0 - Accesses from an untrusted master are allowed.
2033 * - 1 - Accesses from an untrusted master are not allowed.
2034 */
2035 /*@{*/
2036 #define BP_AIPS_PACRB_TP0 (28U) /*!< Bit position for AIPS_PACRB_TP0. */
2037 #define BM_AIPS_PACRB_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRB_TP0. */
2038 #define BS_AIPS_PACRB_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRB_TP0. */
2039
2040 /*! @brief Read current value of the AIPS_PACRB_TP0 field. */
2041 #define BR_AIPS_PACRB_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP0))
2042
2043 /*! @brief Format value for bitfield AIPS_PACRB_TP0. */
2044 #define BF_AIPS_PACRB_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_TP0) & BM_AIPS_PACRB_TP0)
2045
2046 /*! @brief Set the TP0 field to a new value. */
2047 #define BW_AIPS_PACRB_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_TP0) = (v))
2048 /*@}*/
2049
2050 /*!
2051 * @name Register AIPS_PACRB, field WP0[29] (RW)
2052 *
2053 * Determines whether the peripheral allows write accesss. When this bit is set
2054 * and a write access is attempted, access terminates with an error response and
2055 * no peripheral access initiates.
2056 *
2057 * Values:
2058 * - 0 - This peripheral allows write accesses.
2059 * - 1 - This peripheral is write protected.
2060 */
2061 /*@{*/
2062 #define BP_AIPS_PACRB_WP0 (29U) /*!< Bit position for AIPS_PACRB_WP0. */
2063 #define BM_AIPS_PACRB_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRB_WP0. */
2064 #define BS_AIPS_PACRB_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRB_WP0. */
2065
2066 /*! @brief Read current value of the AIPS_PACRB_WP0 field. */
2067 #define BR_AIPS_PACRB_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP0))
2068
2069 /*! @brief Format value for bitfield AIPS_PACRB_WP0. */
2070 #define BF_AIPS_PACRB_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_WP0) & BM_AIPS_PACRB_WP0)
2071
2072 /*! @brief Set the WP0 field to a new value. */
2073 #define BW_AIPS_PACRB_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_WP0) = (v))
2074 /*@}*/
2075
2076 /*!
2077 * @name Register AIPS_PACRB, field SP0[30] (RW)
2078 *
2079 * Determines whether the peripheral requires supervisor privilege level for
2080 * accesses. When this field is set, the master privilege level must indicate the
2081 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2082 * must be set. If not, access terminates with an error response and no peripheral
2083 * access initiates.
2084 *
2085 * Values:
2086 * - 0 - This peripheral does not require supervisor privilege level for
2087 * accesses.
2088 * - 1 - This peripheral requires supervisor privilege level for accesses.
2089 */
2090 /*@{*/
2091 #define BP_AIPS_PACRB_SP0 (30U) /*!< Bit position for AIPS_PACRB_SP0. */
2092 #define BM_AIPS_PACRB_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRB_SP0. */
2093 #define BS_AIPS_PACRB_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRB_SP0. */
2094
2095 /*! @brief Read current value of the AIPS_PACRB_SP0 field. */
2096 #define BR_AIPS_PACRB_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP0))
2097
2098 /*! @brief Format value for bitfield AIPS_PACRB_SP0. */
2099 #define BF_AIPS_PACRB_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRB_SP0) & BM_AIPS_PACRB_SP0)
2100
2101 /*! @brief Set the SP0 field to a new value. */
2102 #define BW_AIPS_PACRB_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRB_ADDR(x), BP_AIPS_PACRB_SP0) = (v))
2103 /*@}*/
2104
2105 /*******************************************************************************
2106 * HW_AIPS_PACRC - Peripheral Access Control Register
2107 ******************************************************************************/
2108
2109 /*!
2110 * @brief HW_AIPS_PACRC - Peripheral Access Control Register (RW)
2111 *
2112 * Reset value: 0x00000000U
2113 *
2114 * Each PACR register consists of eight 4-bit PACR fields. Each PACR field
2115 * defines the access levels for a particular peripheral. The mapping between a
2116 * peripheral and its PACR field is shown in the table below. The peripheral assignment
2117 * to each PACR is defined by the memory map slot that the peripheral is
2118 * assigned to. See this chip's memory map for the assignment of a particular
2119 * peripheral. The following table shows the location of each peripheral slot's PACR field
2120 * in the PACR registers. Offset Register [31:28] [27:24] [23:20] [19:16] [15:12]
2121 * [11:8] [7:4] [3:0] 0x20 PACRA PACR0 PACR1 PACR2 PACR3 PACR4 PACR5 PACR6 PACR7
2122 * 0x24 PACRB PACR8 PACR9 PACR10 PACR11 PACR12 PACR13 PACR14 PACR15 0x28 PACRC
2123 * PACR16 PACR17 PACR18 PACR19 PACR20 PACR21 PACR22 PACR23 0x2C PACRD PACR24
2124 * PACR25 PACR26 PACR27 PACR28 PACR29 PACR30 PACR31 0x30 Reserved 0x34 Reserved 0x38
2125 * Reserved 0x3C Reserved 0x40 PACRE PACR32 PACR33 PACR34 PACR35 PACR36 PACR37
2126 * PACR38 PACR39 0x44 PACRF PACR40 PACR41 PACR42 PACR43 PACR44 PACR45 PACR46 PACR47
2127 * 0x48 PACRG PACR48 PACR49 PACR50 PACR51 PACR52 PACR53 PACR54 PACR55 0x4C PACRH
2128 * PACR56 PACR57 PACR58 PACR59 PACR60 PACR61 PACR62 PACR63 0x50 PACRI PACR64
2129 * PACR65 PACR66 PACR67 PACR68 PACR69 PACR70 PACR71 0x54 PACRJ PACR72 PACR73 PACR74
2130 * PACR75 PACR76 PACR77 PACR78 PACR79 0x58 PACRK PACR80 PACR81 PACR82 PACR83
2131 * PACR84 PACR85 PACR86 PACR87 0x5C PACRL PACR88 PACR89 PACR90 PACR91 PACR92 PACR93
2132 * PACR94 PACR95 0x60 PACRM PACR96 PACR97 PACR98 PACR99 PACR100 PACR101 PACR102
2133 * PACR103 0x64 PACRN PACR104 PACR105 PACR106 PACR107 PACR108 PACR109 PACR110
2134 * PACR111 0x68 PACRO PACR112 PACR113 PACR114 PACR115 PACR116 PACR117 PACR118 PACR119
2135 * 0x6C PACRP PACR120 PACR121 PACR122 PACR123 PACR124 PACR125 PACR126 PACR127 0x80
2136 * PACRU PACR GBL0 PACR GBL1 Reserved The register field descriptions for PACR
2137 * A-D, which control peripheral slots 0-31, are shown below. The following
2138 * section, PACRPeripheral Access Control Register , shows the register field
2139 * descriptions for PACR E-P. All PACR registers are identical. They are divided into two
2140 * sections because they occupy two non-contiguous address spaces.
2141 */
2142 typedef union _hw_aips_pacrc
2143 {
2144 uint32_t U;
2145 struct _hw_aips_pacrc_bitfields
2146 {
2147 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
2148 uint32_t WP7 : 1; /*!< [1] Write Protect */
2149 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
2150 uint32_t RESERVED0 : 1; /*!< [3] */
2151 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
2152 uint32_t WP6 : 1; /*!< [5] Write Protect */
2153 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
2154 uint32_t RESERVED1 : 1; /*!< [7] */
2155 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
2156 uint32_t WP5 : 1; /*!< [9] Write Protect */
2157 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
2158 uint32_t RESERVED2 : 1; /*!< [11] */
2159 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
2160 uint32_t WP4 : 1; /*!< [13] Write Protect */
2161 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
2162 uint32_t RESERVED3 : 1; /*!< [15] */
2163 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
2164 uint32_t WP3 : 1; /*!< [17] Write Protect */
2165 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
2166 uint32_t RESERVED4 : 1; /*!< [19] */
2167 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
2168 uint32_t WP2 : 1; /*!< [21] Write Protect */
2169 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
2170 uint32_t RESERVED5 : 1; /*!< [23] */
2171 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
2172 uint32_t WP1 : 1; /*!< [25] Write Protect */
2173 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
2174 uint32_t RESERVED6 : 1; /*!< [27] */
2175 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
2176 uint32_t WP0 : 1; /*!< [29] Write Protect */
2177 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
2178 uint32_t RESERVED7 : 1; /*!< [31] */
2179 } B;
2180 } hw_aips_pacrc_t;
2181
2182 /*!
2183 * @name Constants and macros for entire AIPS_PACRC register
2184 */
2185 /*@{*/
2186 #define HW_AIPS_PACRC_ADDR(x) ((x) + 0x28U)
2187
2188 #define HW_AIPS_PACRC(x) (*(__IO hw_aips_pacrc_t *) HW_AIPS_PACRC_ADDR(x))
2189 #define HW_AIPS_PACRC_RD(x) (HW_AIPS_PACRC(x).U)
2190 #define HW_AIPS_PACRC_WR(x, v) (HW_AIPS_PACRC(x).U = (v))
2191 #define HW_AIPS_PACRC_SET(x, v) (HW_AIPS_PACRC_WR(x, HW_AIPS_PACRC_RD(x) | (v)))
2192 #define HW_AIPS_PACRC_CLR(x, v) (HW_AIPS_PACRC_WR(x, HW_AIPS_PACRC_RD(x) & ~(v)))
2193 #define HW_AIPS_PACRC_TOG(x, v) (HW_AIPS_PACRC_WR(x, HW_AIPS_PACRC_RD(x) ^ (v)))
2194 /*@}*/
2195
2196 /*
2197 * Constants & macros for individual AIPS_PACRC bitfields
2198 */
2199
2200 /*!
2201 * @name Register AIPS_PACRC, field TP7[0] (RW)
2202 *
2203 * Determines whether the peripheral allows accesses from an untrusted master.
2204 * When this field is set and an access is attempted by an untrusted master, the
2205 * access terminates with an error response and no peripheral access initiates.
2206 *
2207 * Values:
2208 * - 0 - Accesses from an untrusted master are allowed.
2209 * - 1 - Accesses from an untrusted master are not allowed.
2210 */
2211 /*@{*/
2212 #define BP_AIPS_PACRC_TP7 (0U) /*!< Bit position for AIPS_PACRC_TP7. */
2213 #define BM_AIPS_PACRC_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRC_TP7. */
2214 #define BS_AIPS_PACRC_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP7. */
2215
2216 /*! @brief Read current value of the AIPS_PACRC_TP7 field. */
2217 #define BR_AIPS_PACRC_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP7))
2218
2219 /*! @brief Format value for bitfield AIPS_PACRC_TP7. */
2220 #define BF_AIPS_PACRC_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP7) & BM_AIPS_PACRC_TP7)
2221
2222 /*! @brief Set the TP7 field to a new value. */
2223 #define BW_AIPS_PACRC_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP7) = (v))
2224 /*@}*/
2225
2226 /*!
2227 * @name Register AIPS_PACRC, field WP7[1] (RW)
2228 *
2229 * Determines whether the peripheral allows write accesses. When this field is
2230 * set and a write access is attempted, access terminates with an error response
2231 * and no peripheral access initiates.
2232 *
2233 * Values:
2234 * - 0 - This peripheral allows write accesses.
2235 * - 1 - This peripheral is write protected.
2236 */
2237 /*@{*/
2238 #define BP_AIPS_PACRC_WP7 (1U) /*!< Bit position for AIPS_PACRC_WP7. */
2239 #define BM_AIPS_PACRC_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRC_WP7. */
2240 #define BS_AIPS_PACRC_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP7. */
2241
2242 /*! @brief Read current value of the AIPS_PACRC_WP7 field. */
2243 #define BR_AIPS_PACRC_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP7))
2244
2245 /*! @brief Format value for bitfield AIPS_PACRC_WP7. */
2246 #define BF_AIPS_PACRC_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP7) & BM_AIPS_PACRC_WP7)
2247
2248 /*! @brief Set the WP7 field to a new value. */
2249 #define BW_AIPS_PACRC_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP7) = (v))
2250 /*@}*/
2251
2252 /*!
2253 * @name Register AIPS_PACRC, field SP7[2] (RW)
2254 *
2255 * Determines whether the peripheral requires supervisor privilege level for
2256 * accesses. When this field is set, the master privilege level must indicate the
2257 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2258 * must be set. If not, access terminates with an error response and no peripheral
2259 * access initiates.
2260 *
2261 * Values:
2262 * - 0 - This peripheral does not require supervisor privilege level for
2263 * accesses.
2264 * - 1 - This peripheral requires supervisor privilege level for accesses.
2265 */
2266 /*@{*/
2267 #define BP_AIPS_PACRC_SP7 (2U) /*!< Bit position for AIPS_PACRC_SP7. */
2268 #define BM_AIPS_PACRC_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRC_SP7. */
2269 #define BS_AIPS_PACRC_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP7. */
2270
2271 /*! @brief Read current value of the AIPS_PACRC_SP7 field. */
2272 #define BR_AIPS_PACRC_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP7))
2273
2274 /*! @brief Format value for bitfield AIPS_PACRC_SP7. */
2275 #define BF_AIPS_PACRC_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP7) & BM_AIPS_PACRC_SP7)
2276
2277 /*! @brief Set the SP7 field to a new value. */
2278 #define BW_AIPS_PACRC_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP7) = (v))
2279 /*@}*/
2280
2281 /*!
2282 * @name Register AIPS_PACRC, field TP6[4] (RW)
2283 *
2284 * Determines whether the peripheral allows accesses from an untrusted master.
2285 * When this field is set and an access is attempted by an untrusted master, the
2286 * access terminates with an error response and no peripheral access initiates.
2287 *
2288 * Values:
2289 * - 0 - Accesses from an untrusted master are allowed.
2290 * - 1 - Accesses from an untrusted master are not allowed.
2291 */
2292 /*@{*/
2293 #define BP_AIPS_PACRC_TP6 (4U) /*!< Bit position for AIPS_PACRC_TP6. */
2294 #define BM_AIPS_PACRC_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRC_TP6. */
2295 #define BS_AIPS_PACRC_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP6. */
2296
2297 /*! @brief Read current value of the AIPS_PACRC_TP6 field. */
2298 #define BR_AIPS_PACRC_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP6))
2299
2300 /*! @brief Format value for bitfield AIPS_PACRC_TP6. */
2301 #define BF_AIPS_PACRC_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP6) & BM_AIPS_PACRC_TP6)
2302
2303 /*! @brief Set the TP6 field to a new value. */
2304 #define BW_AIPS_PACRC_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP6) = (v))
2305 /*@}*/
2306
2307 /*!
2308 * @name Register AIPS_PACRC, field WP6[5] (RW)
2309 *
2310 * Determines whether the peripheral allows write accesses. When this field is
2311 * set and a write access is attempted, access terminates with an error response
2312 * and no peripheral access initiates.
2313 *
2314 * Values:
2315 * - 0 - This peripheral allows write accesses.
2316 * - 1 - This peripheral is write protected.
2317 */
2318 /*@{*/
2319 #define BP_AIPS_PACRC_WP6 (5U) /*!< Bit position for AIPS_PACRC_WP6. */
2320 #define BM_AIPS_PACRC_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRC_WP6. */
2321 #define BS_AIPS_PACRC_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP6. */
2322
2323 /*! @brief Read current value of the AIPS_PACRC_WP6 field. */
2324 #define BR_AIPS_PACRC_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP6))
2325
2326 /*! @brief Format value for bitfield AIPS_PACRC_WP6. */
2327 #define BF_AIPS_PACRC_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP6) & BM_AIPS_PACRC_WP6)
2328
2329 /*! @brief Set the WP6 field to a new value. */
2330 #define BW_AIPS_PACRC_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP6) = (v))
2331 /*@}*/
2332
2333 /*!
2334 * @name Register AIPS_PACRC, field SP6[6] (RW)
2335 *
2336 * Determines whether the peripheral requires supervisor privilege level for
2337 * accesses. When this field is set, the master privilege level must indicate the
2338 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2339 * must be set. If not, access terminates with an error response and no peripheral
2340 * access initiates.
2341 *
2342 * Values:
2343 * - 0 - This peripheral does not require supervisor privilege level for
2344 * accesses.
2345 * - 1 - This peripheral requires supervisor privilege level for accesses.
2346 */
2347 /*@{*/
2348 #define BP_AIPS_PACRC_SP6 (6U) /*!< Bit position for AIPS_PACRC_SP6. */
2349 #define BM_AIPS_PACRC_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRC_SP6. */
2350 #define BS_AIPS_PACRC_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP6. */
2351
2352 /*! @brief Read current value of the AIPS_PACRC_SP6 field. */
2353 #define BR_AIPS_PACRC_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP6))
2354
2355 /*! @brief Format value for bitfield AIPS_PACRC_SP6. */
2356 #define BF_AIPS_PACRC_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP6) & BM_AIPS_PACRC_SP6)
2357
2358 /*! @brief Set the SP6 field to a new value. */
2359 #define BW_AIPS_PACRC_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP6) = (v))
2360 /*@}*/
2361
2362 /*!
2363 * @name Register AIPS_PACRC, field TP5[8] (RW)
2364 *
2365 * Determines whether the peripheral allows accesses from an untrusted master.
2366 * When this field is set and an access is attempted by an untrusted master, the
2367 * access terminates with an error response and no peripheral access initiates.
2368 *
2369 * Values:
2370 * - 0 - Accesses from an untrusted master are allowed.
2371 * - 1 - Accesses from an untrusted master are not allowed.
2372 */
2373 /*@{*/
2374 #define BP_AIPS_PACRC_TP5 (8U) /*!< Bit position for AIPS_PACRC_TP5. */
2375 #define BM_AIPS_PACRC_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRC_TP5. */
2376 #define BS_AIPS_PACRC_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP5. */
2377
2378 /*! @brief Read current value of the AIPS_PACRC_TP5 field. */
2379 #define BR_AIPS_PACRC_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP5))
2380
2381 /*! @brief Format value for bitfield AIPS_PACRC_TP5. */
2382 #define BF_AIPS_PACRC_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP5) & BM_AIPS_PACRC_TP5)
2383
2384 /*! @brief Set the TP5 field to a new value. */
2385 #define BW_AIPS_PACRC_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP5) = (v))
2386 /*@}*/
2387
2388 /*!
2389 * @name Register AIPS_PACRC, field WP5[9] (RW)
2390 *
2391 * Determines whether the peripheral allows write accesses. When this field is
2392 * set and a write access is attempted, access terminates with an error response
2393 * and no peripheral access initiates.
2394 *
2395 * Values:
2396 * - 0 - This peripheral allows write accesses.
2397 * - 1 - This peripheral is write protected.
2398 */
2399 /*@{*/
2400 #define BP_AIPS_PACRC_WP5 (9U) /*!< Bit position for AIPS_PACRC_WP5. */
2401 #define BM_AIPS_PACRC_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRC_WP5. */
2402 #define BS_AIPS_PACRC_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP5. */
2403
2404 /*! @brief Read current value of the AIPS_PACRC_WP5 field. */
2405 #define BR_AIPS_PACRC_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP5))
2406
2407 /*! @brief Format value for bitfield AIPS_PACRC_WP5. */
2408 #define BF_AIPS_PACRC_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP5) & BM_AIPS_PACRC_WP5)
2409
2410 /*! @brief Set the WP5 field to a new value. */
2411 #define BW_AIPS_PACRC_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP5) = (v))
2412 /*@}*/
2413
2414 /*!
2415 * @name Register AIPS_PACRC, field SP5[10] (RW)
2416 *
2417 * Determines whether the peripheral requires supervisor privilege level for
2418 * accesses. When this field is set, the master privilege level must indicate the
2419 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2420 * must be set. If not, access terminates with an error response and no peripheral
2421 * access initiates.
2422 *
2423 * Values:
2424 * - 0 - This peripheral does not require supervisor privilege level for
2425 * accesses.
2426 * - 1 - This peripheral requires supervisor privilege level for accesses.
2427 */
2428 /*@{*/
2429 #define BP_AIPS_PACRC_SP5 (10U) /*!< Bit position for AIPS_PACRC_SP5. */
2430 #define BM_AIPS_PACRC_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRC_SP5. */
2431 #define BS_AIPS_PACRC_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP5. */
2432
2433 /*! @brief Read current value of the AIPS_PACRC_SP5 field. */
2434 #define BR_AIPS_PACRC_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP5))
2435
2436 /*! @brief Format value for bitfield AIPS_PACRC_SP5. */
2437 #define BF_AIPS_PACRC_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP5) & BM_AIPS_PACRC_SP5)
2438
2439 /*! @brief Set the SP5 field to a new value. */
2440 #define BW_AIPS_PACRC_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP5) = (v))
2441 /*@}*/
2442
2443 /*!
2444 * @name Register AIPS_PACRC, field TP4[12] (RW)
2445 *
2446 * Determines whether the peripheral allows accesses from an untrusted master.
2447 * When this field is set and an access is attempted by an untrusted master, the
2448 * access terminates with an error response and no peripheral access initiates.
2449 *
2450 * Values:
2451 * - 0 - Accesses from an untrusted master are allowed.
2452 * - 1 - Accesses from an untrusted master are not allowed.
2453 */
2454 /*@{*/
2455 #define BP_AIPS_PACRC_TP4 (12U) /*!< Bit position for AIPS_PACRC_TP4. */
2456 #define BM_AIPS_PACRC_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRC_TP4. */
2457 #define BS_AIPS_PACRC_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP4. */
2458
2459 /*! @brief Read current value of the AIPS_PACRC_TP4 field. */
2460 #define BR_AIPS_PACRC_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP4))
2461
2462 /*! @brief Format value for bitfield AIPS_PACRC_TP4. */
2463 #define BF_AIPS_PACRC_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP4) & BM_AIPS_PACRC_TP4)
2464
2465 /*! @brief Set the TP4 field to a new value. */
2466 #define BW_AIPS_PACRC_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP4) = (v))
2467 /*@}*/
2468
2469 /*!
2470 * @name Register AIPS_PACRC, field WP4[13] (RW)
2471 *
2472 * Determines whether the peripheral allows write accesss. When this bit is set
2473 * and a write access is attempted, access terminates with an error response and
2474 * no peripheral access initiates.
2475 *
2476 * Values:
2477 * - 0 - This peripheral allows write accesses.
2478 * - 1 - This peripheral is write protected.
2479 */
2480 /*@{*/
2481 #define BP_AIPS_PACRC_WP4 (13U) /*!< Bit position for AIPS_PACRC_WP4. */
2482 #define BM_AIPS_PACRC_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRC_WP4. */
2483 #define BS_AIPS_PACRC_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP4. */
2484
2485 /*! @brief Read current value of the AIPS_PACRC_WP4 field. */
2486 #define BR_AIPS_PACRC_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP4))
2487
2488 /*! @brief Format value for bitfield AIPS_PACRC_WP4. */
2489 #define BF_AIPS_PACRC_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP4) & BM_AIPS_PACRC_WP4)
2490
2491 /*! @brief Set the WP4 field to a new value. */
2492 #define BW_AIPS_PACRC_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP4) = (v))
2493 /*@}*/
2494
2495 /*!
2496 * @name Register AIPS_PACRC, field SP4[14] (RW)
2497 *
2498 * Determines whether the peripheral requires supervisor privilege level for
2499 * accesses. When this field is set, the master privilege level must indicate the
2500 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2501 * must be set. If not, access terminates with an error response and no peripheral
2502 * access initiates.
2503 *
2504 * Values:
2505 * - 0 - This peripheral does not require supervisor privilege level for
2506 * accesses.
2507 * - 1 - This peripheral requires supervisor privilege level for accesses.
2508 */
2509 /*@{*/
2510 #define BP_AIPS_PACRC_SP4 (14U) /*!< Bit position for AIPS_PACRC_SP4. */
2511 #define BM_AIPS_PACRC_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRC_SP4. */
2512 #define BS_AIPS_PACRC_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP4. */
2513
2514 /*! @brief Read current value of the AIPS_PACRC_SP4 field. */
2515 #define BR_AIPS_PACRC_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP4))
2516
2517 /*! @brief Format value for bitfield AIPS_PACRC_SP4. */
2518 #define BF_AIPS_PACRC_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP4) & BM_AIPS_PACRC_SP4)
2519
2520 /*! @brief Set the SP4 field to a new value. */
2521 #define BW_AIPS_PACRC_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP4) = (v))
2522 /*@}*/
2523
2524 /*!
2525 * @name Register AIPS_PACRC, field TP3[16] (RW)
2526 *
2527 * Determines whether the peripheral allows accesses from an untrusted master.
2528 * When this bit is set and an access is attempted by an untrusted master, the
2529 * access terminates with an error response and no peripheral access initiates.
2530 *
2531 * Values:
2532 * - 0 - Accesses from an untrusted master are allowed.
2533 * - 1 - Accesses from an untrusted master are not allowed.
2534 */
2535 /*@{*/
2536 #define BP_AIPS_PACRC_TP3 (16U) /*!< Bit position for AIPS_PACRC_TP3. */
2537 #define BM_AIPS_PACRC_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRC_TP3. */
2538 #define BS_AIPS_PACRC_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP3. */
2539
2540 /*! @brief Read current value of the AIPS_PACRC_TP3 field. */
2541 #define BR_AIPS_PACRC_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP3))
2542
2543 /*! @brief Format value for bitfield AIPS_PACRC_TP3. */
2544 #define BF_AIPS_PACRC_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP3) & BM_AIPS_PACRC_TP3)
2545
2546 /*! @brief Set the TP3 field to a new value. */
2547 #define BW_AIPS_PACRC_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP3) = (v))
2548 /*@}*/
2549
2550 /*!
2551 * @name Register AIPS_PACRC, field WP3[17] (RW)
2552 *
2553 * Determines whether the peripheral allows write accesses. When this field is
2554 * set and a write access is attempted, access terminates with an error response
2555 * and no peripheral access initiates.
2556 *
2557 * Values:
2558 * - 0 - This peripheral allows write accesses.
2559 * - 1 - This peripheral is write protected.
2560 */
2561 /*@{*/
2562 #define BP_AIPS_PACRC_WP3 (17U) /*!< Bit position for AIPS_PACRC_WP3. */
2563 #define BM_AIPS_PACRC_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRC_WP3. */
2564 #define BS_AIPS_PACRC_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP3. */
2565
2566 /*! @brief Read current value of the AIPS_PACRC_WP3 field. */
2567 #define BR_AIPS_PACRC_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP3))
2568
2569 /*! @brief Format value for bitfield AIPS_PACRC_WP3. */
2570 #define BF_AIPS_PACRC_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP3) & BM_AIPS_PACRC_WP3)
2571
2572 /*! @brief Set the WP3 field to a new value. */
2573 #define BW_AIPS_PACRC_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP3) = (v))
2574 /*@}*/
2575
2576 /*!
2577 * @name Register AIPS_PACRC, field SP3[18] (RW)
2578 *
2579 * Determines whether the peripheral requires supervisor privilege level for
2580 * access. When this bit is set, the master privilege level must indicate the
2581 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
2582 * set. If not, access terminates with an error response and no peripheral access
2583 * initiates.
2584 *
2585 * Values:
2586 * - 0 - This peripheral does not require supervisor privilege level for
2587 * accesses.
2588 * - 1 - This peripheral requires supervisor privilege level for accesses.
2589 */
2590 /*@{*/
2591 #define BP_AIPS_PACRC_SP3 (18U) /*!< Bit position for AIPS_PACRC_SP3. */
2592 #define BM_AIPS_PACRC_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRC_SP3. */
2593 #define BS_AIPS_PACRC_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP3. */
2594
2595 /*! @brief Read current value of the AIPS_PACRC_SP3 field. */
2596 #define BR_AIPS_PACRC_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP3))
2597
2598 /*! @brief Format value for bitfield AIPS_PACRC_SP3. */
2599 #define BF_AIPS_PACRC_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP3) & BM_AIPS_PACRC_SP3)
2600
2601 /*! @brief Set the SP3 field to a new value. */
2602 #define BW_AIPS_PACRC_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP3) = (v))
2603 /*@}*/
2604
2605 /*!
2606 * @name Register AIPS_PACRC, field TP2[20] (RW)
2607 *
2608 * Determines whether the peripheral allows accesses from an untrusted master.
2609 * When this field is set and an access is attempted by an untrusted master, the
2610 * access terminates with an error response and no peripheral access initiates.
2611 *
2612 * Values:
2613 * - 0 - Accesses from an untrusted master are allowed.
2614 * - 1 - Accesses from an untrusted master are not allowed.
2615 */
2616 /*@{*/
2617 #define BP_AIPS_PACRC_TP2 (20U) /*!< Bit position for AIPS_PACRC_TP2. */
2618 #define BM_AIPS_PACRC_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRC_TP2. */
2619 #define BS_AIPS_PACRC_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP2. */
2620
2621 /*! @brief Read current value of the AIPS_PACRC_TP2 field. */
2622 #define BR_AIPS_PACRC_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP2))
2623
2624 /*! @brief Format value for bitfield AIPS_PACRC_TP2. */
2625 #define BF_AIPS_PACRC_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP2) & BM_AIPS_PACRC_TP2)
2626
2627 /*! @brief Set the TP2 field to a new value. */
2628 #define BW_AIPS_PACRC_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP2) = (v))
2629 /*@}*/
2630
2631 /*!
2632 * @name Register AIPS_PACRC, field WP2[21] (RW)
2633 *
2634 * Determines whether the peripheral allows write accesss. When this bit is set
2635 * and a write access is attempted, access terminates with an error response and
2636 * no peripheral access initiates.
2637 *
2638 * Values:
2639 * - 0 - This peripheral allows write accesses.
2640 * - 1 - This peripheral is write protected.
2641 */
2642 /*@{*/
2643 #define BP_AIPS_PACRC_WP2 (21U) /*!< Bit position for AIPS_PACRC_WP2. */
2644 #define BM_AIPS_PACRC_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRC_WP2. */
2645 #define BS_AIPS_PACRC_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP2. */
2646
2647 /*! @brief Read current value of the AIPS_PACRC_WP2 field. */
2648 #define BR_AIPS_PACRC_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP2))
2649
2650 /*! @brief Format value for bitfield AIPS_PACRC_WP2. */
2651 #define BF_AIPS_PACRC_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP2) & BM_AIPS_PACRC_WP2)
2652
2653 /*! @brief Set the WP2 field to a new value. */
2654 #define BW_AIPS_PACRC_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP2) = (v))
2655 /*@}*/
2656
2657 /*!
2658 * @name Register AIPS_PACRC, field SP2[22] (RW)
2659 *
2660 * Determines whether the peripheral requires supervisor privilege level for
2661 * accesses. When this field is set, the master privilege level must indicate the
2662 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2663 * must be set. If not, access terminates with an error response and no peripheral
2664 * access initiates.
2665 *
2666 * Values:
2667 * - 0 - This peripheral does not require supervisor privilege level for
2668 * accesses.
2669 * - 1 - This peripheral requires supervisor privilege level for accesses.
2670 */
2671 /*@{*/
2672 #define BP_AIPS_PACRC_SP2 (22U) /*!< Bit position for AIPS_PACRC_SP2. */
2673 #define BM_AIPS_PACRC_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRC_SP2. */
2674 #define BS_AIPS_PACRC_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP2. */
2675
2676 /*! @brief Read current value of the AIPS_PACRC_SP2 field. */
2677 #define BR_AIPS_PACRC_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP2))
2678
2679 /*! @brief Format value for bitfield AIPS_PACRC_SP2. */
2680 #define BF_AIPS_PACRC_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP2) & BM_AIPS_PACRC_SP2)
2681
2682 /*! @brief Set the SP2 field to a new value. */
2683 #define BW_AIPS_PACRC_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP2) = (v))
2684 /*@}*/
2685
2686 /*!
2687 * @name Register AIPS_PACRC, field TP1[24] (RW)
2688 *
2689 * Determines whether the peripheral allows accesses from an untrusted master.
2690 * When this bit is set and an access is attempted by an untrusted master, the
2691 * access terminates with an error response and no peripheral access initiates.
2692 *
2693 * Values:
2694 * - 0 - Accesses from an untrusted master are allowed.
2695 * - 1 - Accesses from an untrusted master are not allowed.
2696 */
2697 /*@{*/
2698 #define BP_AIPS_PACRC_TP1 (24U) /*!< Bit position for AIPS_PACRC_TP1. */
2699 #define BM_AIPS_PACRC_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRC_TP1. */
2700 #define BS_AIPS_PACRC_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP1. */
2701
2702 /*! @brief Read current value of the AIPS_PACRC_TP1 field. */
2703 #define BR_AIPS_PACRC_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP1))
2704
2705 /*! @brief Format value for bitfield AIPS_PACRC_TP1. */
2706 #define BF_AIPS_PACRC_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP1) & BM_AIPS_PACRC_TP1)
2707
2708 /*! @brief Set the TP1 field to a new value. */
2709 #define BW_AIPS_PACRC_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP1) = (v))
2710 /*@}*/
2711
2712 /*!
2713 * @name Register AIPS_PACRC, field WP1[25] (RW)
2714 *
2715 * Determines whether the peripheral allows write accesses. When this field is
2716 * set and a write access is attempted, access terminates with an error response
2717 * and no peripheral access initiates.
2718 *
2719 * Values:
2720 * - 0 - This peripheral allows write accesses.
2721 * - 1 - This peripheral is write protected.
2722 */
2723 /*@{*/
2724 #define BP_AIPS_PACRC_WP1 (25U) /*!< Bit position for AIPS_PACRC_WP1. */
2725 #define BM_AIPS_PACRC_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRC_WP1. */
2726 #define BS_AIPS_PACRC_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP1. */
2727
2728 /*! @brief Read current value of the AIPS_PACRC_WP1 field. */
2729 #define BR_AIPS_PACRC_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP1))
2730
2731 /*! @brief Format value for bitfield AIPS_PACRC_WP1. */
2732 #define BF_AIPS_PACRC_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP1) & BM_AIPS_PACRC_WP1)
2733
2734 /*! @brief Set the WP1 field to a new value. */
2735 #define BW_AIPS_PACRC_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP1) = (v))
2736 /*@}*/
2737
2738 /*!
2739 * @name Register AIPS_PACRC, field SP1[26] (RW)
2740 *
2741 * Determines whether the peripheral requires supervisor privilege level for
2742 * accesses. When this field is set, the master privilege level must indicate the
2743 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2744 * must be set. If not, access terminates with an error response and no peripheral
2745 * access initiates.
2746 *
2747 * Values:
2748 * - 0 - This peripheral does not require supervisor privilege level for
2749 * accesses.
2750 * - 1 - This peripheral requires supervisor privilege level for accesses.
2751 */
2752 /*@{*/
2753 #define BP_AIPS_PACRC_SP1 (26U) /*!< Bit position for AIPS_PACRC_SP1. */
2754 #define BM_AIPS_PACRC_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRC_SP1. */
2755 #define BS_AIPS_PACRC_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP1. */
2756
2757 /*! @brief Read current value of the AIPS_PACRC_SP1 field. */
2758 #define BR_AIPS_PACRC_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP1))
2759
2760 /*! @brief Format value for bitfield AIPS_PACRC_SP1. */
2761 #define BF_AIPS_PACRC_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP1) & BM_AIPS_PACRC_SP1)
2762
2763 /*! @brief Set the SP1 field to a new value. */
2764 #define BW_AIPS_PACRC_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP1) = (v))
2765 /*@}*/
2766
2767 /*!
2768 * @name Register AIPS_PACRC, field TP0[28] (RW)
2769 *
2770 * Determines whether the peripheral allows accesses from an untrusted master.
2771 * When this field is set and an access is attempted by an untrusted master, the
2772 * access terminates with an error response and no peripheral access initiates.
2773 *
2774 * Values:
2775 * - 0 - Accesses from an untrusted master are allowed.
2776 * - 1 - Accesses from an untrusted master are not allowed.
2777 */
2778 /*@{*/
2779 #define BP_AIPS_PACRC_TP0 (28U) /*!< Bit position for AIPS_PACRC_TP0. */
2780 #define BM_AIPS_PACRC_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRC_TP0. */
2781 #define BS_AIPS_PACRC_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRC_TP0. */
2782
2783 /*! @brief Read current value of the AIPS_PACRC_TP0 field. */
2784 #define BR_AIPS_PACRC_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP0))
2785
2786 /*! @brief Format value for bitfield AIPS_PACRC_TP0. */
2787 #define BF_AIPS_PACRC_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_TP0) & BM_AIPS_PACRC_TP0)
2788
2789 /*! @brief Set the TP0 field to a new value. */
2790 #define BW_AIPS_PACRC_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_TP0) = (v))
2791 /*@}*/
2792
2793 /*!
2794 * @name Register AIPS_PACRC, field WP0[29] (RW)
2795 *
2796 * Determines whether the peripheral allows write accesss. When this bit is set
2797 * and a write access is attempted, access terminates with an error response and
2798 * no peripheral access initiates.
2799 *
2800 * Values:
2801 * - 0 - This peripheral allows write accesses.
2802 * - 1 - This peripheral is write protected.
2803 */
2804 /*@{*/
2805 #define BP_AIPS_PACRC_WP0 (29U) /*!< Bit position for AIPS_PACRC_WP0. */
2806 #define BM_AIPS_PACRC_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRC_WP0. */
2807 #define BS_AIPS_PACRC_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRC_WP0. */
2808
2809 /*! @brief Read current value of the AIPS_PACRC_WP0 field. */
2810 #define BR_AIPS_PACRC_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP0))
2811
2812 /*! @brief Format value for bitfield AIPS_PACRC_WP0. */
2813 #define BF_AIPS_PACRC_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_WP0) & BM_AIPS_PACRC_WP0)
2814
2815 /*! @brief Set the WP0 field to a new value. */
2816 #define BW_AIPS_PACRC_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_WP0) = (v))
2817 /*@}*/
2818
2819 /*!
2820 * @name Register AIPS_PACRC, field SP0[30] (RW)
2821 *
2822 * Determines whether the peripheral requires supervisor privilege level for
2823 * accesses. When this field is set, the master privilege level must indicate the
2824 * supervisor access attribute, and the MPRx[MPLn] control field for the master
2825 * must be set. If not, access terminates with an error response and no peripheral
2826 * access initiates.
2827 *
2828 * Values:
2829 * - 0 - This peripheral does not require supervisor privilege level for
2830 * accesses.
2831 * - 1 - This peripheral requires supervisor privilege level for accesses.
2832 */
2833 /*@{*/
2834 #define BP_AIPS_PACRC_SP0 (30U) /*!< Bit position for AIPS_PACRC_SP0. */
2835 #define BM_AIPS_PACRC_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRC_SP0. */
2836 #define BS_AIPS_PACRC_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRC_SP0. */
2837
2838 /*! @brief Read current value of the AIPS_PACRC_SP0 field. */
2839 #define BR_AIPS_PACRC_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP0))
2840
2841 /*! @brief Format value for bitfield AIPS_PACRC_SP0. */
2842 #define BF_AIPS_PACRC_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRC_SP0) & BM_AIPS_PACRC_SP0)
2843
2844 /*! @brief Set the SP0 field to a new value. */
2845 #define BW_AIPS_PACRC_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRC_ADDR(x), BP_AIPS_PACRC_SP0) = (v))
2846 /*@}*/
2847
2848 /*******************************************************************************
2849 * HW_AIPS_PACRD - Peripheral Access Control Register
2850 ******************************************************************************/
2851
2852 /*!
2853 * @brief HW_AIPS_PACRD - Peripheral Access Control Register (RW)
2854 *
2855 * Reset value: 0x00000004U
2856 *
2857 * Each PACR register consists of eight 4-bit PACR fields. Each PACR field
2858 * defines the access levels for a particular peripheral. The mapping between a
2859 * peripheral and its PACR field is shown in the table below. The peripheral assignment
2860 * to each PACR is defined by the memory map slot that the peripheral is
2861 * assigned to. See this chip's memory map for the assignment of a particular
2862 * peripheral. The following table shows the location of each peripheral slot's PACR field
2863 * in the PACR registers. Offset Register [31:28] [27:24] [23:20] [19:16] [15:12]
2864 * [11:8] [7:4] [3:0] 0x20 PACRA PACR0 PACR1 PACR2 PACR3 PACR4 PACR5 PACR6 PACR7
2865 * 0x24 PACRB PACR8 PACR9 PACR10 PACR11 PACR12 PACR13 PACR14 PACR15 0x28 PACRC
2866 * PACR16 PACR17 PACR18 PACR19 PACR20 PACR21 PACR22 PACR23 0x2C PACRD PACR24
2867 * PACR25 PACR26 PACR27 PACR28 PACR29 PACR30 PACR31 0x30 Reserved 0x34 Reserved 0x38
2868 * Reserved 0x3C Reserved 0x40 PACRE PACR32 PACR33 PACR34 PACR35 PACR36 PACR37
2869 * PACR38 PACR39 0x44 PACRF PACR40 PACR41 PACR42 PACR43 PACR44 PACR45 PACR46 PACR47
2870 * 0x48 PACRG PACR48 PACR49 PACR50 PACR51 PACR52 PACR53 PACR54 PACR55 0x4C PACRH
2871 * PACR56 PACR57 PACR58 PACR59 PACR60 PACR61 PACR62 PACR63 0x50 PACRI PACR64
2872 * PACR65 PACR66 PACR67 PACR68 PACR69 PACR70 PACR71 0x54 PACRJ PACR72 PACR73 PACR74
2873 * PACR75 PACR76 PACR77 PACR78 PACR79 0x58 PACRK PACR80 PACR81 PACR82 PACR83
2874 * PACR84 PACR85 PACR86 PACR87 0x5C PACRL PACR88 PACR89 PACR90 PACR91 PACR92 PACR93
2875 * PACR94 PACR95 0x60 PACRM PACR96 PACR97 PACR98 PACR99 PACR100 PACR101 PACR102
2876 * PACR103 0x64 PACRN PACR104 PACR105 PACR106 PACR107 PACR108 PACR109 PACR110
2877 * PACR111 0x68 PACRO PACR112 PACR113 PACR114 PACR115 PACR116 PACR117 PACR118 PACR119
2878 * 0x6C PACRP PACR120 PACR121 PACR122 PACR123 PACR124 PACR125 PACR126 PACR127 0x80
2879 * PACRU PACR GBL0 PACR GBL1 Reserved The register field descriptions for PACR
2880 * A-D, which control peripheral slots 0-31, are shown below. The following
2881 * section, PACRPeripheral Access Control Register , shows the register field
2882 * descriptions for PACR E-P. All PACR registers are identical. They are divided into two
2883 * sections because they occupy two non-contiguous address spaces.
2884 */
2885 typedef union _hw_aips_pacrd
2886 {
2887 uint32_t U;
2888 struct _hw_aips_pacrd_bitfields
2889 {
2890 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
2891 uint32_t WP7 : 1; /*!< [1] Write Protect */
2892 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
2893 uint32_t RESERVED0 : 1; /*!< [3] */
2894 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
2895 uint32_t WP6 : 1; /*!< [5] Write Protect */
2896 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
2897 uint32_t RESERVED1 : 1; /*!< [7] */
2898 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
2899 uint32_t WP5 : 1; /*!< [9] Write Protect */
2900 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
2901 uint32_t RESERVED2 : 1; /*!< [11] */
2902 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
2903 uint32_t WP4 : 1; /*!< [13] Write Protect */
2904 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
2905 uint32_t RESERVED3 : 1; /*!< [15] */
2906 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
2907 uint32_t WP3 : 1; /*!< [17] Write Protect */
2908 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
2909 uint32_t RESERVED4 : 1; /*!< [19] */
2910 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
2911 uint32_t WP2 : 1; /*!< [21] Write Protect */
2912 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
2913 uint32_t RESERVED5 : 1; /*!< [23] */
2914 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
2915 uint32_t WP1 : 1; /*!< [25] Write Protect */
2916 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
2917 uint32_t RESERVED6 : 1; /*!< [27] */
2918 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
2919 uint32_t WP0 : 1; /*!< [29] Write Protect */
2920 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
2921 uint32_t RESERVED7 : 1; /*!< [31] */
2922 } B;
2923 } hw_aips_pacrd_t;
2924
2925 /*!
2926 * @name Constants and macros for entire AIPS_PACRD register
2927 */
2928 /*@{*/
2929 #define HW_AIPS_PACRD_ADDR(x) ((x) + 0x2CU)
2930
2931 #define HW_AIPS_PACRD(x) (*(__IO hw_aips_pacrd_t *) HW_AIPS_PACRD_ADDR(x))
2932 #define HW_AIPS_PACRD_RD(x) (HW_AIPS_PACRD(x).U)
2933 #define HW_AIPS_PACRD_WR(x, v) (HW_AIPS_PACRD(x).U = (v))
2934 #define HW_AIPS_PACRD_SET(x, v) (HW_AIPS_PACRD_WR(x, HW_AIPS_PACRD_RD(x) | (v)))
2935 #define HW_AIPS_PACRD_CLR(x, v) (HW_AIPS_PACRD_WR(x, HW_AIPS_PACRD_RD(x) & ~(v)))
2936 #define HW_AIPS_PACRD_TOG(x, v) (HW_AIPS_PACRD_WR(x, HW_AIPS_PACRD_RD(x) ^ (v)))
2937 /*@}*/
2938
2939 /*
2940 * Constants & macros for individual AIPS_PACRD bitfields
2941 */
2942
2943 /*!
2944 * @name Register AIPS_PACRD, field TP7[0] (RW)
2945 *
2946 * Determines whether the peripheral allows accesses from an untrusted master.
2947 * When this field is set and an access is attempted by an untrusted master, the
2948 * access terminates with an error response and no peripheral access initiates.
2949 *
2950 * Values:
2951 * - 0 - Accesses from an untrusted master are allowed.
2952 * - 1 - Accesses from an untrusted master are not allowed.
2953 */
2954 /*@{*/
2955 #define BP_AIPS_PACRD_TP7 (0U) /*!< Bit position for AIPS_PACRD_TP7. */
2956 #define BM_AIPS_PACRD_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRD_TP7. */
2957 #define BS_AIPS_PACRD_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP7. */
2958
2959 /*! @brief Read current value of the AIPS_PACRD_TP7 field. */
2960 #define BR_AIPS_PACRD_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP7))
2961
2962 /*! @brief Format value for bitfield AIPS_PACRD_TP7. */
2963 #define BF_AIPS_PACRD_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP7) & BM_AIPS_PACRD_TP7)
2964
2965 /*! @brief Set the TP7 field to a new value. */
2966 #define BW_AIPS_PACRD_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP7) = (v))
2967 /*@}*/
2968
2969 /*!
2970 * @name Register AIPS_PACRD, field WP7[1] (RW)
2971 *
2972 * Determines whether the peripheral allows write accesses. When this field is
2973 * set and a write access is attempted, access terminates with an error response
2974 * and no peripheral access initiates.
2975 *
2976 * Values:
2977 * - 0 - This peripheral allows write accesses.
2978 * - 1 - This peripheral is write protected.
2979 */
2980 /*@{*/
2981 #define BP_AIPS_PACRD_WP7 (1U) /*!< Bit position for AIPS_PACRD_WP7. */
2982 #define BM_AIPS_PACRD_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRD_WP7. */
2983 #define BS_AIPS_PACRD_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP7. */
2984
2985 /*! @brief Read current value of the AIPS_PACRD_WP7 field. */
2986 #define BR_AIPS_PACRD_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP7))
2987
2988 /*! @brief Format value for bitfield AIPS_PACRD_WP7. */
2989 #define BF_AIPS_PACRD_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP7) & BM_AIPS_PACRD_WP7)
2990
2991 /*! @brief Set the WP7 field to a new value. */
2992 #define BW_AIPS_PACRD_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP7) = (v))
2993 /*@}*/
2994
2995 /*!
2996 * @name Register AIPS_PACRD, field SP7[2] (RW)
2997 *
2998 * Determines whether the peripheral requires supervisor privilege level for
2999 * accesses. When this field is set, the master privilege level must indicate the
3000 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3001 * must be set. If not, access terminates with an error response and no peripheral
3002 * access initiates.
3003 *
3004 * Values:
3005 * - 0 - This peripheral does not require supervisor privilege level for
3006 * accesses.
3007 * - 1 - This peripheral requires supervisor privilege level for accesses.
3008 */
3009 /*@{*/
3010 #define BP_AIPS_PACRD_SP7 (2U) /*!< Bit position for AIPS_PACRD_SP7. */
3011 #define BM_AIPS_PACRD_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRD_SP7. */
3012 #define BS_AIPS_PACRD_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP7. */
3013
3014 /*! @brief Read current value of the AIPS_PACRD_SP7 field. */
3015 #define BR_AIPS_PACRD_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP7))
3016
3017 /*! @brief Format value for bitfield AIPS_PACRD_SP7. */
3018 #define BF_AIPS_PACRD_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP7) & BM_AIPS_PACRD_SP7)
3019
3020 /*! @brief Set the SP7 field to a new value. */
3021 #define BW_AIPS_PACRD_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP7) = (v))
3022 /*@}*/
3023
3024 /*!
3025 * @name Register AIPS_PACRD, field TP6[4] (RW)
3026 *
3027 * Determines whether the peripheral allows accesses from an untrusted master.
3028 * When this field is set and an access is attempted by an untrusted master, the
3029 * access terminates with an error response and no peripheral access initiates.
3030 *
3031 * Values:
3032 * - 0 - Accesses from an untrusted master are allowed.
3033 * - 1 - Accesses from an untrusted master are not allowed.
3034 */
3035 /*@{*/
3036 #define BP_AIPS_PACRD_TP6 (4U) /*!< Bit position for AIPS_PACRD_TP6. */
3037 #define BM_AIPS_PACRD_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRD_TP6. */
3038 #define BS_AIPS_PACRD_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP6. */
3039
3040 /*! @brief Read current value of the AIPS_PACRD_TP6 field. */
3041 #define BR_AIPS_PACRD_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP6))
3042
3043 /*! @brief Format value for bitfield AIPS_PACRD_TP6. */
3044 #define BF_AIPS_PACRD_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP6) & BM_AIPS_PACRD_TP6)
3045
3046 /*! @brief Set the TP6 field to a new value. */
3047 #define BW_AIPS_PACRD_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP6) = (v))
3048 /*@}*/
3049
3050 /*!
3051 * @name Register AIPS_PACRD, field WP6[5] (RW)
3052 *
3053 * Determines whether the peripheral allows write accesses. When this field is
3054 * set and a write access is attempted, access terminates with an error response
3055 * and no peripheral access initiates.
3056 *
3057 * Values:
3058 * - 0 - This peripheral allows write accesses.
3059 * - 1 - This peripheral is write protected.
3060 */
3061 /*@{*/
3062 #define BP_AIPS_PACRD_WP6 (5U) /*!< Bit position for AIPS_PACRD_WP6. */
3063 #define BM_AIPS_PACRD_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRD_WP6. */
3064 #define BS_AIPS_PACRD_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP6. */
3065
3066 /*! @brief Read current value of the AIPS_PACRD_WP6 field. */
3067 #define BR_AIPS_PACRD_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP6))
3068
3069 /*! @brief Format value for bitfield AIPS_PACRD_WP6. */
3070 #define BF_AIPS_PACRD_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP6) & BM_AIPS_PACRD_WP6)
3071
3072 /*! @brief Set the WP6 field to a new value. */
3073 #define BW_AIPS_PACRD_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP6) = (v))
3074 /*@}*/
3075
3076 /*!
3077 * @name Register AIPS_PACRD, field SP6[6] (RW)
3078 *
3079 * Determines whether the peripheral requires supervisor privilege level for
3080 * accesses. When this field is set, the master privilege level must indicate the
3081 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3082 * must be set. If not, access terminates with an error response and no peripheral
3083 * access initiates.
3084 *
3085 * Values:
3086 * - 0 - This peripheral does not require supervisor privilege level for
3087 * accesses.
3088 * - 1 - This peripheral requires supervisor privilege level for accesses.
3089 */
3090 /*@{*/
3091 #define BP_AIPS_PACRD_SP6 (6U) /*!< Bit position for AIPS_PACRD_SP6. */
3092 #define BM_AIPS_PACRD_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRD_SP6. */
3093 #define BS_AIPS_PACRD_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP6. */
3094
3095 /*! @brief Read current value of the AIPS_PACRD_SP6 field. */
3096 #define BR_AIPS_PACRD_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP6))
3097
3098 /*! @brief Format value for bitfield AIPS_PACRD_SP6. */
3099 #define BF_AIPS_PACRD_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP6) & BM_AIPS_PACRD_SP6)
3100
3101 /*! @brief Set the SP6 field to a new value. */
3102 #define BW_AIPS_PACRD_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP6) = (v))
3103 /*@}*/
3104
3105 /*!
3106 * @name Register AIPS_PACRD, field TP5[8] (RW)
3107 *
3108 * Determines whether the peripheral allows accesses from an untrusted master.
3109 * When this field is set and an access is attempted by an untrusted master, the
3110 * access terminates with an error response and no peripheral access initiates.
3111 *
3112 * Values:
3113 * - 0 - Accesses from an untrusted master are allowed.
3114 * - 1 - Accesses from an untrusted master are not allowed.
3115 */
3116 /*@{*/
3117 #define BP_AIPS_PACRD_TP5 (8U) /*!< Bit position for AIPS_PACRD_TP5. */
3118 #define BM_AIPS_PACRD_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRD_TP5. */
3119 #define BS_AIPS_PACRD_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP5. */
3120
3121 /*! @brief Read current value of the AIPS_PACRD_TP5 field. */
3122 #define BR_AIPS_PACRD_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP5))
3123
3124 /*! @brief Format value for bitfield AIPS_PACRD_TP5. */
3125 #define BF_AIPS_PACRD_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP5) & BM_AIPS_PACRD_TP5)
3126
3127 /*! @brief Set the TP5 field to a new value. */
3128 #define BW_AIPS_PACRD_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP5) = (v))
3129 /*@}*/
3130
3131 /*!
3132 * @name Register AIPS_PACRD, field WP5[9] (RW)
3133 *
3134 * Determines whether the peripheral allows write accesses. When this field is
3135 * set and a write access is attempted, access terminates with an error response
3136 * and no peripheral access initiates.
3137 *
3138 * Values:
3139 * - 0 - This peripheral allows write accesses.
3140 * - 1 - This peripheral is write protected.
3141 */
3142 /*@{*/
3143 #define BP_AIPS_PACRD_WP5 (9U) /*!< Bit position for AIPS_PACRD_WP5. */
3144 #define BM_AIPS_PACRD_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRD_WP5. */
3145 #define BS_AIPS_PACRD_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP5. */
3146
3147 /*! @brief Read current value of the AIPS_PACRD_WP5 field. */
3148 #define BR_AIPS_PACRD_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP5))
3149
3150 /*! @brief Format value for bitfield AIPS_PACRD_WP5. */
3151 #define BF_AIPS_PACRD_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP5) & BM_AIPS_PACRD_WP5)
3152
3153 /*! @brief Set the WP5 field to a new value. */
3154 #define BW_AIPS_PACRD_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP5) = (v))
3155 /*@}*/
3156
3157 /*!
3158 * @name Register AIPS_PACRD, field SP5[10] (RW)
3159 *
3160 * Determines whether the peripheral requires supervisor privilege level for
3161 * accesses. When this field is set, the master privilege level must indicate the
3162 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3163 * must be set. If not, access terminates with an error response and no peripheral
3164 * access initiates.
3165 *
3166 * Values:
3167 * - 0 - This peripheral does not require supervisor privilege level for
3168 * accesses.
3169 * - 1 - This peripheral requires supervisor privilege level for accesses.
3170 */
3171 /*@{*/
3172 #define BP_AIPS_PACRD_SP5 (10U) /*!< Bit position for AIPS_PACRD_SP5. */
3173 #define BM_AIPS_PACRD_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRD_SP5. */
3174 #define BS_AIPS_PACRD_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP5. */
3175
3176 /*! @brief Read current value of the AIPS_PACRD_SP5 field. */
3177 #define BR_AIPS_PACRD_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP5))
3178
3179 /*! @brief Format value for bitfield AIPS_PACRD_SP5. */
3180 #define BF_AIPS_PACRD_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP5) & BM_AIPS_PACRD_SP5)
3181
3182 /*! @brief Set the SP5 field to a new value. */
3183 #define BW_AIPS_PACRD_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP5) = (v))
3184 /*@}*/
3185
3186 /*!
3187 * @name Register AIPS_PACRD, field TP4[12] (RW)
3188 *
3189 * Determines whether the peripheral allows accesses from an untrusted master.
3190 * When this field is set and an access is attempted by an untrusted master, the
3191 * access terminates with an error response and no peripheral access initiates.
3192 *
3193 * Values:
3194 * - 0 - Accesses from an untrusted master are allowed.
3195 * - 1 - Accesses from an untrusted master are not allowed.
3196 */
3197 /*@{*/
3198 #define BP_AIPS_PACRD_TP4 (12U) /*!< Bit position for AIPS_PACRD_TP4. */
3199 #define BM_AIPS_PACRD_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRD_TP4. */
3200 #define BS_AIPS_PACRD_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP4. */
3201
3202 /*! @brief Read current value of the AIPS_PACRD_TP4 field. */
3203 #define BR_AIPS_PACRD_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP4))
3204
3205 /*! @brief Format value for bitfield AIPS_PACRD_TP4. */
3206 #define BF_AIPS_PACRD_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP4) & BM_AIPS_PACRD_TP4)
3207
3208 /*! @brief Set the TP4 field to a new value. */
3209 #define BW_AIPS_PACRD_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP4) = (v))
3210 /*@}*/
3211
3212 /*!
3213 * @name Register AIPS_PACRD, field WP4[13] (RW)
3214 *
3215 * Determines whether the peripheral allows write accesss. When this bit is set
3216 * and a write access is attempted, access terminates with an error response and
3217 * no peripheral access initiates.
3218 *
3219 * Values:
3220 * - 0 - This peripheral allows write accesses.
3221 * - 1 - This peripheral is write protected.
3222 */
3223 /*@{*/
3224 #define BP_AIPS_PACRD_WP4 (13U) /*!< Bit position for AIPS_PACRD_WP4. */
3225 #define BM_AIPS_PACRD_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRD_WP4. */
3226 #define BS_AIPS_PACRD_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP4. */
3227
3228 /*! @brief Read current value of the AIPS_PACRD_WP4 field. */
3229 #define BR_AIPS_PACRD_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP4))
3230
3231 /*! @brief Format value for bitfield AIPS_PACRD_WP4. */
3232 #define BF_AIPS_PACRD_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP4) & BM_AIPS_PACRD_WP4)
3233
3234 /*! @brief Set the WP4 field to a new value. */
3235 #define BW_AIPS_PACRD_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP4) = (v))
3236 /*@}*/
3237
3238 /*!
3239 * @name Register AIPS_PACRD, field SP4[14] (RW)
3240 *
3241 * Determines whether the peripheral requires supervisor privilege level for
3242 * accesses. When this field is set, the master privilege level must indicate the
3243 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3244 * must be set. If not, access terminates with an error response and no peripheral
3245 * access initiates.
3246 *
3247 * Values:
3248 * - 0 - This peripheral does not require supervisor privilege level for
3249 * accesses.
3250 * - 1 - This peripheral requires supervisor privilege level for accesses.
3251 */
3252 /*@{*/
3253 #define BP_AIPS_PACRD_SP4 (14U) /*!< Bit position for AIPS_PACRD_SP4. */
3254 #define BM_AIPS_PACRD_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRD_SP4. */
3255 #define BS_AIPS_PACRD_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP4. */
3256
3257 /*! @brief Read current value of the AIPS_PACRD_SP4 field. */
3258 #define BR_AIPS_PACRD_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP4))
3259
3260 /*! @brief Format value for bitfield AIPS_PACRD_SP4. */
3261 #define BF_AIPS_PACRD_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP4) & BM_AIPS_PACRD_SP4)
3262
3263 /*! @brief Set the SP4 field to a new value. */
3264 #define BW_AIPS_PACRD_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP4) = (v))
3265 /*@}*/
3266
3267 /*!
3268 * @name Register AIPS_PACRD, field TP3[16] (RW)
3269 *
3270 * Determines whether the peripheral allows accesses from an untrusted master.
3271 * When this bit is set and an access is attempted by an untrusted master, the
3272 * access terminates with an error response and no peripheral access initiates.
3273 *
3274 * Values:
3275 * - 0 - Accesses from an untrusted master are allowed.
3276 * - 1 - Accesses from an untrusted master are not allowed.
3277 */
3278 /*@{*/
3279 #define BP_AIPS_PACRD_TP3 (16U) /*!< Bit position for AIPS_PACRD_TP3. */
3280 #define BM_AIPS_PACRD_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRD_TP3. */
3281 #define BS_AIPS_PACRD_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP3. */
3282
3283 /*! @brief Read current value of the AIPS_PACRD_TP3 field. */
3284 #define BR_AIPS_PACRD_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP3))
3285
3286 /*! @brief Format value for bitfield AIPS_PACRD_TP3. */
3287 #define BF_AIPS_PACRD_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP3) & BM_AIPS_PACRD_TP3)
3288
3289 /*! @brief Set the TP3 field to a new value. */
3290 #define BW_AIPS_PACRD_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP3) = (v))
3291 /*@}*/
3292
3293 /*!
3294 * @name Register AIPS_PACRD, field WP3[17] (RW)
3295 *
3296 * Determines whether the peripheral allows write accesses. When this field is
3297 * set and a write access is attempted, access terminates with an error response
3298 * and no peripheral access initiates.
3299 *
3300 * Values:
3301 * - 0 - This peripheral allows write accesses.
3302 * - 1 - This peripheral is write protected.
3303 */
3304 /*@{*/
3305 #define BP_AIPS_PACRD_WP3 (17U) /*!< Bit position for AIPS_PACRD_WP3. */
3306 #define BM_AIPS_PACRD_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRD_WP3. */
3307 #define BS_AIPS_PACRD_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP3. */
3308
3309 /*! @brief Read current value of the AIPS_PACRD_WP3 field. */
3310 #define BR_AIPS_PACRD_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP3))
3311
3312 /*! @brief Format value for bitfield AIPS_PACRD_WP3. */
3313 #define BF_AIPS_PACRD_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP3) & BM_AIPS_PACRD_WP3)
3314
3315 /*! @brief Set the WP3 field to a new value. */
3316 #define BW_AIPS_PACRD_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP3) = (v))
3317 /*@}*/
3318
3319 /*!
3320 * @name Register AIPS_PACRD, field SP3[18] (RW)
3321 *
3322 * Determines whether the peripheral requires supervisor privilege level for
3323 * access. When this bit is set, the master privilege level must indicate the
3324 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
3325 * set. If not, access terminates with an error response and no peripheral access
3326 * initiates.
3327 *
3328 * Values:
3329 * - 0 - This peripheral does not require supervisor privilege level for
3330 * accesses.
3331 * - 1 - This peripheral requires supervisor privilege level for accesses.
3332 */
3333 /*@{*/
3334 #define BP_AIPS_PACRD_SP3 (18U) /*!< Bit position for AIPS_PACRD_SP3. */
3335 #define BM_AIPS_PACRD_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRD_SP3. */
3336 #define BS_AIPS_PACRD_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP3. */
3337
3338 /*! @brief Read current value of the AIPS_PACRD_SP3 field. */
3339 #define BR_AIPS_PACRD_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP3))
3340
3341 /*! @brief Format value for bitfield AIPS_PACRD_SP3. */
3342 #define BF_AIPS_PACRD_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP3) & BM_AIPS_PACRD_SP3)
3343
3344 /*! @brief Set the SP3 field to a new value. */
3345 #define BW_AIPS_PACRD_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP3) = (v))
3346 /*@}*/
3347
3348 /*!
3349 * @name Register AIPS_PACRD, field TP2[20] (RW)
3350 *
3351 * Determines whether the peripheral allows accesses from an untrusted master.
3352 * When this field is set and an access is attempted by an untrusted master, the
3353 * access terminates with an error response and no peripheral access initiates.
3354 *
3355 * Values:
3356 * - 0 - Accesses from an untrusted master are allowed.
3357 * - 1 - Accesses from an untrusted master are not allowed.
3358 */
3359 /*@{*/
3360 #define BP_AIPS_PACRD_TP2 (20U) /*!< Bit position for AIPS_PACRD_TP2. */
3361 #define BM_AIPS_PACRD_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRD_TP2. */
3362 #define BS_AIPS_PACRD_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP2. */
3363
3364 /*! @brief Read current value of the AIPS_PACRD_TP2 field. */
3365 #define BR_AIPS_PACRD_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP2))
3366
3367 /*! @brief Format value for bitfield AIPS_PACRD_TP2. */
3368 #define BF_AIPS_PACRD_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP2) & BM_AIPS_PACRD_TP2)
3369
3370 /*! @brief Set the TP2 field to a new value. */
3371 #define BW_AIPS_PACRD_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP2) = (v))
3372 /*@}*/
3373
3374 /*!
3375 * @name Register AIPS_PACRD, field WP2[21] (RW)
3376 *
3377 * Determines whether the peripheral allows write accesss. When this bit is set
3378 * and a write access is attempted, access terminates with an error response and
3379 * no peripheral access initiates.
3380 *
3381 * Values:
3382 * - 0 - This peripheral allows write accesses.
3383 * - 1 - This peripheral is write protected.
3384 */
3385 /*@{*/
3386 #define BP_AIPS_PACRD_WP2 (21U) /*!< Bit position for AIPS_PACRD_WP2. */
3387 #define BM_AIPS_PACRD_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRD_WP2. */
3388 #define BS_AIPS_PACRD_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP2. */
3389
3390 /*! @brief Read current value of the AIPS_PACRD_WP2 field. */
3391 #define BR_AIPS_PACRD_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP2))
3392
3393 /*! @brief Format value for bitfield AIPS_PACRD_WP2. */
3394 #define BF_AIPS_PACRD_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP2) & BM_AIPS_PACRD_WP2)
3395
3396 /*! @brief Set the WP2 field to a new value. */
3397 #define BW_AIPS_PACRD_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP2) = (v))
3398 /*@}*/
3399
3400 /*!
3401 * @name Register AIPS_PACRD, field SP2[22] (RW)
3402 *
3403 * Determines whether the peripheral requires supervisor privilege level for
3404 * accesses. When this field is set, the master privilege level must indicate the
3405 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3406 * must be set. If not, access terminates with an error response and no peripheral
3407 * access initiates.
3408 *
3409 * Values:
3410 * - 0 - This peripheral does not require supervisor privilege level for
3411 * accesses.
3412 * - 1 - This peripheral requires supervisor privilege level for accesses.
3413 */
3414 /*@{*/
3415 #define BP_AIPS_PACRD_SP2 (22U) /*!< Bit position for AIPS_PACRD_SP2. */
3416 #define BM_AIPS_PACRD_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRD_SP2. */
3417 #define BS_AIPS_PACRD_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP2. */
3418
3419 /*! @brief Read current value of the AIPS_PACRD_SP2 field. */
3420 #define BR_AIPS_PACRD_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP2))
3421
3422 /*! @brief Format value for bitfield AIPS_PACRD_SP2. */
3423 #define BF_AIPS_PACRD_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP2) & BM_AIPS_PACRD_SP2)
3424
3425 /*! @brief Set the SP2 field to a new value. */
3426 #define BW_AIPS_PACRD_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP2) = (v))
3427 /*@}*/
3428
3429 /*!
3430 * @name Register AIPS_PACRD, field TP1[24] (RW)
3431 *
3432 * Determines whether the peripheral allows accesses from an untrusted master.
3433 * When this bit is set and an access is attempted by an untrusted master, the
3434 * access terminates with an error response and no peripheral access initiates.
3435 *
3436 * Values:
3437 * - 0 - Accesses from an untrusted master are allowed.
3438 * - 1 - Accesses from an untrusted master are not allowed.
3439 */
3440 /*@{*/
3441 #define BP_AIPS_PACRD_TP1 (24U) /*!< Bit position for AIPS_PACRD_TP1. */
3442 #define BM_AIPS_PACRD_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRD_TP1. */
3443 #define BS_AIPS_PACRD_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP1. */
3444
3445 /*! @brief Read current value of the AIPS_PACRD_TP1 field. */
3446 #define BR_AIPS_PACRD_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP1))
3447
3448 /*! @brief Format value for bitfield AIPS_PACRD_TP1. */
3449 #define BF_AIPS_PACRD_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP1) & BM_AIPS_PACRD_TP1)
3450
3451 /*! @brief Set the TP1 field to a new value. */
3452 #define BW_AIPS_PACRD_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP1) = (v))
3453 /*@}*/
3454
3455 /*!
3456 * @name Register AIPS_PACRD, field WP1[25] (RW)
3457 *
3458 * Determines whether the peripheral allows write accesses. When this field is
3459 * set and a write access is attempted, access terminates with an error response
3460 * and no peripheral access initiates.
3461 *
3462 * Values:
3463 * - 0 - This peripheral allows write accesses.
3464 * - 1 - This peripheral is write protected.
3465 */
3466 /*@{*/
3467 #define BP_AIPS_PACRD_WP1 (25U) /*!< Bit position for AIPS_PACRD_WP1. */
3468 #define BM_AIPS_PACRD_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRD_WP1. */
3469 #define BS_AIPS_PACRD_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP1. */
3470
3471 /*! @brief Read current value of the AIPS_PACRD_WP1 field. */
3472 #define BR_AIPS_PACRD_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP1))
3473
3474 /*! @brief Format value for bitfield AIPS_PACRD_WP1. */
3475 #define BF_AIPS_PACRD_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP1) & BM_AIPS_PACRD_WP1)
3476
3477 /*! @brief Set the WP1 field to a new value. */
3478 #define BW_AIPS_PACRD_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP1) = (v))
3479 /*@}*/
3480
3481 /*!
3482 * @name Register AIPS_PACRD, field SP1[26] (RW)
3483 *
3484 * Determines whether the peripheral requires supervisor privilege level for
3485 * accesses. When this field is set, the master privilege level must indicate the
3486 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3487 * must be set. If not, access terminates with an error response and no peripheral
3488 * access initiates.
3489 *
3490 * Values:
3491 * - 0 - This peripheral does not require supervisor privilege level for
3492 * accesses.
3493 * - 1 - This peripheral requires supervisor privilege level for accesses.
3494 */
3495 /*@{*/
3496 #define BP_AIPS_PACRD_SP1 (26U) /*!< Bit position for AIPS_PACRD_SP1. */
3497 #define BM_AIPS_PACRD_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRD_SP1. */
3498 #define BS_AIPS_PACRD_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP1. */
3499
3500 /*! @brief Read current value of the AIPS_PACRD_SP1 field. */
3501 #define BR_AIPS_PACRD_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP1))
3502
3503 /*! @brief Format value for bitfield AIPS_PACRD_SP1. */
3504 #define BF_AIPS_PACRD_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP1) & BM_AIPS_PACRD_SP1)
3505
3506 /*! @brief Set the SP1 field to a new value. */
3507 #define BW_AIPS_PACRD_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP1) = (v))
3508 /*@}*/
3509
3510 /*!
3511 * @name Register AIPS_PACRD, field TP0[28] (RW)
3512 *
3513 * Determines whether the peripheral allows accesses from an untrusted master.
3514 * When this field is set and an access is attempted by an untrusted master, the
3515 * access terminates with an error response and no peripheral access initiates.
3516 *
3517 * Values:
3518 * - 0 - Accesses from an untrusted master are allowed.
3519 * - 1 - Accesses from an untrusted master are not allowed.
3520 */
3521 /*@{*/
3522 #define BP_AIPS_PACRD_TP0 (28U) /*!< Bit position for AIPS_PACRD_TP0. */
3523 #define BM_AIPS_PACRD_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRD_TP0. */
3524 #define BS_AIPS_PACRD_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRD_TP0. */
3525
3526 /*! @brief Read current value of the AIPS_PACRD_TP0 field. */
3527 #define BR_AIPS_PACRD_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP0))
3528
3529 /*! @brief Format value for bitfield AIPS_PACRD_TP0. */
3530 #define BF_AIPS_PACRD_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_TP0) & BM_AIPS_PACRD_TP0)
3531
3532 /*! @brief Set the TP0 field to a new value. */
3533 #define BW_AIPS_PACRD_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_TP0) = (v))
3534 /*@}*/
3535
3536 /*!
3537 * @name Register AIPS_PACRD, field WP0[29] (RW)
3538 *
3539 * Determines whether the peripheral allows write accesss. When this bit is set
3540 * and a write access is attempted, access terminates with an error response and
3541 * no peripheral access initiates.
3542 *
3543 * Values:
3544 * - 0 - This peripheral allows write accesses.
3545 * - 1 - This peripheral is write protected.
3546 */
3547 /*@{*/
3548 #define BP_AIPS_PACRD_WP0 (29U) /*!< Bit position for AIPS_PACRD_WP0. */
3549 #define BM_AIPS_PACRD_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRD_WP0. */
3550 #define BS_AIPS_PACRD_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRD_WP0. */
3551
3552 /*! @brief Read current value of the AIPS_PACRD_WP0 field. */
3553 #define BR_AIPS_PACRD_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP0))
3554
3555 /*! @brief Format value for bitfield AIPS_PACRD_WP0. */
3556 #define BF_AIPS_PACRD_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_WP0) & BM_AIPS_PACRD_WP0)
3557
3558 /*! @brief Set the WP0 field to a new value. */
3559 #define BW_AIPS_PACRD_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_WP0) = (v))
3560 /*@}*/
3561
3562 /*!
3563 * @name Register AIPS_PACRD, field SP0[30] (RW)
3564 *
3565 * Determines whether the peripheral requires supervisor privilege level for
3566 * accesses. When this field is set, the master privilege level must indicate the
3567 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3568 * must be set. If not, access terminates with an error response and no peripheral
3569 * access initiates.
3570 *
3571 * Values:
3572 * - 0 - This peripheral does not require supervisor privilege level for
3573 * accesses.
3574 * - 1 - This peripheral requires supervisor privilege level for accesses.
3575 */
3576 /*@{*/
3577 #define BP_AIPS_PACRD_SP0 (30U) /*!< Bit position for AIPS_PACRD_SP0. */
3578 #define BM_AIPS_PACRD_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRD_SP0. */
3579 #define BS_AIPS_PACRD_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRD_SP0. */
3580
3581 /*! @brief Read current value of the AIPS_PACRD_SP0 field. */
3582 #define BR_AIPS_PACRD_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP0))
3583
3584 /*! @brief Format value for bitfield AIPS_PACRD_SP0. */
3585 #define BF_AIPS_PACRD_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRD_SP0) & BM_AIPS_PACRD_SP0)
3586
3587 /*! @brief Set the SP0 field to a new value. */
3588 #define BW_AIPS_PACRD_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRD_ADDR(x), BP_AIPS_PACRD_SP0) = (v))
3589 /*@}*/
3590
3591 /*******************************************************************************
3592 * HW_AIPS_PACRE - Peripheral Access Control Register
3593 ******************************************************************************/
3594
3595 /*!
3596 * @brief HW_AIPS_PACRE - Peripheral Access Control Register (RW)
3597 *
3598 * Reset value: 0x44444444U
3599 *
3600 * This section describes PACR registers E-P, which control peripheral slots
3601 * 32-127. See PACRPeripheral Access Control Register for the description of these
3602 * registers.
3603 */
3604 typedef union _hw_aips_pacre
3605 {
3606 uint32_t U;
3607 struct _hw_aips_pacre_bitfields
3608 {
3609 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
3610 uint32_t WP7 : 1; /*!< [1] Write Protect */
3611 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
3612 uint32_t RESERVED0 : 1; /*!< [3] */
3613 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
3614 uint32_t WP6 : 1; /*!< [5] Write Protect */
3615 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
3616 uint32_t RESERVED1 : 1; /*!< [7] */
3617 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
3618 uint32_t WP5 : 1; /*!< [9] Write Protect */
3619 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
3620 uint32_t RESERVED2 : 1; /*!< [11] */
3621 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
3622 uint32_t WP4 : 1; /*!< [13] Write Protect */
3623 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
3624 uint32_t RESERVED3 : 1; /*!< [15] */
3625 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
3626 uint32_t WP3 : 1; /*!< [17] Write Protect */
3627 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
3628 uint32_t RESERVED4 : 1; /*!< [19] */
3629 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
3630 uint32_t WP2 : 1; /*!< [21] Write Protect */
3631 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
3632 uint32_t RESERVED5 : 1; /*!< [23] */
3633 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
3634 uint32_t WP1 : 1; /*!< [25] Write Protect */
3635 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
3636 uint32_t RESERVED6 : 1; /*!< [27] */
3637 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
3638 uint32_t WP0 : 1; /*!< [29] Write Protect */
3639 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
3640 uint32_t RESERVED7 : 1; /*!< [31] */
3641 } B;
3642 } hw_aips_pacre_t;
3643
3644 /*!
3645 * @name Constants and macros for entire AIPS_PACRE register
3646 */
3647 /*@{*/
3648 #define HW_AIPS_PACRE_ADDR(x) ((x) + 0x40U)
3649
3650 #define HW_AIPS_PACRE(x) (*(__IO hw_aips_pacre_t *) HW_AIPS_PACRE_ADDR(x))
3651 #define HW_AIPS_PACRE_RD(x) (HW_AIPS_PACRE(x).U)
3652 #define HW_AIPS_PACRE_WR(x, v) (HW_AIPS_PACRE(x).U = (v))
3653 #define HW_AIPS_PACRE_SET(x, v) (HW_AIPS_PACRE_WR(x, HW_AIPS_PACRE_RD(x) | (v)))
3654 #define HW_AIPS_PACRE_CLR(x, v) (HW_AIPS_PACRE_WR(x, HW_AIPS_PACRE_RD(x) & ~(v)))
3655 #define HW_AIPS_PACRE_TOG(x, v) (HW_AIPS_PACRE_WR(x, HW_AIPS_PACRE_RD(x) ^ (v)))
3656 /*@}*/
3657
3658 /*
3659 * Constants & macros for individual AIPS_PACRE bitfields
3660 */
3661
3662 /*!
3663 * @name Register AIPS_PACRE, field TP7[0] (RW)
3664 *
3665 * Determines whether the peripheral allows accesses from an untrusted master.
3666 * When this field is set and an access is attempted by an untrusted master, the
3667 * access terminates with an error response and no peripheral access initiates.
3668 *
3669 * Values:
3670 * - 0 - Accesses from an untrusted master are allowed.
3671 * - 1 - Accesses from an untrusted master are not allowed.
3672 */
3673 /*@{*/
3674 #define BP_AIPS_PACRE_TP7 (0U) /*!< Bit position for AIPS_PACRE_TP7. */
3675 #define BM_AIPS_PACRE_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRE_TP7. */
3676 #define BS_AIPS_PACRE_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP7. */
3677
3678 /*! @brief Read current value of the AIPS_PACRE_TP7 field. */
3679 #define BR_AIPS_PACRE_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP7))
3680
3681 /*! @brief Format value for bitfield AIPS_PACRE_TP7. */
3682 #define BF_AIPS_PACRE_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP7) & BM_AIPS_PACRE_TP7)
3683
3684 /*! @brief Set the TP7 field to a new value. */
3685 #define BW_AIPS_PACRE_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP7) = (v))
3686 /*@}*/
3687
3688 /*!
3689 * @name Register AIPS_PACRE, field WP7[1] (RW)
3690 *
3691 * Determines whether the peripheral allows write accesses. When this field is
3692 * set and a write access is attempted, access terminates with an error response
3693 * and no peripheral access initiates.
3694 *
3695 * Values:
3696 * - 0 - This peripheral allows write accesses.
3697 * - 1 - This peripheral is write protected.
3698 */
3699 /*@{*/
3700 #define BP_AIPS_PACRE_WP7 (1U) /*!< Bit position for AIPS_PACRE_WP7. */
3701 #define BM_AIPS_PACRE_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRE_WP7. */
3702 #define BS_AIPS_PACRE_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP7. */
3703
3704 /*! @brief Read current value of the AIPS_PACRE_WP7 field. */
3705 #define BR_AIPS_PACRE_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP7))
3706
3707 /*! @brief Format value for bitfield AIPS_PACRE_WP7. */
3708 #define BF_AIPS_PACRE_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP7) & BM_AIPS_PACRE_WP7)
3709
3710 /*! @brief Set the WP7 field to a new value. */
3711 #define BW_AIPS_PACRE_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP7) = (v))
3712 /*@}*/
3713
3714 /*!
3715 * @name Register AIPS_PACRE, field SP7[2] (RW)
3716 *
3717 * Determines whether the peripheral requires supervisor privilege level for
3718 * accesses. When this field is set, the master privilege level must indicate the
3719 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3720 * must be set. If not, access terminates with an error response and no peripheral
3721 * access initiates.
3722 *
3723 * Values:
3724 * - 0 - This peripheral does not require supervisor privilege level for
3725 * accesses.
3726 * - 1 - This peripheral requires supervisor privilege level for accesses.
3727 */
3728 /*@{*/
3729 #define BP_AIPS_PACRE_SP7 (2U) /*!< Bit position for AIPS_PACRE_SP7. */
3730 #define BM_AIPS_PACRE_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRE_SP7. */
3731 #define BS_AIPS_PACRE_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP7. */
3732
3733 /*! @brief Read current value of the AIPS_PACRE_SP7 field. */
3734 #define BR_AIPS_PACRE_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP7))
3735
3736 /*! @brief Format value for bitfield AIPS_PACRE_SP7. */
3737 #define BF_AIPS_PACRE_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP7) & BM_AIPS_PACRE_SP7)
3738
3739 /*! @brief Set the SP7 field to a new value. */
3740 #define BW_AIPS_PACRE_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP7) = (v))
3741 /*@}*/
3742
3743 /*!
3744 * @name Register AIPS_PACRE, field TP6[4] (RW)
3745 *
3746 * Determines whether the peripheral allows accesses from an untrusted master.
3747 * When this field is set and an access is attempted by an untrusted master, the
3748 * access terminates with an error response and no peripheral access initiates.
3749 *
3750 * Values:
3751 * - 0 - Accesses from an untrusted master are allowed.
3752 * - 1 - Accesses from an untrusted master are not allowed.
3753 */
3754 /*@{*/
3755 #define BP_AIPS_PACRE_TP6 (4U) /*!< Bit position for AIPS_PACRE_TP6. */
3756 #define BM_AIPS_PACRE_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRE_TP6. */
3757 #define BS_AIPS_PACRE_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP6. */
3758
3759 /*! @brief Read current value of the AIPS_PACRE_TP6 field. */
3760 #define BR_AIPS_PACRE_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP6))
3761
3762 /*! @brief Format value for bitfield AIPS_PACRE_TP6. */
3763 #define BF_AIPS_PACRE_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP6) & BM_AIPS_PACRE_TP6)
3764
3765 /*! @brief Set the TP6 field to a new value. */
3766 #define BW_AIPS_PACRE_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP6) = (v))
3767 /*@}*/
3768
3769 /*!
3770 * @name Register AIPS_PACRE, field WP6[5] (RW)
3771 *
3772 * Determines whether the peripheral allows write accesses. When this field is
3773 * set and a write access is attempted, access terminates with an error response
3774 * and no peripheral access initiates.
3775 *
3776 * Values:
3777 * - 0 - This peripheral allows write accesses.
3778 * - 1 - This peripheral is write protected.
3779 */
3780 /*@{*/
3781 #define BP_AIPS_PACRE_WP6 (5U) /*!< Bit position for AIPS_PACRE_WP6. */
3782 #define BM_AIPS_PACRE_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRE_WP6. */
3783 #define BS_AIPS_PACRE_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP6. */
3784
3785 /*! @brief Read current value of the AIPS_PACRE_WP6 field. */
3786 #define BR_AIPS_PACRE_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP6))
3787
3788 /*! @brief Format value for bitfield AIPS_PACRE_WP6. */
3789 #define BF_AIPS_PACRE_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP6) & BM_AIPS_PACRE_WP6)
3790
3791 /*! @brief Set the WP6 field to a new value. */
3792 #define BW_AIPS_PACRE_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP6) = (v))
3793 /*@}*/
3794
3795 /*!
3796 * @name Register AIPS_PACRE, field SP6[6] (RW)
3797 *
3798 * Determines whether the peripheral requires supervisor privilege level for
3799 * accesses. When this field is set, the master privilege level must indicate the
3800 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3801 * must be set. If not, access terminates with an error response and no peripheral
3802 * access initiates.
3803 *
3804 * Values:
3805 * - 0 - This peripheral does not require supervisor privilege level for
3806 * accesses.
3807 * - 1 - This peripheral requires supervisor privilege level for accesses.
3808 */
3809 /*@{*/
3810 #define BP_AIPS_PACRE_SP6 (6U) /*!< Bit position for AIPS_PACRE_SP6. */
3811 #define BM_AIPS_PACRE_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRE_SP6. */
3812 #define BS_AIPS_PACRE_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP6. */
3813
3814 /*! @brief Read current value of the AIPS_PACRE_SP6 field. */
3815 #define BR_AIPS_PACRE_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP6))
3816
3817 /*! @brief Format value for bitfield AIPS_PACRE_SP6. */
3818 #define BF_AIPS_PACRE_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP6) & BM_AIPS_PACRE_SP6)
3819
3820 /*! @brief Set the SP6 field to a new value. */
3821 #define BW_AIPS_PACRE_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP6) = (v))
3822 /*@}*/
3823
3824 /*!
3825 * @name Register AIPS_PACRE, field TP5[8] (RW)
3826 *
3827 * Determines whether the peripheral allows accesses from an untrusted master.
3828 * When this field is set and an access is attempted by an untrusted master, the
3829 * access terminates with an error response and no peripheral access initiates.
3830 *
3831 * Values:
3832 * - 0 - Accesses from an untrusted master are allowed.
3833 * - 1 - Accesses from an untrusted master are not allowed.
3834 */
3835 /*@{*/
3836 #define BP_AIPS_PACRE_TP5 (8U) /*!< Bit position for AIPS_PACRE_TP5. */
3837 #define BM_AIPS_PACRE_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRE_TP5. */
3838 #define BS_AIPS_PACRE_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP5. */
3839
3840 /*! @brief Read current value of the AIPS_PACRE_TP5 field. */
3841 #define BR_AIPS_PACRE_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP5))
3842
3843 /*! @brief Format value for bitfield AIPS_PACRE_TP5. */
3844 #define BF_AIPS_PACRE_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP5) & BM_AIPS_PACRE_TP5)
3845
3846 /*! @brief Set the TP5 field to a new value. */
3847 #define BW_AIPS_PACRE_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP5) = (v))
3848 /*@}*/
3849
3850 /*!
3851 * @name Register AIPS_PACRE, field WP5[9] (RW)
3852 *
3853 * Determines whether the peripheral allows write accesses. When this field is
3854 * set and a write access is attempted, access terminates with an error response
3855 * and no peripheral access initiates.
3856 *
3857 * Values:
3858 * - 0 - This peripheral allows write accesses.
3859 * - 1 - This peripheral is write protected.
3860 */
3861 /*@{*/
3862 #define BP_AIPS_PACRE_WP5 (9U) /*!< Bit position for AIPS_PACRE_WP5. */
3863 #define BM_AIPS_PACRE_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRE_WP5. */
3864 #define BS_AIPS_PACRE_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP5. */
3865
3866 /*! @brief Read current value of the AIPS_PACRE_WP5 field. */
3867 #define BR_AIPS_PACRE_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP5))
3868
3869 /*! @brief Format value for bitfield AIPS_PACRE_WP5. */
3870 #define BF_AIPS_PACRE_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP5) & BM_AIPS_PACRE_WP5)
3871
3872 /*! @brief Set the WP5 field to a new value. */
3873 #define BW_AIPS_PACRE_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP5) = (v))
3874 /*@}*/
3875
3876 /*!
3877 * @name Register AIPS_PACRE, field SP5[10] (RW)
3878 *
3879 * Determines whether the peripheral requires supervisor privilege level for
3880 * accesses. When this field is set, the master privilege level must indicate the
3881 * supervisor access attribute, and the MPRx[MPLn] control field for the master
3882 * must be set. If not, access terminates with an error response and no peripheral
3883 * access initiates.
3884 *
3885 * Values:
3886 * - 0 - This peripheral does not require supervisor privilege level for
3887 * accesses.
3888 * - 1 - This peripheral requires supervisor privilege level for accesses.
3889 */
3890 /*@{*/
3891 #define BP_AIPS_PACRE_SP5 (10U) /*!< Bit position for AIPS_PACRE_SP5. */
3892 #define BM_AIPS_PACRE_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRE_SP5. */
3893 #define BS_AIPS_PACRE_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP5. */
3894
3895 /*! @brief Read current value of the AIPS_PACRE_SP5 field. */
3896 #define BR_AIPS_PACRE_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP5))
3897
3898 /*! @brief Format value for bitfield AIPS_PACRE_SP5. */
3899 #define BF_AIPS_PACRE_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP5) & BM_AIPS_PACRE_SP5)
3900
3901 /*! @brief Set the SP5 field to a new value. */
3902 #define BW_AIPS_PACRE_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP5) = (v))
3903 /*@}*/
3904
3905 /*!
3906 * @name Register AIPS_PACRE, field TP4[12] (RW)
3907 *
3908 * Determines whether the peripheral allows accesses from an untrusted master.
3909 * When this bit is set and an access is attempted by an untrusted master, the
3910 * access terminates with an error response and no peripheral access initiates.
3911 *
3912 * Values:
3913 * - 0 - Accesses from an untrusted master are allowed.
3914 * - 1 - Accesses from an untrusted master are not allowed.
3915 */
3916 /*@{*/
3917 #define BP_AIPS_PACRE_TP4 (12U) /*!< Bit position for AIPS_PACRE_TP4. */
3918 #define BM_AIPS_PACRE_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRE_TP4. */
3919 #define BS_AIPS_PACRE_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP4. */
3920
3921 /*! @brief Read current value of the AIPS_PACRE_TP4 field. */
3922 #define BR_AIPS_PACRE_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP4))
3923
3924 /*! @brief Format value for bitfield AIPS_PACRE_TP4. */
3925 #define BF_AIPS_PACRE_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP4) & BM_AIPS_PACRE_TP4)
3926
3927 /*! @brief Set the TP4 field to a new value. */
3928 #define BW_AIPS_PACRE_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP4) = (v))
3929 /*@}*/
3930
3931 /*!
3932 * @name Register AIPS_PACRE, field WP4[13] (RW)
3933 *
3934 * Determines whether the peripheral allows write accesses. When this field is
3935 * set and a write access is attempted, access terminates with an error response
3936 * and no peripheral access initiates.
3937 *
3938 * Values:
3939 * - 0 - This peripheral allows write accesses.
3940 * - 1 - This peripheral is write protected.
3941 */
3942 /*@{*/
3943 #define BP_AIPS_PACRE_WP4 (13U) /*!< Bit position for AIPS_PACRE_WP4. */
3944 #define BM_AIPS_PACRE_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRE_WP4. */
3945 #define BS_AIPS_PACRE_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP4. */
3946
3947 /*! @brief Read current value of the AIPS_PACRE_WP4 field. */
3948 #define BR_AIPS_PACRE_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP4))
3949
3950 /*! @brief Format value for bitfield AIPS_PACRE_WP4. */
3951 #define BF_AIPS_PACRE_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP4) & BM_AIPS_PACRE_WP4)
3952
3953 /*! @brief Set the WP4 field to a new value. */
3954 #define BW_AIPS_PACRE_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP4) = (v))
3955 /*@}*/
3956
3957 /*!
3958 * @name Register AIPS_PACRE, field SP4[14] (RW)
3959 *
3960 * Determines whether the peripheral requires supervisor privilege level for
3961 * access. When this bit is set, the master privilege level must indicate the
3962 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
3963 * set. If not, access terminates with an error response and no peripheral access
3964 * initiates.
3965 *
3966 * Values:
3967 * - 0 - This peripheral does not require supervisor privilege level for
3968 * accesses.
3969 * - 1 - This peripheral requires supervisor privilege level for accesses.
3970 */
3971 /*@{*/
3972 #define BP_AIPS_PACRE_SP4 (14U) /*!< Bit position for AIPS_PACRE_SP4. */
3973 #define BM_AIPS_PACRE_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRE_SP4. */
3974 #define BS_AIPS_PACRE_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP4. */
3975
3976 /*! @brief Read current value of the AIPS_PACRE_SP4 field. */
3977 #define BR_AIPS_PACRE_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP4))
3978
3979 /*! @brief Format value for bitfield AIPS_PACRE_SP4. */
3980 #define BF_AIPS_PACRE_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP4) & BM_AIPS_PACRE_SP4)
3981
3982 /*! @brief Set the SP4 field to a new value. */
3983 #define BW_AIPS_PACRE_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP4) = (v))
3984 /*@}*/
3985
3986 /*!
3987 * @name Register AIPS_PACRE, field TP3[16] (RW)
3988 *
3989 * Determines whether the peripheral allows accesses from an untrusted master.
3990 * When this field is set and an access is attempted by an untrusted master, the
3991 * access terminates with an error response and no peripheral access initiates.
3992 *
3993 * Values:
3994 * - 0 - Accesses from an untrusted master are allowed.
3995 * - 1 - Accesses from an untrusted master are not allowed.
3996 */
3997 /*@{*/
3998 #define BP_AIPS_PACRE_TP3 (16U) /*!< Bit position for AIPS_PACRE_TP3. */
3999 #define BM_AIPS_PACRE_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRE_TP3. */
4000 #define BS_AIPS_PACRE_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP3. */
4001
4002 /*! @brief Read current value of the AIPS_PACRE_TP3 field. */
4003 #define BR_AIPS_PACRE_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP3))
4004
4005 /*! @brief Format value for bitfield AIPS_PACRE_TP3. */
4006 #define BF_AIPS_PACRE_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP3) & BM_AIPS_PACRE_TP3)
4007
4008 /*! @brief Set the TP3 field to a new value. */
4009 #define BW_AIPS_PACRE_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP3) = (v))
4010 /*@}*/
4011
4012 /*!
4013 * @name Register AIPS_PACRE, field WP3[17] (RW)
4014 *
4015 * Determines whether the peripheral allows write accesss. When this bit is set
4016 * and a write access is attempted, access terminates with an error response and
4017 * no peripheral access initiates.
4018 *
4019 * Values:
4020 * - 0 - This peripheral allows write accesses.
4021 * - 1 - This peripheral is write protected.
4022 */
4023 /*@{*/
4024 #define BP_AIPS_PACRE_WP3 (17U) /*!< Bit position for AIPS_PACRE_WP3. */
4025 #define BM_AIPS_PACRE_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRE_WP3. */
4026 #define BS_AIPS_PACRE_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP3. */
4027
4028 /*! @brief Read current value of the AIPS_PACRE_WP3 field. */
4029 #define BR_AIPS_PACRE_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP3))
4030
4031 /*! @brief Format value for bitfield AIPS_PACRE_WP3. */
4032 #define BF_AIPS_PACRE_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP3) & BM_AIPS_PACRE_WP3)
4033
4034 /*! @brief Set the WP3 field to a new value. */
4035 #define BW_AIPS_PACRE_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP3) = (v))
4036 /*@}*/
4037
4038 /*!
4039 * @name Register AIPS_PACRE, field SP3[18] (RW)
4040 *
4041 * Determines whether the peripheral requires supervisor privilege level for
4042 * accesses. When this field is set, the master privilege level must indicate the
4043 * supervisor access attribute, and the MPRx[MPLn] control field for the master
4044 * must be set. If not, access terminates with an error response and no peripheral
4045 * access initiates.
4046 *
4047 * Values:
4048 * - 0 - This peripheral does not require supervisor privilege level for
4049 * accesses.
4050 * - 1 - This peripheral requires supervisor privilege level for accesses.
4051 */
4052 /*@{*/
4053 #define BP_AIPS_PACRE_SP3 (18U) /*!< Bit position for AIPS_PACRE_SP3. */
4054 #define BM_AIPS_PACRE_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRE_SP3. */
4055 #define BS_AIPS_PACRE_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP3. */
4056
4057 /*! @brief Read current value of the AIPS_PACRE_SP3 field. */
4058 #define BR_AIPS_PACRE_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP3))
4059
4060 /*! @brief Format value for bitfield AIPS_PACRE_SP3. */
4061 #define BF_AIPS_PACRE_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP3) & BM_AIPS_PACRE_SP3)
4062
4063 /*! @brief Set the SP3 field to a new value. */
4064 #define BW_AIPS_PACRE_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP3) = (v))
4065 /*@}*/
4066
4067 /*!
4068 * @name Register AIPS_PACRE, field TP2[20] (RW)
4069 *
4070 * Determines whether the peripheral allows accesses from an untrusted master.
4071 * When this bit is set and an access is attempted by an untrusted master, the
4072 * access terminates with an error response and no peripheral access initiates.
4073 *
4074 * Values:
4075 * - 0 - Accesses from an untrusted master are allowed.
4076 * - 1 - Accesses from an untrusted master are not allowed.
4077 */
4078 /*@{*/
4079 #define BP_AIPS_PACRE_TP2 (20U) /*!< Bit position for AIPS_PACRE_TP2. */
4080 #define BM_AIPS_PACRE_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRE_TP2. */
4081 #define BS_AIPS_PACRE_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP2. */
4082
4083 /*! @brief Read current value of the AIPS_PACRE_TP2 field. */
4084 #define BR_AIPS_PACRE_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP2))
4085
4086 /*! @brief Format value for bitfield AIPS_PACRE_TP2. */
4087 #define BF_AIPS_PACRE_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP2) & BM_AIPS_PACRE_TP2)
4088
4089 /*! @brief Set the TP2 field to a new value. */
4090 #define BW_AIPS_PACRE_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP2) = (v))
4091 /*@}*/
4092
4093 /*!
4094 * @name Register AIPS_PACRE, field WP2[21] (RW)
4095 *
4096 * Determines whether the peripheral allows write accesses. When this field is
4097 * set and a write access is attempted, access terminates with an error response
4098 * and no peripheral access initiates.
4099 *
4100 * Values:
4101 * - 0 - This peripheral allows write accesses.
4102 * - 1 - This peripheral is write protected.
4103 */
4104 /*@{*/
4105 #define BP_AIPS_PACRE_WP2 (21U) /*!< Bit position for AIPS_PACRE_WP2. */
4106 #define BM_AIPS_PACRE_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRE_WP2. */
4107 #define BS_AIPS_PACRE_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP2. */
4108
4109 /*! @brief Read current value of the AIPS_PACRE_WP2 field. */
4110 #define BR_AIPS_PACRE_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP2))
4111
4112 /*! @brief Format value for bitfield AIPS_PACRE_WP2. */
4113 #define BF_AIPS_PACRE_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP2) & BM_AIPS_PACRE_WP2)
4114
4115 /*! @brief Set the WP2 field to a new value. */
4116 #define BW_AIPS_PACRE_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP2) = (v))
4117 /*@}*/
4118
4119 /*!
4120 * @name Register AIPS_PACRE, field SP2[22] (RW)
4121 *
4122 * Determines whether the peripheral requires supervisor privilege level for
4123 * access. When this bit is set, the master privilege level must indicate the
4124 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
4125 * set. If not, access terminates with an error response and no peripheral access
4126 * initiates.
4127 *
4128 * Values:
4129 * - 0 - This peripheral does not require supervisor privilege level for
4130 * accesses.
4131 * - 1 - This peripheral requires supervisor privilege level for accesses.
4132 */
4133 /*@{*/
4134 #define BP_AIPS_PACRE_SP2 (22U) /*!< Bit position for AIPS_PACRE_SP2. */
4135 #define BM_AIPS_PACRE_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRE_SP2. */
4136 #define BS_AIPS_PACRE_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP2. */
4137
4138 /*! @brief Read current value of the AIPS_PACRE_SP2 field. */
4139 #define BR_AIPS_PACRE_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP2))
4140
4141 /*! @brief Format value for bitfield AIPS_PACRE_SP2. */
4142 #define BF_AIPS_PACRE_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP2) & BM_AIPS_PACRE_SP2)
4143
4144 /*! @brief Set the SP2 field to a new value. */
4145 #define BW_AIPS_PACRE_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP2) = (v))
4146 /*@}*/
4147
4148 /*!
4149 * @name Register AIPS_PACRE, field TP1[24] (RW)
4150 *
4151 * Determines whether the peripheral allows accesses from an untrusted master.
4152 * When this field is set and an access is attempted by an untrusted master, the
4153 * access terminates with an error response and no peripheral access initiates.
4154 *
4155 * Values:
4156 * - 0 - Accesses from an untrusted master are allowed.
4157 * - 1 - Accesses from an untrusted master are not allowed.
4158 */
4159 /*@{*/
4160 #define BP_AIPS_PACRE_TP1 (24U) /*!< Bit position for AIPS_PACRE_TP1. */
4161 #define BM_AIPS_PACRE_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRE_TP1. */
4162 #define BS_AIPS_PACRE_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP1. */
4163
4164 /*! @brief Read current value of the AIPS_PACRE_TP1 field. */
4165 #define BR_AIPS_PACRE_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP1))
4166
4167 /*! @brief Format value for bitfield AIPS_PACRE_TP1. */
4168 #define BF_AIPS_PACRE_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP1) & BM_AIPS_PACRE_TP1)
4169
4170 /*! @brief Set the TP1 field to a new value. */
4171 #define BW_AIPS_PACRE_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP1) = (v))
4172 /*@}*/
4173
4174 /*!
4175 * @name Register AIPS_PACRE, field WP1[25] (RW)
4176 *
4177 * Determines whether the peripheral allows write accesses. When this field is
4178 * set and a write access is attempted, access terminates with an error response
4179 * and no peripheral access initiates.
4180 *
4181 * Values:
4182 * - 0 - This peripheral allows write accesses.
4183 * - 1 - This peripheral is write protected.
4184 */
4185 /*@{*/
4186 #define BP_AIPS_PACRE_WP1 (25U) /*!< Bit position for AIPS_PACRE_WP1. */
4187 #define BM_AIPS_PACRE_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRE_WP1. */
4188 #define BS_AIPS_PACRE_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP1. */
4189
4190 /*! @brief Read current value of the AIPS_PACRE_WP1 field. */
4191 #define BR_AIPS_PACRE_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP1))
4192
4193 /*! @brief Format value for bitfield AIPS_PACRE_WP1. */
4194 #define BF_AIPS_PACRE_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP1) & BM_AIPS_PACRE_WP1)
4195
4196 /*! @brief Set the WP1 field to a new value. */
4197 #define BW_AIPS_PACRE_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP1) = (v))
4198 /*@}*/
4199
4200 /*!
4201 * @name Register AIPS_PACRE, field SP1[26] (RW)
4202 *
4203 * Determines whether the peripheral requires supervisor privilege level for
4204 * access. When this field is set, the master privilege level must indicate the
4205 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
4206 * be set. If not, access terminates with an error response and no peripheral
4207 * access initiates.
4208 *
4209 * Values:
4210 * - 0 - This peripheral does not require supervisor privilege level for
4211 * accesses.
4212 * - 1 - This peripheral requires supervisor privilege level for accesses.
4213 */
4214 /*@{*/
4215 #define BP_AIPS_PACRE_SP1 (26U) /*!< Bit position for AIPS_PACRE_SP1. */
4216 #define BM_AIPS_PACRE_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRE_SP1. */
4217 #define BS_AIPS_PACRE_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP1. */
4218
4219 /*! @brief Read current value of the AIPS_PACRE_SP1 field. */
4220 #define BR_AIPS_PACRE_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP1))
4221
4222 /*! @brief Format value for bitfield AIPS_PACRE_SP1. */
4223 #define BF_AIPS_PACRE_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP1) & BM_AIPS_PACRE_SP1)
4224
4225 /*! @brief Set the SP1 field to a new value. */
4226 #define BW_AIPS_PACRE_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP1) = (v))
4227 /*@}*/
4228
4229 /*!
4230 * @name Register AIPS_PACRE, field TP0[28] (RW)
4231 *
4232 * Determines whether the peripheral allows accesses from an untrusted master.
4233 * When this bit is set and an access is attempted by an untrusted master, the
4234 * access terminates with an error response and no peripheral access initiates.
4235 *
4236 * Values:
4237 * - 0 - Accesses from an untrusted master are allowed.
4238 * - 1 - Accesses from an untrusted master are not allowed.
4239 */
4240 /*@{*/
4241 #define BP_AIPS_PACRE_TP0 (28U) /*!< Bit position for AIPS_PACRE_TP0. */
4242 #define BM_AIPS_PACRE_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRE_TP0. */
4243 #define BS_AIPS_PACRE_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRE_TP0. */
4244
4245 /*! @brief Read current value of the AIPS_PACRE_TP0 field. */
4246 #define BR_AIPS_PACRE_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP0))
4247
4248 /*! @brief Format value for bitfield AIPS_PACRE_TP0. */
4249 #define BF_AIPS_PACRE_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_TP0) & BM_AIPS_PACRE_TP0)
4250
4251 /*! @brief Set the TP0 field to a new value. */
4252 #define BW_AIPS_PACRE_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_TP0) = (v))
4253 /*@}*/
4254
4255 /*!
4256 * @name Register AIPS_PACRE, field WP0[29] (RW)
4257 *
4258 * Determines whether the peripheral allows write accesses. When this field is
4259 * set and a write access is attempted, access terminates with an error response
4260 * and no peripheral access initiates.
4261 *
4262 * Values:
4263 * - 0 - This peripheral allows write accesses.
4264 * - 1 - This peripheral is write protected.
4265 */
4266 /*@{*/
4267 #define BP_AIPS_PACRE_WP0 (29U) /*!< Bit position for AIPS_PACRE_WP0. */
4268 #define BM_AIPS_PACRE_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRE_WP0. */
4269 #define BS_AIPS_PACRE_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRE_WP0. */
4270
4271 /*! @brief Read current value of the AIPS_PACRE_WP0 field. */
4272 #define BR_AIPS_PACRE_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP0))
4273
4274 /*! @brief Format value for bitfield AIPS_PACRE_WP0. */
4275 #define BF_AIPS_PACRE_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_WP0) & BM_AIPS_PACRE_WP0)
4276
4277 /*! @brief Set the WP0 field to a new value. */
4278 #define BW_AIPS_PACRE_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_WP0) = (v))
4279 /*@}*/
4280
4281 /*!
4282 * @name Register AIPS_PACRE, field SP0[30] (RW)
4283 *
4284 * Determines whether the peripheral requires supervisor privilege level for
4285 * accesses. When this field is set, the master privilege level must indicate the
4286 * supervisor access attribute, and the MPRx[MPLn] control field for the master
4287 * must be set. If not, access terminates with an error response and no peripheral
4288 * access initiates.
4289 *
4290 * Values:
4291 * - 0 - This peripheral does not require supervisor privilege level for
4292 * accesses.
4293 * - 1 - This peripheral requires supervisor privilege level for accesses.
4294 */
4295 /*@{*/
4296 #define BP_AIPS_PACRE_SP0 (30U) /*!< Bit position for AIPS_PACRE_SP0. */
4297 #define BM_AIPS_PACRE_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRE_SP0. */
4298 #define BS_AIPS_PACRE_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRE_SP0. */
4299
4300 /*! @brief Read current value of the AIPS_PACRE_SP0 field. */
4301 #define BR_AIPS_PACRE_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP0))
4302
4303 /*! @brief Format value for bitfield AIPS_PACRE_SP0. */
4304 #define BF_AIPS_PACRE_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRE_SP0) & BM_AIPS_PACRE_SP0)
4305
4306 /*! @brief Set the SP0 field to a new value. */
4307 #define BW_AIPS_PACRE_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRE_ADDR(x), BP_AIPS_PACRE_SP0) = (v))
4308 /*@}*/
4309
4310 /*******************************************************************************
4311 * HW_AIPS_PACRF - Peripheral Access Control Register
4312 ******************************************************************************/
4313
4314 /*!
4315 * @brief HW_AIPS_PACRF - Peripheral Access Control Register (RW)
4316 *
4317 * Reset value: 0x44444444U
4318 *
4319 * This section describes PACR registers E-P, which control peripheral slots
4320 * 32-127. See PACRPeripheral Access Control Register for the description of these
4321 * registers.
4322 */
4323 typedef union _hw_aips_pacrf
4324 {
4325 uint32_t U;
4326 struct _hw_aips_pacrf_bitfields
4327 {
4328 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
4329 uint32_t WP7 : 1; /*!< [1] Write Protect */
4330 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
4331 uint32_t RESERVED0 : 1; /*!< [3] */
4332 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
4333 uint32_t WP6 : 1; /*!< [5] Write Protect */
4334 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
4335 uint32_t RESERVED1 : 1; /*!< [7] */
4336 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
4337 uint32_t WP5 : 1; /*!< [9] Write Protect */
4338 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
4339 uint32_t RESERVED2 : 1; /*!< [11] */
4340 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
4341 uint32_t WP4 : 1; /*!< [13] Write Protect */
4342 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
4343 uint32_t RESERVED3 : 1; /*!< [15] */
4344 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
4345 uint32_t WP3 : 1; /*!< [17] Write Protect */
4346 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
4347 uint32_t RESERVED4 : 1; /*!< [19] */
4348 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
4349 uint32_t WP2 : 1; /*!< [21] Write Protect */
4350 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
4351 uint32_t RESERVED5 : 1; /*!< [23] */
4352 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
4353 uint32_t WP1 : 1; /*!< [25] Write Protect */
4354 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
4355 uint32_t RESERVED6 : 1; /*!< [27] */
4356 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
4357 uint32_t WP0 : 1; /*!< [29] Write Protect */
4358 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
4359 uint32_t RESERVED7 : 1; /*!< [31] */
4360 } B;
4361 } hw_aips_pacrf_t;
4362
4363 /*!
4364 * @name Constants and macros for entire AIPS_PACRF register
4365 */
4366 /*@{*/
4367 #define HW_AIPS_PACRF_ADDR(x) ((x) + 0x44U)
4368
4369 #define HW_AIPS_PACRF(x) (*(__IO hw_aips_pacrf_t *) HW_AIPS_PACRF_ADDR(x))
4370 #define HW_AIPS_PACRF_RD(x) (HW_AIPS_PACRF(x).U)
4371 #define HW_AIPS_PACRF_WR(x, v) (HW_AIPS_PACRF(x).U = (v))
4372 #define HW_AIPS_PACRF_SET(x, v) (HW_AIPS_PACRF_WR(x, HW_AIPS_PACRF_RD(x) | (v)))
4373 #define HW_AIPS_PACRF_CLR(x, v) (HW_AIPS_PACRF_WR(x, HW_AIPS_PACRF_RD(x) & ~(v)))
4374 #define HW_AIPS_PACRF_TOG(x, v) (HW_AIPS_PACRF_WR(x, HW_AIPS_PACRF_RD(x) ^ (v)))
4375 /*@}*/
4376
4377 /*
4378 * Constants & macros for individual AIPS_PACRF bitfields
4379 */
4380
4381 /*!
4382 * @name Register AIPS_PACRF, field TP7[0] (RW)
4383 *
4384 * Determines whether the peripheral allows accesses from an untrusted master.
4385 * When this field is set and an access is attempted by an untrusted master, the
4386 * access terminates with an error response and no peripheral access initiates.
4387 *
4388 * Values:
4389 * - 0 - Accesses from an untrusted master are allowed.
4390 * - 1 - Accesses from an untrusted master are not allowed.
4391 */
4392 /*@{*/
4393 #define BP_AIPS_PACRF_TP7 (0U) /*!< Bit position for AIPS_PACRF_TP7. */
4394 #define BM_AIPS_PACRF_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRF_TP7. */
4395 #define BS_AIPS_PACRF_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP7. */
4396
4397 /*! @brief Read current value of the AIPS_PACRF_TP7 field. */
4398 #define BR_AIPS_PACRF_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP7))
4399
4400 /*! @brief Format value for bitfield AIPS_PACRF_TP7. */
4401 #define BF_AIPS_PACRF_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP7) & BM_AIPS_PACRF_TP7)
4402
4403 /*! @brief Set the TP7 field to a new value. */
4404 #define BW_AIPS_PACRF_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP7) = (v))
4405 /*@}*/
4406
4407 /*!
4408 * @name Register AIPS_PACRF, field WP7[1] (RW)
4409 *
4410 * Determines whether the peripheral allows write accesses. When this field is
4411 * set and a write access is attempted, access terminates with an error response
4412 * and no peripheral access initiates.
4413 *
4414 * Values:
4415 * - 0 - This peripheral allows write accesses.
4416 * - 1 - This peripheral is write protected.
4417 */
4418 /*@{*/
4419 #define BP_AIPS_PACRF_WP7 (1U) /*!< Bit position for AIPS_PACRF_WP7. */
4420 #define BM_AIPS_PACRF_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRF_WP7. */
4421 #define BS_AIPS_PACRF_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP7. */
4422
4423 /*! @brief Read current value of the AIPS_PACRF_WP7 field. */
4424 #define BR_AIPS_PACRF_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP7))
4425
4426 /*! @brief Format value for bitfield AIPS_PACRF_WP7. */
4427 #define BF_AIPS_PACRF_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP7) & BM_AIPS_PACRF_WP7)
4428
4429 /*! @brief Set the WP7 field to a new value. */
4430 #define BW_AIPS_PACRF_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP7) = (v))
4431 /*@}*/
4432
4433 /*!
4434 * @name Register AIPS_PACRF, field SP7[2] (RW)
4435 *
4436 * Determines whether the peripheral requires supervisor privilege level for
4437 * accesses. When this field is set, the master privilege level must indicate the
4438 * supervisor access attribute, and the MPRx[MPLn] control field for the master
4439 * must be set. If not, access terminates with an error response and no peripheral
4440 * access initiates.
4441 *
4442 * Values:
4443 * - 0 - This peripheral does not require supervisor privilege level for
4444 * accesses.
4445 * - 1 - This peripheral requires supervisor privilege level for accesses.
4446 */
4447 /*@{*/
4448 #define BP_AIPS_PACRF_SP7 (2U) /*!< Bit position for AIPS_PACRF_SP7. */
4449 #define BM_AIPS_PACRF_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRF_SP7. */
4450 #define BS_AIPS_PACRF_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP7. */
4451
4452 /*! @brief Read current value of the AIPS_PACRF_SP7 field. */
4453 #define BR_AIPS_PACRF_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP7))
4454
4455 /*! @brief Format value for bitfield AIPS_PACRF_SP7. */
4456 #define BF_AIPS_PACRF_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP7) & BM_AIPS_PACRF_SP7)
4457
4458 /*! @brief Set the SP7 field to a new value. */
4459 #define BW_AIPS_PACRF_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP7) = (v))
4460 /*@}*/
4461
4462 /*!
4463 * @name Register AIPS_PACRF, field TP6[4] (RW)
4464 *
4465 * Determines whether the peripheral allows accesses from an untrusted master.
4466 * When this field is set and an access is attempted by an untrusted master, the
4467 * access terminates with an error response and no peripheral access initiates.
4468 *
4469 * Values:
4470 * - 0 - Accesses from an untrusted master are allowed.
4471 * - 1 - Accesses from an untrusted master are not allowed.
4472 */
4473 /*@{*/
4474 #define BP_AIPS_PACRF_TP6 (4U) /*!< Bit position for AIPS_PACRF_TP6. */
4475 #define BM_AIPS_PACRF_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRF_TP6. */
4476 #define BS_AIPS_PACRF_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP6. */
4477
4478 /*! @brief Read current value of the AIPS_PACRF_TP6 field. */
4479 #define BR_AIPS_PACRF_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP6))
4480
4481 /*! @brief Format value for bitfield AIPS_PACRF_TP6. */
4482 #define BF_AIPS_PACRF_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP6) & BM_AIPS_PACRF_TP6)
4483
4484 /*! @brief Set the TP6 field to a new value. */
4485 #define BW_AIPS_PACRF_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP6) = (v))
4486 /*@}*/
4487
4488 /*!
4489 * @name Register AIPS_PACRF, field WP6[5] (RW)
4490 *
4491 * Determines whether the peripheral allows write accesses. When this field is
4492 * set and a write access is attempted, access terminates with an error response
4493 * and no peripheral access initiates.
4494 *
4495 * Values:
4496 * - 0 - This peripheral allows write accesses.
4497 * - 1 - This peripheral is write protected.
4498 */
4499 /*@{*/
4500 #define BP_AIPS_PACRF_WP6 (5U) /*!< Bit position for AIPS_PACRF_WP6. */
4501 #define BM_AIPS_PACRF_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRF_WP6. */
4502 #define BS_AIPS_PACRF_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP6. */
4503
4504 /*! @brief Read current value of the AIPS_PACRF_WP6 field. */
4505 #define BR_AIPS_PACRF_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP6))
4506
4507 /*! @brief Format value for bitfield AIPS_PACRF_WP6. */
4508 #define BF_AIPS_PACRF_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP6) & BM_AIPS_PACRF_WP6)
4509
4510 /*! @brief Set the WP6 field to a new value. */
4511 #define BW_AIPS_PACRF_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP6) = (v))
4512 /*@}*/
4513
4514 /*!
4515 * @name Register AIPS_PACRF, field SP6[6] (RW)
4516 *
4517 * Determines whether the peripheral requires supervisor privilege level for
4518 * accesses. When this field is set, the master privilege level must indicate the
4519 * supervisor access attribute, and the MPRx[MPLn] control field for the master
4520 * must be set. If not, access terminates with an error response and no peripheral
4521 * access initiates.
4522 *
4523 * Values:
4524 * - 0 - This peripheral does not require supervisor privilege level for
4525 * accesses.
4526 * - 1 - This peripheral requires supervisor privilege level for accesses.
4527 */
4528 /*@{*/
4529 #define BP_AIPS_PACRF_SP6 (6U) /*!< Bit position for AIPS_PACRF_SP6. */
4530 #define BM_AIPS_PACRF_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRF_SP6. */
4531 #define BS_AIPS_PACRF_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP6. */
4532
4533 /*! @brief Read current value of the AIPS_PACRF_SP6 field. */
4534 #define BR_AIPS_PACRF_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP6))
4535
4536 /*! @brief Format value for bitfield AIPS_PACRF_SP6. */
4537 #define BF_AIPS_PACRF_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP6) & BM_AIPS_PACRF_SP6)
4538
4539 /*! @brief Set the SP6 field to a new value. */
4540 #define BW_AIPS_PACRF_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP6) = (v))
4541 /*@}*/
4542
4543 /*!
4544 * @name Register AIPS_PACRF, field TP5[8] (RW)
4545 *
4546 * Determines whether the peripheral allows accesses from an untrusted master.
4547 * When this field is set and an access is attempted by an untrusted master, the
4548 * access terminates with an error response and no peripheral access initiates.
4549 *
4550 * Values:
4551 * - 0 - Accesses from an untrusted master are allowed.
4552 * - 1 - Accesses from an untrusted master are not allowed.
4553 */
4554 /*@{*/
4555 #define BP_AIPS_PACRF_TP5 (8U) /*!< Bit position for AIPS_PACRF_TP5. */
4556 #define BM_AIPS_PACRF_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRF_TP5. */
4557 #define BS_AIPS_PACRF_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP5. */
4558
4559 /*! @brief Read current value of the AIPS_PACRF_TP5 field. */
4560 #define BR_AIPS_PACRF_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP5))
4561
4562 /*! @brief Format value for bitfield AIPS_PACRF_TP5. */
4563 #define BF_AIPS_PACRF_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP5) & BM_AIPS_PACRF_TP5)
4564
4565 /*! @brief Set the TP5 field to a new value. */
4566 #define BW_AIPS_PACRF_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP5) = (v))
4567 /*@}*/
4568
4569 /*!
4570 * @name Register AIPS_PACRF, field WP5[9] (RW)
4571 *
4572 * Determines whether the peripheral allows write accesses. When this field is
4573 * set and a write access is attempted, access terminates with an error response
4574 * and no peripheral access initiates.
4575 *
4576 * Values:
4577 * - 0 - This peripheral allows write accesses.
4578 * - 1 - This peripheral is write protected.
4579 */
4580 /*@{*/
4581 #define BP_AIPS_PACRF_WP5 (9U) /*!< Bit position for AIPS_PACRF_WP5. */
4582 #define BM_AIPS_PACRF_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRF_WP5. */
4583 #define BS_AIPS_PACRF_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP5. */
4584
4585 /*! @brief Read current value of the AIPS_PACRF_WP5 field. */
4586 #define BR_AIPS_PACRF_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP5))
4587
4588 /*! @brief Format value for bitfield AIPS_PACRF_WP5. */
4589 #define BF_AIPS_PACRF_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP5) & BM_AIPS_PACRF_WP5)
4590
4591 /*! @brief Set the WP5 field to a new value. */
4592 #define BW_AIPS_PACRF_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP5) = (v))
4593 /*@}*/
4594
4595 /*!
4596 * @name Register AIPS_PACRF, field SP5[10] (RW)
4597 *
4598 * Determines whether the peripheral requires supervisor privilege level for
4599 * accesses. When this field is set, the master privilege level must indicate the
4600 * supervisor access attribute, and the MPRx[MPLn] control field for the master
4601 * must be set. If not, access terminates with an error response and no peripheral
4602 * access initiates.
4603 *
4604 * Values:
4605 * - 0 - This peripheral does not require supervisor privilege level for
4606 * accesses.
4607 * - 1 - This peripheral requires supervisor privilege level for accesses.
4608 */
4609 /*@{*/
4610 #define BP_AIPS_PACRF_SP5 (10U) /*!< Bit position for AIPS_PACRF_SP5. */
4611 #define BM_AIPS_PACRF_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRF_SP5. */
4612 #define BS_AIPS_PACRF_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP5. */
4613
4614 /*! @brief Read current value of the AIPS_PACRF_SP5 field. */
4615 #define BR_AIPS_PACRF_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP5))
4616
4617 /*! @brief Format value for bitfield AIPS_PACRF_SP5. */
4618 #define BF_AIPS_PACRF_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP5) & BM_AIPS_PACRF_SP5)
4619
4620 /*! @brief Set the SP5 field to a new value. */
4621 #define BW_AIPS_PACRF_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP5) = (v))
4622 /*@}*/
4623
4624 /*!
4625 * @name Register AIPS_PACRF, field TP4[12] (RW)
4626 *
4627 * Determines whether the peripheral allows accesses from an untrusted master.
4628 * When this bit is set and an access is attempted by an untrusted master, the
4629 * access terminates with an error response and no peripheral access initiates.
4630 *
4631 * Values:
4632 * - 0 - Accesses from an untrusted master are allowed.
4633 * - 1 - Accesses from an untrusted master are not allowed.
4634 */
4635 /*@{*/
4636 #define BP_AIPS_PACRF_TP4 (12U) /*!< Bit position for AIPS_PACRF_TP4. */
4637 #define BM_AIPS_PACRF_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRF_TP4. */
4638 #define BS_AIPS_PACRF_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP4. */
4639
4640 /*! @brief Read current value of the AIPS_PACRF_TP4 field. */
4641 #define BR_AIPS_PACRF_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP4))
4642
4643 /*! @brief Format value for bitfield AIPS_PACRF_TP4. */
4644 #define BF_AIPS_PACRF_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP4) & BM_AIPS_PACRF_TP4)
4645
4646 /*! @brief Set the TP4 field to a new value. */
4647 #define BW_AIPS_PACRF_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP4) = (v))
4648 /*@}*/
4649
4650 /*!
4651 * @name Register AIPS_PACRF, field WP4[13] (RW)
4652 *
4653 * Determines whether the peripheral allows write accesses. When this field is
4654 * set and a write access is attempted, access terminates with an error response
4655 * and no peripheral access initiates.
4656 *
4657 * Values:
4658 * - 0 - This peripheral allows write accesses.
4659 * - 1 - This peripheral is write protected.
4660 */
4661 /*@{*/
4662 #define BP_AIPS_PACRF_WP4 (13U) /*!< Bit position for AIPS_PACRF_WP4. */
4663 #define BM_AIPS_PACRF_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRF_WP4. */
4664 #define BS_AIPS_PACRF_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP4. */
4665
4666 /*! @brief Read current value of the AIPS_PACRF_WP4 field. */
4667 #define BR_AIPS_PACRF_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP4))
4668
4669 /*! @brief Format value for bitfield AIPS_PACRF_WP4. */
4670 #define BF_AIPS_PACRF_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP4) & BM_AIPS_PACRF_WP4)
4671
4672 /*! @brief Set the WP4 field to a new value. */
4673 #define BW_AIPS_PACRF_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP4) = (v))
4674 /*@}*/
4675
4676 /*!
4677 * @name Register AIPS_PACRF, field SP4[14] (RW)
4678 *
4679 * Determines whether the peripheral requires supervisor privilege level for
4680 * access. When this bit is set, the master privilege level must indicate the
4681 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
4682 * set. If not, access terminates with an error response and no peripheral access
4683 * initiates.
4684 *
4685 * Values:
4686 * - 0 - This peripheral does not require supervisor privilege level for
4687 * accesses.
4688 * - 1 - This peripheral requires supervisor privilege level for accesses.
4689 */
4690 /*@{*/
4691 #define BP_AIPS_PACRF_SP4 (14U) /*!< Bit position for AIPS_PACRF_SP4. */
4692 #define BM_AIPS_PACRF_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRF_SP4. */
4693 #define BS_AIPS_PACRF_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP4. */
4694
4695 /*! @brief Read current value of the AIPS_PACRF_SP4 field. */
4696 #define BR_AIPS_PACRF_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP4))
4697
4698 /*! @brief Format value for bitfield AIPS_PACRF_SP4. */
4699 #define BF_AIPS_PACRF_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP4) & BM_AIPS_PACRF_SP4)
4700
4701 /*! @brief Set the SP4 field to a new value. */
4702 #define BW_AIPS_PACRF_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP4) = (v))
4703 /*@}*/
4704
4705 /*!
4706 * @name Register AIPS_PACRF, field TP3[16] (RW)
4707 *
4708 * Determines whether the peripheral allows accesses from an untrusted master.
4709 * When this field is set and an access is attempted by an untrusted master, the
4710 * access terminates with an error response and no peripheral access initiates.
4711 *
4712 * Values:
4713 * - 0 - Accesses from an untrusted master are allowed.
4714 * - 1 - Accesses from an untrusted master are not allowed.
4715 */
4716 /*@{*/
4717 #define BP_AIPS_PACRF_TP3 (16U) /*!< Bit position for AIPS_PACRF_TP3. */
4718 #define BM_AIPS_PACRF_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRF_TP3. */
4719 #define BS_AIPS_PACRF_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP3. */
4720
4721 /*! @brief Read current value of the AIPS_PACRF_TP3 field. */
4722 #define BR_AIPS_PACRF_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP3))
4723
4724 /*! @brief Format value for bitfield AIPS_PACRF_TP3. */
4725 #define BF_AIPS_PACRF_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP3) & BM_AIPS_PACRF_TP3)
4726
4727 /*! @brief Set the TP3 field to a new value. */
4728 #define BW_AIPS_PACRF_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP3) = (v))
4729 /*@}*/
4730
4731 /*!
4732 * @name Register AIPS_PACRF, field WP3[17] (RW)
4733 *
4734 * Determines whether the peripheral allows write accesss. When this bit is set
4735 * and a write access is attempted, access terminates with an error response and
4736 * no peripheral access initiates.
4737 *
4738 * Values:
4739 * - 0 - This peripheral allows write accesses.
4740 * - 1 - This peripheral is write protected.
4741 */
4742 /*@{*/
4743 #define BP_AIPS_PACRF_WP3 (17U) /*!< Bit position for AIPS_PACRF_WP3. */
4744 #define BM_AIPS_PACRF_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRF_WP3. */
4745 #define BS_AIPS_PACRF_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP3. */
4746
4747 /*! @brief Read current value of the AIPS_PACRF_WP3 field. */
4748 #define BR_AIPS_PACRF_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP3))
4749
4750 /*! @brief Format value for bitfield AIPS_PACRF_WP3. */
4751 #define BF_AIPS_PACRF_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP3) & BM_AIPS_PACRF_WP3)
4752
4753 /*! @brief Set the WP3 field to a new value. */
4754 #define BW_AIPS_PACRF_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP3) = (v))
4755 /*@}*/
4756
4757 /*!
4758 * @name Register AIPS_PACRF, field SP3[18] (RW)
4759 *
4760 * Determines whether the peripheral requires supervisor privilege level for
4761 * accesses. When this field is set, the master privilege level must indicate the
4762 * supervisor access attribute, and the MPRx[MPLn] control field for the master
4763 * must be set. If not, access terminates with an error response and no peripheral
4764 * access initiates.
4765 *
4766 * Values:
4767 * - 0 - This peripheral does not require supervisor privilege level for
4768 * accesses.
4769 * - 1 - This peripheral requires supervisor privilege level for accesses.
4770 */
4771 /*@{*/
4772 #define BP_AIPS_PACRF_SP3 (18U) /*!< Bit position for AIPS_PACRF_SP3. */
4773 #define BM_AIPS_PACRF_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRF_SP3. */
4774 #define BS_AIPS_PACRF_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP3. */
4775
4776 /*! @brief Read current value of the AIPS_PACRF_SP3 field. */
4777 #define BR_AIPS_PACRF_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP3))
4778
4779 /*! @brief Format value for bitfield AIPS_PACRF_SP3. */
4780 #define BF_AIPS_PACRF_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP3) & BM_AIPS_PACRF_SP3)
4781
4782 /*! @brief Set the SP3 field to a new value. */
4783 #define BW_AIPS_PACRF_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP3) = (v))
4784 /*@}*/
4785
4786 /*!
4787 * @name Register AIPS_PACRF, field TP2[20] (RW)
4788 *
4789 * Determines whether the peripheral allows accesses from an untrusted master.
4790 * When this bit is set and an access is attempted by an untrusted master, the
4791 * access terminates with an error response and no peripheral access initiates.
4792 *
4793 * Values:
4794 * - 0 - Accesses from an untrusted master are allowed.
4795 * - 1 - Accesses from an untrusted master are not allowed.
4796 */
4797 /*@{*/
4798 #define BP_AIPS_PACRF_TP2 (20U) /*!< Bit position for AIPS_PACRF_TP2. */
4799 #define BM_AIPS_PACRF_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRF_TP2. */
4800 #define BS_AIPS_PACRF_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP2. */
4801
4802 /*! @brief Read current value of the AIPS_PACRF_TP2 field. */
4803 #define BR_AIPS_PACRF_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP2))
4804
4805 /*! @brief Format value for bitfield AIPS_PACRF_TP2. */
4806 #define BF_AIPS_PACRF_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP2) & BM_AIPS_PACRF_TP2)
4807
4808 /*! @brief Set the TP2 field to a new value. */
4809 #define BW_AIPS_PACRF_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP2) = (v))
4810 /*@}*/
4811
4812 /*!
4813 * @name Register AIPS_PACRF, field WP2[21] (RW)
4814 *
4815 * Determines whether the peripheral allows write accesses. When this field is
4816 * set and a write access is attempted, access terminates with an error response
4817 * and no peripheral access initiates.
4818 *
4819 * Values:
4820 * - 0 - This peripheral allows write accesses.
4821 * - 1 - This peripheral is write protected.
4822 */
4823 /*@{*/
4824 #define BP_AIPS_PACRF_WP2 (21U) /*!< Bit position for AIPS_PACRF_WP2. */
4825 #define BM_AIPS_PACRF_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRF_WP2. */
4826 #define BS_AIPS_PACRF_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP2. */
4827
4828 /*! @brief Read current value of the AIPS_PACRF_WP2 field. */
4829 #define BR_AIPS_PACRF_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP2))
4830
4831 /*! @brief Format value for bitfield AIPS_PACRF_WP2. */
4832 #define BF_AIPS_PACRF_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP2) & BM_AIPS_PACRF_WP2)
4833
4834 /*! @brief Set the WP2 field to a new value. */
4835 #define BW_AIPS_PACRF_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP2) = (v))
4836 /*@}*/
4837
4838 /*!
4839 * @name Register AIPS_PACRF, field SP2[22] (RW)
4840 *
4841 * Determines whether the peripheral requires supervisor privilege level for
4842 * access. When this bit is set, the master privilege level must indicate the
4843 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
4844 * set. If not, access terminates with an error response and no peripheral access
4845 * initiates.
4846 *
4847 * Values:
4848 * - 0 - This peripheral does not require supervisor privilege level for
4849 * accesses.
4850 * - 1 - This peripheral requires supervisor privilege level for accesses.
4851 */
4852 /*@{*/
4853 #define BP_AIPS_PACRF_SP2 (22U) /*!< Bit position for AIPS_PACRF_SP2. */
4854 #define BM_AIPS_PACRF_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRF_SP2. */
4855 #define BS_AIPS_PACRF_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP2. */
4856
4857 /*! @brief Read current value of the AIPS_PACRF_SP2 field. */
4858 #define BR_AIPS_PACRF_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP2))
4859
4860 /*! @brief Format value for bitfield AIPS_PACRF_SP2. */
4861 #define BF_AIPS_PACRF_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP2) & BM_AIPS_PACRF_SP2)
4862
4863 /*! @brief Set the SP2 field to a new value. */
4864 #define BW_AIPS_PACRF_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP2) = (v))
4865 /*@}*/
4866
4867 /*!
4868 * @name Register AIPS_PACRF, field TP1[24] (RW)
4869 *
4870 * Determines whether the peripheral allows accesses from an untrusted master.
4871 * When this field is set and an access is attempted by an untrusted master, the
4872 * access terminates with an error response and no peripheral access initiates.
4873 *
4874 * Values:
4875 * - 0 - Accesses from an untrusted master are allowed.
4876 * - 1 - Accesses from an untrusted master are not allowed.
4877 */
4878 /*@{*/
4879 #define BP_AIPS_PACRF_TP1 (24U) /*!< Bit position for AIPS_PACRF_TP1. */
4880 #define BM_AIPS_PACRF_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRF_TP1. */
4881 #define BS_AIPS_PACRF_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP1. */
4882
4883 /*! @brief Read current value of the AIPS_PACRF_TP1 field. */
4884 #define BR_AIPS_PACRF_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP1))
4885
4886 /*! @brief Format value for bitfield AIPS_PACRF_TP1. */
4887 #define BF_AIPS_PACRF_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP1) & BM_AIPS_PACRF_TP1)
4888
4889 /*! @brief Set the TP1 field to a new value. */
4890 #define BW_AIPS_PACRF_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP1) = (v))
4891 /*@}*/
4892
4893 /*!
4894 * @name Register AIPS_PACRF, field WP1[25] (RW)
4895 *
4896 * Determines whether the peripheral allows write accesses. When this field is
4897 * set and a write access is attempted, access terminates with an error response
4898 * and no peripheral access initiates.
4899 *
4900 * Values:
4901 * - 0 - This peripheral allows write accesses.
4902 * - 1 - This peripheral is write protected.
4903 */
4904 /*@{*/
4905 #define BP_AIPS_PACRF_WP1 (25U) /*!< Bit position for AIPS_PACRF_WP1. */
4906 #define BM_AIPS_PACRF_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRF_WP1. */
4907 #define BS_AIPS_PACRF_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP1. */
4908
4909 /*! @brief Read current value of the AIPS_PACRF_WP1 field. */
4910 #define BR_AIPS_PACRF_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP1))
4911
4912 /*! @brief Format value for bitfield AIPS_PACRF_WP1. */
4913 #define BF_AIPS_PACRF_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP1) & BM_AIPS_PACRF_WP1)
4914
4915 /*! @brief Set the WP1 field to a new value. */
4916 #define BW_AIPS_PACRF_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP1) = (v))
4917 /*@}*/
4918
4919 /*!
4920 * @name Register AIPS_PACRF, field SP1[26] (RW)
4921 *
4922 * Determines whether the peripheral requires supervisor privilege level for
4923 * access. When this field is set, the master privilege level must indicate the
4924 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
4925 * be set. If not, access terminates with an error response and no peripheral
4926 * access initiates.
4927 *
4928 * Values:
4929 * - 0 - This peripheral does not require supervisor privilege level for
4930 * accesses.
4931 * - 1 - This peripheral requires supervisor privilege level for accesses.
4932 */
4933 /*@{*/
4934 #define BP_AIPS_PACRF_SP1 (26U) /*!< Bit position for AIPS_PACRF_SP1. */
4935 #define BM_AIPS_PACRF_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRF_SP1. */
4936 #define BS_AIPS_PACRF_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP1. */
4937
4938 /*! @brief Read current value of the AIPS_PACRF_SP1 field. */
4939 #define BR_AIPS_PACRF_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP1))
4940
4941 /*! @brief Format value for bitfield AIPS_PACRF_SP1. */
4942 #define BF_AIPS_PACRF_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP1) & BM_AIPS_PACRF_SP1)
4943
4944 /*! @brief Set the SP1 field to a new value. */
4945 #define BW_AIPS_PACRF_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP1) = (v))
4946 /*@}*/
4947
4948 /*!
4949 * @name Register AIPS_PACRF, field TP0[28] (RW)
4950 *
4951 * Determines whether the peripheral allows accesses from an untrusted master.
4952 * When this bit is set and an access is attempted by an untrusted master, the
4953 * access terminates with an error response and no peripheral access initiates.
4954 *
4955 * Values:
4956 * - 0 - Accesses from an untrusted master are allowed.
4957 * - 1 - Accesses from an untrusted master are not allowed.
4958 */
4959 /*@{*/
4960 #define BP_AIPS_PACRF_TP0 (28U) /*!< Bit position for AIPS_PACRF_TP0. */
4961 #define BM_AIPS_PACRF_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRF_TP0. */
4962 #define BS_AIPS_PACRF_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRF_TP0. */
4963
4964 /*! @brief Read current value of the AIPS_PACRF_TP0 field. */
4965 #define BR_AIPS_PACRF_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP0))
4966
4967 /*! @brief Format value for bitfield AIPS_PACRF_TP0. */
4968 #define BF_AIPS_PACRF_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_TP0) & BM_AIPS_PACRF_TP0)
4969
4970 /*! @brief Set the TP0 field to a new value. */
4971 #define BW_AIPS_PACRF_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_TP0) = (v))
4972 /*@}*/
4973
4974 /*!
4975 * @name Register AIPS_PACRF, field WP0[29] (RW)
4976 *
4977 * Determines whether the peripheral allows write accesses. When this field is
4978 * set and a write access is attempted, access terminates with an error response
4979 * and no peripheral access initiates.
4980 *
4981 * Values:
4982 * - 0 - This peripheral allows write accesses.
4983 * - 1 - This peripheral is write protected.
4984 */
4985 /*@{*/
4986 #define BP_AIPS_PACRF_WP0 (29U) /*!< Bit position for AIPS_PACRF_WP0. */
4987 #define BM_AIPS_PACRF_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRF_WP0. */
4988 #define BS_AIPS_PACRF_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRF_WP0. */
4989
4990 /*! @brief Read current value of the AIPS_PACRF_WP0 field. */
4991 #define BR_AIPS_PACRF_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP0))
4992
4993 /*! @brief Format value for bitfield AIPS_PACRF_WP0. */
4994 #define BF_AIPS_PACRF_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_WP0) & BM_AIPS_PACRF_WP0)
4995
4996 /*! @brief Set the WP0 field to a new value. */
4997 #define BW_AIPS_PACRF_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_WP0) = (v))
4998 /*@}*/
4999
5000 /*!
5001 * @name Register AIPS_PACRF, field SP0[30] (RW)
5002 *
5003 * Determines whether the peripheral requires supervisor privilege level for
5004 * accesses. When this field is set, the master privilege level must indicate the
5005 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5006 * must be set. If not, access terminates with an error response and no peripheral
5007 * access initiates.
5008 *
5009 * Values:
5010 * - 0 - This peripheral does not require supervisor privilege level for
5011 * accesses.
5012 * - 1 - This peripheral requires supervisor privilege level for accesses.
5013 */
5014 /*@{*/
5015 #define BP_AIPS_PACRF_SP0 (30U) /*!< Bit position for AIPS_PACRF_SP0. */
5016 #define BM_AIPS_PACRF_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRF_SP0. */
5017 #define BS_AIPS_PACRF_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRF_SP0. */
5018
5019 /*! @brief Read current value of the AIPS_PACRF_SP0 field. */
5020 #define BR_AIPS_PACRF_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP0))
5021
5022 /*! @brief Format value for bitfield AIPS_PACRF_SP0. */
5023 #define BF_AIPS_PACRF_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRF_SP0) & BM_AIPS_PACRF_SP0)
5024
5025 /*! @brief Set the SP0 field to a new value. */
5026 #define BW_AIPS_PACRF_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRF_ADDR(x), BP_AIPS_PACRF_SP0) = (v))
5027 /*@}*/
5028
5029 /*******************************************************************************
5030 * HW_AIPS_PACRG - Peripheral Access Control Register
5031 ******************************************************************************/
5032
5033 /*!
5034 * @brief HW_AIPS_PACRG - Peripheral Access Control Register (RW)
5035 *
5036 * Reset value: 0x44444444U
5037 *
5038 * This section describes PACR registers E-P, which control peripheral slots
5039 * 32-127. See PACRPeripheral Access Control Register for the description of these
5040 * registers.
5041 */
5042 typedef union _hw_aips_pacrg
5043 {
5044 uint32_t U;
5045 struct _hw_aips_pacrg_bitfields
5046 {
5047 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
5048 uint32_t WP7 : 1; /*!< [1] Write Protect */
5049 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
5050 uint32_t RESERVED0 : 1; /*!< [3] */
5051 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
5052 uint32_t WP6 : 1; /*!< [5] Write Protect */
5053 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
5054 uint32_t RESERVED1 : 1; /*!< [7] */
5055 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
5056 uint32_t WP5 : 1; /*!< [9] Write Protect */
5057 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
5058 uint32_t RESERVED2 : 1; /*!< [11] */
5059 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
5060 uint32_t WP4 : 1; /*!< [13] Write Protect */
5061 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
5062 uint32_t RESERVED3 : 1; /*!< [15] */
5063 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
5064 uint32_t WP3 : 1; /*!< [17] Write Protect */
5065 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
5066 uint32_t RESERVED4 : 1; /*!< [19] */
5067 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
5068 uint32_t WP2 : 1; /*!< [21] Write Protect */
5069 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
5070 uint32_t RESERVED5 : 1; /*!< [23] */
5071 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
5072 uint32_t WP1 : 1; /*!< [25] Write Protect */
5073 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
5074 uint32_t RESERVED6 : 1; /*!< [27] */
5075 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
5076 uint32_t WP0 : 1; /*!< [29] Write Protect */
5077 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
5078 uint32_t RESERVED7 : 1; /*!< [31] */
5079 } B;
5080 } hw_aips_pacrg_t;
5081
5082 /*!
5083 * @name Constants and macros for entire AIPS_PACRG register
5084 */
5085 /*@{*/
5086 #define HW_AIPS_PACRG_ADDR(x) ((x) + 0x48U)
5087
5088 #define HW_AIPS_PACRG(x) (*(__IO hw_aips_pacrg_t *) HW_AIPS_PACRG_ADDR(x))
5089 #define HW_AIPS_PACRG_RD(x) (HW_AIPS_PACRG(x).U)
5090 #define HW_AIPS_PACRG_WR(x, v) (HW_AIPS_PACRG(x).U = (v))
5091 #define HW_AIPS_PACRG_SET(x, v) (HW_AIPS_PACRG_WR(x, HW_AIPS_PACRG_RD(x) | (v)))
5092 #define HW_AIPS_PACRG_CLR(x, v) (HW_AIPS_PACRG_WR(x, HW_AIPS_PACRG_RD(x) & ~(v)))
5093 #define HW_AIPS_PACRG_TOG(x, v) (HW_AIPS_PACRG_WR(x, HW_AIPS_PACRG_RD(x) ^ (v)))
5094 /*@}*/
5095
5096 /*
5097 * Constants & macros for individual AIPS_PACRG bitfields
5098 */
5099
5100 /*!
5101 * @name Register AIPS_PACRG, field TP7[0] (RW)
5102 *
5103 * Determines whether the peripheral allows accesses from an untrusted master.
5104 * When this field is set and an access is attempted by an untrusted master, the
5105 * access terminates with an error response and no peripheral access initiates.
5106 *
5107 * Values:
5108 * - 0 - Accesses from an untrusted master are allowed.
5109 * - 1 - Accesses from an untrusted master are not allowed.
5110 */
5111 /*@{*/
5112 #define BP_AIPS_PACRG_TP7 (0U) /*!< Bit position for AIPS_PACRG_TP7. */
5113 #define BM_AIPS_PACRG_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRG_TP7. */
5114 #define BS_AIPS_PACRG_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP7. */
5115
5116 /*! @brief Read current value of the AIPS_PACRG_TP7 field. */
5117 #define BR_AIPS_PACRG_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP7))
5118
5119 /*! @brief Format value for bitfield AIPS_PACRG_TP7. */
5120 #define BF_AIPS_PACRG_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP7) & BM_AIPS_PACRG_TP7)
5121
5122 /*! @brief Set the TP7 field to a new value. */
5123 #define BW_AIPS_PACRG_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP7) = (v))
5124 /*@}*/
5125
5126 /*!
5127 * @name Register AIPS_PACRG, field WP7[1] (RW)
5128 *
5129 * Determines whether the peripheral allows write accesses. When this field is
5130 * set and a write access is attempted, access terminates with an error response
5131 * and no peripheral access initiates.
5132 *
5133 * Values:
5134 * - 0 - This peripheral allows write accesses.
5135 * - 1 - This peripheral is write protected.
5136 */
5137 /*@{*/
5138 #define BP_AIPS_PACRG_WP7 (1U) /*!< Bit position for AIPS_PACRG_WP7. */
5139 #define BM_AIPS_PACRG_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRG_WP7. */
5140 #define BS_AIPS_PACRG_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP7. */
5141
5142 /*! @brief Read current value of the AIPS_PACRG_WP7 field. */
5143 #define BR_AIPS_PACRG_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP7))
5144
5145 /*! @brief Format value for bitfield AIPS_PACRG_WP7. */
5146 #define BF_AIPS_PACRG_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP7) & BM_AIPS_PACRG_WP7)
5147
5148 /*! @brief Set the WP7 field to a new value. */
5149 #define BW_AIPS_PACRG_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP7) = (v))
5150 /*@}*/
5151
5152 /*!
5153 * @name Register AIPS_PACRG, field SP7[2] (RW)
5154 *
5155 * Determines whether the peripheral requires supervisor privilege level for
5156 * accesses. When this field is set, the master privilege level must indicate the
5157 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5158 * must be set. If not, access terminates with an error response and no peripheral
5159 * access initiates.
5160 *
5161 * Values:
5162 * - 0 - This peripheral does not require supervisor privilege level for
5163 * accesses.
5164 * - 1 - This peripheral requires supervisor privilege level for accesses.
5165 */
5166 /*@{*/
5167 #define BP_AIPS_PACRG_SP7 (2U) /*!< Bit position for AIPS_PACRG_SP7. */
5168 #define BM_AIPS_PACRG_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRG_SP7. */
5169 #define BS_AIPS_PACRG_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP7. */
5170
5171 /*! @brief Read current value of the AIPS_PACRG_SP7 field. */
5172 #define BR_AIPS_PACRG_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP7))
5173
5174 /*! @brief Format value for bitfield AIPS_PACRG_SP7. */
5175 #define BF_AIPS_PACRG_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP7) & BM_AIPS_PACRG_SP7)
5176
5177 /*! @brief Set the SP7 field to a new value. */
5178 #define BW_AIPS_PACRG_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP7) = (v))
5179 /*@}*/
5180
5181 /*!
5182 * @name Register AIPS_PACRG, field TP6[4] (RW)
5183 *
5184 * Determines whether the peripheral allows accesses from an untrusted master.
5185 * When this field is set and an access is attempted by an untrusted master, the
5186 * access terminates with an error response and no peripheral access initiates.
5187 *
5188 * Values:
5189 * - 0 - Accesses from an untrusted master are allowed.
5190 * - 1 - Accesses from an untrusted master are not allowed.
5191 */
5192 /*@{*/
5193 #define BP_AIPS_PACRG_TP6 (4U) /*!< Bit position for AIPS_PACRG_TP6. */
5194 #define BM_AIPS_PACRG_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRG_TP6. */
5195 #define BS_AIPS_PACRG_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP6. */
5196
5197 /*! @brief Read current value of the AIPS_PACRG_TP6 field. */
5198 #define BR_AIPS_PACRG_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP6))
5199
5200 /*! @brief Format value for bitfield AIPS_PACRG_TP6. */
5201 #define BF_AIPS_PACRG_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP6) & BM_AIPS_PACRG_TP6)
5202
5203 /*! @brief Set the TP6 field to a new value. */
5204 #define BW_AIPS_PACRG_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP6) = (v))
5205 /*@}*/
5206
5207 /*!
5208 * @name Register AIPS_PACRG, field WP6[5] (RW)
5209 *
5210 * Determines whether the peripheral allows write accesses. When this field is
5211 * set and a write access is attempted, access terminates with an error response
5212 * and no peripheral access initiates.
5213 *
5214 * Values:
5215 * - 0 - This peripheral allows write accesses.
5216 * - 1 - This peripheral is write protected.
5217 */
5218 /*@{*/
5219 #define BP_AIPS_PACRG_WP6 (5U) /*!< Bit position for AIPS_PACRG_WP6. */
5220 #define BM_AIPS_PACRG_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRG_WP6. */
5221 #define BS_AIPS_PACRG_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP6. */
5222
5223 /*! @brief Read current value of the AIPS_PACRG_WP6 field. */
5224 #define BR_AIPS_PACRG_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP6))
5225
5226 /*! @brief Format value for bitfield AIPS_PACRG_WP6. */
5227 #define BF_AIPS_PACRG_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP6) & BM_AIPS_PACRG_WP6)
5228
5229 /*! @brief Set the WP6 field to a new value. */
5230 #define BW_AIPS_PACRG_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP6) = (v))
5231 /*@}*/
5232
5233 /*!
5234 * @name Register AIPS_PACRG, field SP6[6] (RW)
5235 *
5236 * Determines whether the peripheral requires supervisor privilege level for
5237 * accesses. When this field is set, the master privilege level must indicate the
5238 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5239 * must be set. If not, access terminates with an error response and no peripheral
5240 * access initiates.
5241 *
5242 * Values:
5243 * - 0 - This peripheral does not require supervisor privilege level for
5244 * accesses.
5245 * - 1 - This peripheral requires supervisor privilege level for accesses.
5246 */
5247 /*@{*/
5248 #define BP_AIPS_PACRG_SP6 (6U) /*!< Bit position for AIPS_PACRG_SP6. */
5249 #define BM_AIPS_PACRG_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRG_SP6. */
5250 #define BS_AIPS_PACRG_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP6. */
5251
5252 /*! @brief Read current value of the AIPS_PACRG_SP6 field. */
5253 #define BR_AIPS_PACRG_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP6))
5254
5255 /*! @brief Format value for bitfield AIPS_PACRG_SP6. */
5256 #define BF_AIPS_PACRG_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP6) & BM_AIPS_PACRG_SP6)
5257
5258 /*! @brief Set the SP6 field to a new value. */
5259 #define BW_AIPS_PACRG_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP6) = (v))
5260 /*@}*/
5261
5262 /*!
5263 * @name Register AIPS_PACRG, field TP5[8] (RW)
5264 *
5265 * Determines whether the peripheral allows accesses from an untrusted master.
5266 * When this field is set and an access is attempted by an untrusted master, the
5267 * access terminates with an error response and no peripheral access initiates.
5268 *
5269 * Values:
5270 * - 0 - Accesses from an untrusted master are allowed.
5271 * - 1 - Accesses from an untrusted master are not allowed.
5272 */
5273 /*@{*/
5274 #define BP_AIPS_PACRG_TP5 (8U) /*!< Bit position for AIPS_PACRG_TP5. */
5275 #define BM_AIPS_PACRG_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRG_TP5. */
5276 #define BS_AIPS_PACRG_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP5. */
5277
5278 /*! @brief Read current value of the AIPS_PACRG_TP5 field. */
5279 #define BR_AIPS_PACRG_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP5))
5280
5281 /*! @brief Format value for bitfield AIPS_PACRG_TP5. */
5282 #define BF_AIPS_PACRG_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP5) & BM_AIPS_PACRG_TP5)
5283
5284 /*! @brief Set the TP5 field to a new value. */
5285 #define BW_AIPS_PACRG_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP5) = (v))
5286 /*@}*/
5287
5288 /*!
5289 * @name Register AIPS_PACRG, field WP5[9] (RW)
5290 *
5291 * Determines whether the peripheral allows write accesses. When this field is
5292 * set and a write access is attempted, access terminates with an error response
5293 * and no peripheral access initiates.
5294 *
5295 * Values:
5296 * - 0 - This peripheral allows write accesses.
5297 * - 1 - This peripheral is write protected.
5298 */
5299 /*@{*/
5300 #define BP_AIPS_PACRG_WP5 (9U) /*!< Bit position for AIPS_PACRG_WP5. */
5301 #define BM_AIPS_PACRG_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRG_WP5. */
5302 #define BS_AIPS_PACRG_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP5. */
5303
5304 /*! @brief Read current value of the AIPS_PACRG_WP5 field. */
5305 #define BR_AIPS_PACRG_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP5))
5306
5307 /*! @brief Format value for bitfield AIPS_PACRG_WP5. */
5308 #define BF_AIPS_PACRG_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP5) & BM_AIPS_PACRG_WP5)
5309
5310 /*! @brief Set the WP5 field to a new value. */
5311 #define BW_AIPS_PACRG_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP5) = (v))
5312 /*@}*/
5313
5314 /*!
5315 * @name Register AIPS_PACRG, field SP5[10] (RW)
5316 *
5317 * Determines whether the peripheral requires supervisor privilege level for
5318 * accesses. When this field is set, the master privilege level must indicate the
5319 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5320 * must be set. If not, access terminates with an error response and no peripheral
5321 * access initiates.
5322 *
5323 * Values:
5324 * - 0 - This peripheral does not require supervisor privilege level for
5325 * accesses.
5326 * - 1 - This peripheral requires supervisor privilege level for accesses.
5327 */
5328 /*@{*/
5329 #define BP_AIPS_PACRG_SP5 (10U) /*!< Bit position for AIPS_PACRG_SP5. */
5330 #define BM_AIPS_PACRG_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRG_SP5. */
5331 #define BS_AIPS_PACRG_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP5. */
5332
5333 /*! @brief Read current value of the AIPS_PACRG_SP5 field. */
5334 #define BR_AIPS_PACRG_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP5))
5335
5336 /*! @brief Format value for bitfield AIPS_PACRG_SP5. */
5337 #define BF_AIPS_PACRG_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP5) & BM_AIPS_PACRG_SP5)
5338
5339 /*! @brief Set the SP5 field to a new value. */
5340 #define BW_AIPS_PACRG_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP5) = (v))
5341 /*@}*/
5342
5343 /*!
5344 * @name Register AIPS_PACRG, field TP4[12] (RW)
5345 *
5346 * Determines whether the peripheral allows accesses from an untrusted master.
5347 * When this bit is set and an access is attempted by an untrusted master, the
5348 * access terminates with an error response and no peripheral access initiates.
5349 *
5350 * Values:
5351 * - 0 - Accesses from an untrusted master are allowed.
5352 * - 1 - Accesses from an untrusted master are not allowed.
5353 */
5354 /*@{*/
5355 #define BP_AIPS_PACRG_TP4 (12U) /*!< Bit position for AIPS_PACRG_TP4. */
5356 #define BM_AIPS_PACRG_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRG_TP4. */
5357 #define BS_AIPS_PACRG_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP4. */
5358
5359 /*! @brief Read current value of the AIPS_PACRG_TP4 field. */
5360 #define BR_AIPS_PACRG_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP4))
5361
5362 /*! @brief Format value for bitfield AIPS_PACRG_TP4. */
5363 #define BF_AIPS_PACRG_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP4) & BM_AIPS_PACRG_TP4)
5364
5365 /*! @brief Set the TP4 field to a new value. */
5366 #define BW_AIPS_PACRG_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP4) = (v))
5367 /*@}*/
5368
5369 /*!
5370 * @name Register AIPS_PACRG, field WP4[13] (RW)
5371 *
5372 * Determines whether the peripheral allows write accesses. When this field is
5373 * set and a write access is attempted, access terminates with an error response
5374 * and no peripheral access initiates.
5375 *
5376 * Values:
5377 * - 0 - This peripheral allows write accesses.
5378 * - 1 - This peripheral is write protected.
5379 */
5380 /*@{*/
5381 #define BP_AIPS_PACRG_WP4 (13U) /*!< Bit position for AIPS_PACRG_WP4. */
5382 #define BM_AIPS_PACRG_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRG_WP4. */
5383 #define BS_AIPS_PACRG_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP4. */
5384
5385 /*! @brief Read current value of the AIPS_PACRG_WP4 field. */
5386 #define BR_AIPS_PACRG_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP4))
5387
5388 /*! @brief Format value for bitfield AIPS_PACRG_WP4. */
5389 #define BF_AIPS_PACRG_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP4) & BM_AIPS_PACRG_WP4)
5390
5391 /*! @brief Set the WP4 field to a new value. */
5392 #define BW_AIPS_PACRG_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP4) = (v))
5393 /*@}*/
5394
5395 /*!
5396 * @name Register AIPS_PACRG, field SP4[14] (RW)
5397 *
5398 * Determines whether the peripheral requires supervisor privilege level for
5399 * access. When this bit is set, the master privilege level must indicate the
5400 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
5401 * set. If not, access terminates with an error response and no peripheral access
5402 * initiates.
5403 *
5404 * Values:
5405 * - 0 - This peripheral does not require supervisor privilege level for
5406 * accesses.
5407 * - 1 - This peripheral requires supervisor privilege level for accesses.
5408 */
5409 /*@{*/
5410 #define BP_AIPS_PACRG_SP4 (14U) /*!< Bit position for AIPS_PACRG_SP4. */
5411 #define BM_AIPS_PACRG_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRG_SP4. */
5412 #define BS_AIPS_PACRG_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP4. */
5413
5414 /*! @brief Read current value of the AIPS_PACRG_SP4 field. */
5415 #define BR_AIPS_PACRG_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP4))
5416
5417 /*! @brief Format value for bitfield AIPS_PACRG_SP4. */
5418 #define BF_AIPS_PACRG_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP4) & BM_AIPS_PACRG_SP4)
5419
5420 /*! @brief Set the SP4 field to a new value. */
5421 #define BW_AIPS_PACRG_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP4) = (v))
5422 /*@}*/
5423
5424 /*!
5425 * @name Register AIPS_PACRG, field TP3[16] (RW)
5426 *
5427 * Determines whether the peripheral allows accesses from an untrusted master.
5428 * When this field is set and an access is attempted by an untrusted master, the
5429 * access terminates with an error response and no peripheral access initiates.
5430 *
5431 * Values:
5432 * - 0 - Accesses from an untrusted master are allowed.
5433 * - 1 - Accesses from an untrusted master are not allowed.
5434 */
5435 /*@{*/
5436 #define BP_AIPS_PACRG_TP3 (16U) /*!< Bit position for AIPS_PACRG_TP3. */
5437 #define BM_AIPS_PACRG_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRG_TP3. */
5438 #define BS_AIPS_PACRG_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP3. */
5439
5440 /*! @brief Read current value of the AIPS_PACRG_TP3 field. */
5441 #define BR_AIPS_PACRG_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP3))
5442
5443 /*! @brief Format value for bitfield AIPS_PACRG_TP3. */
5444 #define BF_AIPS_PACRG_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP3) & BM_AIPS_PACRG_TP3)
5445
5446 /*! @brief Set the TP3 field to a new value. */
5447 #define BW_AIPS_PACRG_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP3) = (v))
5448 /*@}*/
5449
5450 /*!
5451 * @name Register AIPS_PACRG, field WP3[17] (RW)
5452 *
5453 * Determines whether the peripheral allows write accesss. When this bit is set
5454 * and a write access is attempted, access terminates with an error response and
5455 * no peripheral access initiates.
5456 *
5457 * Values:
5458 * - 0 - This peripheral allows write accesses.
5459 * - 1 - This peripheral is write protected.
5460 */
5461 /*@{*/
5462 #define BP_AIPS_PACRG_WP3 (17U) /*!< Bit position for AIPS_PACRG_WP3. */
5463 #define BM_AIPS_PACRG_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRG_WP3. */
5464 #define BS_AIPS_PACRG_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP3. */
5465
5466 /*! @brief Read current value of the AIPS_PACRG_WP3 field. */
5467 #define BR_AIPS_PACRG_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP3))
5468
5469 /*! @brief Format value for bitfield AIPS_PACRG_WP3. */
5470 #define BF_AIPS_PACRG_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP3) & BM_AIPS_PACRG_WP3)
5471
5472 /*! @brief Set the WP3 field to a new value. */
5473 #define BW_AIPS_PACRG_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP3) = (v))
5474 /*@}*/
5475
5476 /*!
5477 * @name Register AIPS_PACRG, field SP3[18] (RW)
5478 *
5479 * Determines whether the peripheral requires supervisor privilege level for
5480 * accesses. When this field is set, the master privilege level must indicate the
5481 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5482 * must be set. If not, access terminates with an error response and no peripheral
5483 * access initiates.
5484 *
5485 * Values:
5486 * - 0 - This peripheral does not require supervisor privilege level for
5487 * accesses.
5488 * - 1 - This peripheral requires supervisor privilege level for accesses.
5489 */
5490 /*@{*/
5491 #define BP_AIPS_PACRG_SP3 (18U) /*!< Bit position for AIPS_PACRG_SP3. */
5492 #define BM_AIPS_PACRG_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRG_SP3. */
5493 #define BS_AIPS_PACRG_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP3. */
5494
5495 /*! @brief Read current value of the AIPS_PACRG_SP3 field. */
5496 #define BR_AIPS_PACRG_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP3))
5497
5498 /*! @brief Format value for bitfield AIPS_PACRG_SP3. */
5499 #define BF_AIPS_PACRG_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP3) & BM_AIPS_PACRG_SP3)
5500
5501 /*! @brief Set the SP3 field to a new value. */
5502 #define BW_AIPS_PACRG_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP3) = (v))
5503 /*@}*/
5504
5505 /*!
5506 * @name Register AIPS_PACRG, field TP2[20] (RW)
5507 *
5508 * Determines whether the peripheral allows accesses from an untrusted master.
5509 * When this bit is set and an access is attempted by an untrusted master, the
5510 * access terminates with an error response and no peripheral access initiates.
5511 *
5512 * Values:
5513 * - 0 - Accesses from an untrusted master are allowed.
5514 * - 1 - Accesses from an untrusted master are not allowed.
5515 */
5516 /*@{*/
5517 #define BP_AIPS_PACRG_TP2 (20U) /*!< Bit position for AIPS_PACRG_TP2. */
5518 #define BM_AIPS_PACRG_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRG_TP2. */
5519 #define BS_AIPS_PACRG_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP2. */
5520
5521 /*! @brief Read current value of the AIPS_PACRG_TP2 field. */
5522 #define BR_AIPS_PACRG_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP2))
5523
5524 /*! @brief Format value for bitfield AIPS_PACRG_TP2. */
5525 #define BF_AIPS_PACRG_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP2) & BM_AIPS_PACRG_TP2)
5526
5527 /*! @brief Set the TP2 field to a new value. */
5528 #define BW_AIPS_PACRG_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP2) = (v))
5529 /*@}*/
5530
5531 /*!
5532 * @name Register AIPS_PACRG, field WP2[21] (RW)
5533 *
5534 * Determines whether the peripheral allows write accesses. When this field is
5535 * set and a write access is attempted, access terminates with an error response
5536 * and no peripheral access initiates.
5537 *
5538 * Values:
5539 * - 0 - This peripheral allows write accesses.
5540 * - 1 - This peripheral is write protected.
5541 */
5542 /*@{*/
5543 #define BP_AIPS_PACRG_WP2 (21U) /*!< Bit position for AIPS_PACRG_WP2. */
5544 #define BM_AIPS_PACRG_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRG_WP2. */
5545 #define BS_AIPS_PACRG_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP2. */
5546
5547 /*! @brief Read current value of the AIPS_PACRG_WP2 field. */
5548 #define BR_AIPS_PACRG_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP2))
5549
5550 /*! @brief Format value for bitfield AIPS_PACRG_WP2. */
5551 #define BF_AIPS_PACRG_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP2) & BM_AIPS_PACRG_WP2)
5552
5553 /*! @brief Set the WP2 field to a new value. */
5554 #define BW_AIPS_PACRG_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP2) = (v))
5555 /*@}*/
5556
5557 /*!
5558 * @name Register AIPS_PACRG, field SP2[22] (RW)
5559 *
5560 * Determines whether the peripheral requires supervisor privilege level for
5561 * access. When this bit is set, the master privilege level must indicate the
5562 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
5563 * set. If not, access terminates with an error response and no peripheral access
5564 * initiates.
5565 *
5566 * Values:
5567 * - 0 - This peripheral does not require supervisor privilege level for
5568 * accesses.
5569 * - 1 - This peripheral requires supervisor privilege level for accesses.
5570 */
5571 /*@{*/
5572 #define BP_AIPS_PACRG_SP2 (22U) /*!< Bit position for AIPS_PACRG_SP2. */
5573 #define BM_AIPS_PACRG_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRG_SP2. */
5574 #define BS_AIPS_PACRG_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP2. */
5575
5576 /*! @brief Read current value of the AIPS_PACRG_SP2 field. */
5577 #define BR_AIPS_PACRG_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP2))
5578
5579 /*! @brief Format value for bitfield AIPS_PACRG_SP2. */
5580 #define BF_AIPS_PACRG_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP2) & BM_AIPS_PACRG_SP2)
5581
5582 /*! @brief Set the SP2 field to a new value. */
5583 #define BW_AIPS_PACRG_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP2) = (v))
5584 /*@}*/
5585
5586 /*!
5587 * @name Register AIPS_PACRG, field TP1[24] (RW)
5588 *
5589 * Determines whether the peripheral allows accesses from an untrusted master.
5590 * When this field is set and an access is attempted by an untrusted master, the
5591 * access terminates with an error response and no peripheral access initiates.
5592 *
5593 * Values:
5594 * - 0 - Accesses from an untrusted master are allowed.
5595 * - 1 - Accesses from an untrusted master are not allowed.
5596 */
5597 /*@{*/
5598 #define BP_AIPS_PACRG_TP1 (24U) /*!< Bit position for AIPS_PACRG_TP1. */
5599 #define BM_AIPS_PACRG_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRG_TP1. */
5600 #define BS_AIPS_PACRG_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP1. */
5601
5602 /*! @brief Read current value of the AIPS_PACRG_TP1 field. */
5603 #define BR_AIPS_PACRG_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP1))
5604
5605 /*! @brief Format value for bitfield AIPS_PACRG_TP1. */
5606 #define BF_AIPS_PACRG_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP1) & BM_AIPS_PACRG_TP1)
5607
5608 /*! @brief Set the TP1 field to a new value. */
5609 #define BW_AIPS_PACRG_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP1) = (v))
5610 /*@}*/
5611
5612 /*!
5613 * @name Register AIPS_PACRG, field WP1[25] (RW)
5614 *
5615 * Determines whether the peripheral allows write accesses. When this field is
5616 * set and a write access is attempted, access terminates with an error response
5617 * and no peripheral access initiates.
5618 *
5619 * Values:
5620 * - 0 - This peripheral allows write accesses.
5621 * - 1 - This peripheral is write protected.
5622 */
5623 /*@{*/
5624 #define BP_AIPS_PACRG_WP1 (25U) /*!< Bit position for AIPS_PACRG_WP1. */
5625 #define BM_AIPS_PACRG_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRG_WP1. */
5626 #define BS_AIPS_PACRG_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP1. */
5627
5628 /*! @brief Read current value of the AIPS_PACRG_WP1 field. */
5629 #define BR_AIPS_PACRG_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP1))
5630
5631 /*! @brief Format value for bitfield AIPS_PACRG_WP1. */
5632 #define BF_AIPS_PACRG_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP1) & BM_AIPS_PACRG_WP1)
5633
5634 /*! @brief Set the WP1 field to a new value. */
5635 #define BW_AIPS_PACRG_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP1) = (v))
5636 /*@}*/
5637
5638 /*!
5639 * @name Register AIPS_PACRG, field SP1[26] (RW)
5640 *
5641 * Determines whether the peripheral requires supervisor privilege level for
5642 * access. When this field is set, the master privilege level must indicate the
5643 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
5644 * be set. If not, access terminates with an error response and no peripheral
5645 * access initiates.
5646 *
5647 * Values:
5648 * - 0 - This peripheral does not require supervisor privilege level for
5649 * accesses.
5650 * - 1 - This peripheral requires supervisor privilege level for accesses.
5651 */
5652 /*@{*/
5653 #define BP_AIPS_PACRG_SP1 (26U) /*!< Bit position for AIPS_PACRG_SP1. */
5654 #define BM_AIPS_PACRG_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRG_SP1. */
5655 #define BS_AIPS_PACRG_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP1. */
5656
5657 /*! @brief Read current value of the AIPS_PACRG_SP1 field. */
5658 #define BR_AIPS_PACRG_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP1))
5659
5660 /*! @brief Format value for bitfield AIPS_PACRG_SP1. */
5661 #define BF_AIPS_PACRG_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP1) & BM_AIPS_PACRG_SP1)
5662
5663 /*! @brief Set the SP1 field to a new value. */
5664 #define BW_AIPS_PACRG_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP1) = (v))
5665 /*@}*/
5666
5667 /*!
5668 * @name Register AIPS_PACRG, field TP0[28] (RW)
5669 *
5670 * Determines whether the peripheral allows accesses from an untrusted master.
5671 * When this bit is set and an access is attempted by an untrusted master, the
5672 * access terminates with an error response and no peripheral access initiates.
5673 *
5674 * Values:
5675 * - 0 - Accesses from an untrusted master are allowed.
5676 * - 1 - Accesses from an untrusted master are not allowed.
5677 */
5678 /*@{*/
5679 #define BP_AIPS_PACRG_TP0 (28U) /*!< Bit position for AIPS_PACRG_TP0. */
5680 #define BM_AIPS_PACRG_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRG_TP0. */
5681 #define BS_AIPS_PACRG_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRG_TP0. */
5682
5683 /*! @brief Read current value of the AIPS_PACRG_TP0 field. */
5684 #define BR_AIPS_PACRG_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP0))
5685
5686 /*! @brief Format value for bitfield AIPS_PACRG_TP0. */
5687 #define BF_AIPS_PACRG_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_TP0) & BM_AIPS_PACRG_TP0)
5688
5689 /*! @brief Set the TP0 field to a new value. */
5690 #define BW_AIPS_PACRG_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_TP0) = (v))
5691 /*@}*/
5692
5693 /*!
5694 * @name Register AIPS_PACRG, field WP0[29] (RW)
5695 *
5696 * Determines whether the peripheral allows write accesses. When this field is
5697 * set and a write access is attempted, access terminates with an error response
5698 * and no peripheral access initiates.
5699 *
5700 * Values:
5701 * - 0 - This peripheral allows write accesses.
5702 * - 1 - This peripheral is write protected.
5703 */
5704 /*@{*/
5705 #define BP_AIPS_PACRG_WP0 (29U) /*!< Bit position for AIPS_PACRG_WP0. */
5706 #define BM_AIPS_PACRG_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRG_WP0. */
5707 #define BS_AIPS_PACRG_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRG_WP0. */
5708
5709 /*! @brief Read current value of the AIPS_PACRG_WP0 field. */
5710 #define BR_AIPS_PACRG_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP0))
5711
5712 /*! @brief Format value for bitfield AIPS_PACRG_WP0. */
5713 #define BF_AIPS_PACRG_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_WP0) & BM_AIPS_PACRG_WP0)
5714
5715 /*! @brief Set the WP0 field to a new value. */
5716 #define BW_AIPS_PACRG_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_WP0) = (v))
5717 /*@}*/
5718
5719 /*!
5720 * @name Register AIPS_PACRG, field SP0[30] (RW)
5721 *
5722 * Determines whether the peripheral requires supervisor privilege level for
5723 * accesses. When this field is set, the master privilege level must indicate the
5724 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5725 * must be set. If not, access terminates with an error response and no peripheral
5726 * access initiates.
5727 *
5728 * Values:
5729 * - 0 - This peripheral does not require supervisor privilege level for
5730 * accesses.
5731 * - 1 - This peripheral requires supervisor privilege level for accesses.
5732 */
5733 /*@{*/
5734 #define BP_AIPS_PACRG_SP0 (30U) /*!< Bit position for AIPS_PACRG_SP0. */
5735 #define BM_AIPS_PACRG_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRG_SP0. */
5736 #define BS_AIPS_PACRG_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRG_SP0. */
5737
5738 /*! @brief Read current value of the AIPS_PACRG_SP0 field. */
5739 #define BR_AIPS_PACRG_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP0))
5740
5741 /*! @brief Format value for bitfield AIPS_PACRG_SP0. */
5742 #define BF_AIPS_PACRG_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRG_SP0) & BM_AIPS_PACRG_SP0)
5743
5744 /*! @brief Set the SP0 field to a new value. */
5745 #define BW_AIPS_PACRG_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRG_ADDR(x), BP_AIPS_PACRG_SP0) = (v))
5746 /*@}*/
5747
5748 /*******************************************************************************
5749 * HW_AIPS_PACRH - Peripheral Access Control Register
5750 ******************************************************************************/
5751
5752 /*!
5753 * @brief HW_AIPS_PACRH - Peripheral Access Control Register (RW)
5754 *
5755 * Reset value: 0x44444444U
5756 *
5757 * This section describes PACR registers E-P, which control peripheral slots
5758 * 32-127. See PACRPeripheral Access Control Register for the description of these
5759 * registers.
5760 */
5761 typedef union _hw_aips_pacrh
5762 {
5763 uint32_t U;
5764 struct _hw_aips_pacrh_bitfields
5765 {
5766 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
5767 uint32_t WP7 : 1; /*!< [1] Write Protect */
5768 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
5769 uint32_t RESERVED0 : 1; /*!< [3] */
5770 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
5771 uint32_t WP6 : 1; /*!< [5] Write Protect */
5772 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
5773 uint32_t RESERVED1 : 1; /*!< [7] */
5774 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
5775 uint32_t WP5 : 1; /*!< [9] Write Protect */
5776 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
5777 uint32_t RESERVED2 : 1; /*!< [11] */
5778 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
5779 uint32_t WP4 : 1; /*!< [13] Write Protect */
5780 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
5781 uint32_t RESERVED3 : 1; /*!< [15] */
5782 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
5783 uint32_t WP3 : 1; /*!< [17] Write Protect */
5784 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
5785 uint32_t RESERVED4 : 1; /*!< [19] */
5786 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
5787 uint32_t WP2 : 1; /*!< [21] Write Protect */
5788 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
5789 uint32_t RESERVED5 : 1; /*!< [23] */
5790 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
5791 uint32_t WP1 : 1; /*!< [25] Write Protect */
5792 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
5793 uint32_t RESERVED6 : 1; /*!< [27] */
5794 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
5795 uint32_t WP0 : 1; /*!< [29] Write Protect */
5796 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
5797 uint32_t RESERVED7 : 1; /*!< [31] */
5798 } B;
5799 } hw_aips_pacrh_t;
5800
5801 /*!
5802 * @name Constants and macros for entire AIPS_PACRH register
5803 */
5804 /*@{*/
5805 #define HW_AIPS_PACRH_ADDR(x) ((x) + 0x4CU)
5806
5807 #define HW_AIPS_PACRH(x) (*(__IO hw_aips_pacrh_t *) HW_AIPS_PACRH_ADDR(x))
5808 #define HW_AIPS_PACRH_RD(x) (HW_AIPS_PACRH(x).U)
5809 #define HW_AIPS_PACRH_WR(x, v) (HW_AIPS_PACRH(x).U = (v))
5810 #define HW_AIPS_PACRH_SET(x, v) (HW_AIPS_PACRH_WR(x, HW_AIPS_PACRH_RD(x) | (v)))
5811 #define HW_AIPS_PACRH_CLR(x, v) (HW_AIPS_PACRH_WR(x, HW_AIPS_PACRH_RD(x) & ~(v)))
5812 #define HW_AIPS_PACRH_TOG(x, v) (HW_AIPS_PACRH_WR(x, HW_AIPS_PACRH_RD(x) ^ (v)))
5813 /*@}*/
5814
5815 /*
5816 * Constants & macros for individual AIPS_PACRH bitfields
5817 */
5818
5819 /*!
5820 * @name Register AIPS_PACRH, field TP7[0] (RW)
5821 *
5822 * Determines whether the peripheral allows accesses from an untrusted master.
5823 * When this field is set and an access is attempted by an untrusted master, the
5824 * access terminates with an error response and no peripheral access initiates.
5825 *
5826 * Values:
5827 * - 0 - Accesses from an untrusted master are allowed.
5828 * - 1 - Accesses from an untrusted master are not allowed.
5829 */
5830 /*@{*/
5831 #define BP_AIPS_PACRH_TP7 (0U) /*!< Bit position for AIPS_PACRH_TP7. */
5832 #define BM_AIPS_PACRH_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRH_TP7. */
5833 #define BS_AIPS_PACRH_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP7. */
5834
5835 /*! @brief Read current value of the AIPS_PACRH_TP7 field. */
5836 #define BR_AIPS_PACRH_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP7))
5837
5838 /*! @brief Format value for bitfield AIPS_PACRH_TP7. */
5839 #define BF_AIPS_PACRH_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP7) & BM_AIPS_PACRH_TP7)
5840
5841 /*! @brief Set the TP7 field to a new value. */
5842 #define BW_AIPS_PACRH_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP7) = (v))
5843 /*@}*/
5844
5845 /*!
5846 * @name Register AIPS_PACRH, field WP7[1] (RW)
5847 *
5848 * Determines whether the peripheral allows write accesses. When this field is
5849 * set and a write access is attempted, access terminates with an error response
5850 * and no peripheral access initiates.
5851 *
5852 * Values:
5853 * - 0 - This peripheral allows write accesses.
5854 * - 1 - This peripheral is write protected.
5855 */
5856 /*@{*/
5857 #define BP_AIPS_PACRH_WP7 (1U) /*!< Bit position for AIPS_PACRH_WP7. */
5858 #define BM_AIPS_PACRH_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRH_WP7. */
5859 #define BS_AIPS_PACRH_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP7. */
5860
5861 /*! @brief Read current value of the AIPS_PACRH_WP7 field. */
5862 #define BR_AIPS_PACRH_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP7))
5863
5864 /*! @brief Format value for bitfield AIPS_PACRH_WP7. */
5865 #define BF_AIPS_PACRH_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP7) & BM_AIPS_PACRH_WP7)
5866
5867 /*! @brief Set the WP7 field to a new value. */
5868 #define BW_AIPS_PACRH_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP7) = (v))
5869 /*@}*/
5870
5871 /*!
5872 * @name Register AIPS_PACRH, field SP7[2] (RW)
5873 *
5874 * Determines whether the peripheral requires supervisor privilege level for
5875 * accesses. When this field is set, the master privilege level must indicate the
5876 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5877 * must be set. If not, access terminates with an error response and no peripheral
5878 * access initiates.
5879 *
5880 * Values:
5881 * - 0 - This peripheral does not require supervisor privilege level for
5882 * accesses.
5883 * - 1 - This peripheral requires supervisor privilege level for accesses.
5884 */
5885 /*@{*/
5886 #define BP_AIPS_PACRH_SP7 (2U) /*!< Bit position for AIPS_PACRH_SP7. */
5887 #define BM_AIPS_PACRH_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRH_SP7. */
5888 #define BS_AIPS_PACRH_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP7. */
5889
5890 /*! @brief Read current value of the AIPS_PACRH_SP7 field. */
5891 #define BR_AIPS_PACRH_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP7))
5892
5893 /*! @brief Format value for bitfield AIPS_PACRH_SP7. */
5894 #define BF_AIPS_PACRH_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP7) & BM_AIPS_PACRH_SP7)
5895
5896 /*! @brief Set the SP7 field to a new value. */
5897 #define BW_AIPS_PACRH_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP7) = (v))
5898 /*@}*/
5899
5900 /*!
5901 * @name Register AIPS_PACRH, field TP6[4] (RW)
5902 *
5903 * Determines whether the peripheral allows accesses from an untrusted master.
5904 * When this field is set and an access is attempted by an untrusted master, the
5905 * access terminates with an error response and no peripheral access initiates.
5906 *
5907 * Values:
5908 * - 0 - Accesses from an untrusted master are allowed.
5909 * - 1 - Accesses from an untrusted master are not allowed.
5910 */
5911 /*@{*/
5912 #define BP_AIPS_PACRH_TP6 (4U) /*!< Bit position for AIPS_PACRH_TP6. */
5913 #define BM_AIPS_PACRH_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRH_TP6. */
5914 #define BS_AIPS_PACRH_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP6. */
5915
5916 /*! @brief Read current value of the AIPS_PACRH_TP6 field. */
5917 #define BR_AIPS_PACRH_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP6))
5918
5919 /*! @brief Format value for bitfield AIPS_PACRH_TP6. */
5920 #define BF_AIPS_PACRH_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP6) & BM_AIPS_PACRH_TP6)
5921
5922 /*! @brief Set the TP6 field to a new value. */
5923 #define BW_AIPS_PACRH_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP6) = (v))
5924 /*@}*/
5925
5926 /*!
5927 * @name Register AIPS_PACRH, field WP6[5] (RW)
5928 *
5929 * Determines whether the peripheral allows write accesses. When this field is
5930 * set and a write access is attempted, access terminates with an error response
5931 * and no peripheral access initiates.
5932 *
5933 * Values:
5934 * - 0 - This peripheral allows write accesses.
5935 * - 1 - This peripheral is write protected.
5936 */
5937 /*@{*/
5938 #define BP_AIPS_PACRH_WP6 (5U) /*!< Bit position for AIPS_PACRH_WP6. */
5939 #define BM_AIPS_PACRH_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRH_WP6. */
5940 #define BS_AIPS_PACRH_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP6. */
5941
5942 /*! @brief Read current value of the AIPS_PACRH_WP6 field. */
5943 #define BR_AIPS_PACRH_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP6))
5944
5945 /*! @brief Format value for bitfield AIPS_PACRH_WP6. */
5946 #define BF_AIPS_PACRH_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP6) & BM_AIPS_PACRH_WP6)
5947
5948 /*! @brief Set the WP6 field to a new value. */
5949 #define BW_AIPS_PACRH_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP6) = (v))
5950 /*@}*/
5951
5952 /*!
5953 * @name Register AIPS_PACRH, field SP6[6] (RW)
5954 *
5955 * Determines whether the peripheral requires supervisor privilege level for
5956 * accesses. When this field is set, the master privilege level must indicate the
5957 * supervisor access attribute, and the MPRx[MPLn] control field for the master
5958 * must be set. If not, access terminates with an error response and no peripheral
5959 * access initiates.
5960 *
5961 * Values:
5962 * - 0 - This peripheral does not require supervisor privilege level for
5963 * accesses.
5964 * - 1 - This peripheral requires supervisor privilege level for accesses.
5965 */
5966 /*@{*/
5967 #define BP_AIPS_PACRH_SP6 (6U) /*!< Bit position for AIPS_PACRH_SP6. */
5968 #define BM_AIPS_PACRH_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRH_SP6. */
5969 #define BS_AIPS_PACRH_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP6. */
5970
5971 /*! @brief Read current value of the AIPS_PACRH_SP6 field. */
5972 #define BR_AIPS_PACRH_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP6))
5973
5974 /*! @brief Format value for bitfield AIPS_PACRH_SP6. */
5975 #define BF_AIPS_PACRH_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP6) & BM_AIPS_PACRH_SP6)
5976
5977 /*! @brief Set the SP6 field to a new value. */
5978 #define BW_AIPS_PACRH_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP6) = (v))
5979 /*@}*/
5980
5981 /*!
5982 * @name Register AIPS_PACRH, field TP5[8] (RW)
5983 *
5984 * Determines whether the peripheral allows accesses from an untrusted master.
5985 * When this field is set and an access is attempted by an untrusted master, the
5986 * access terminates with an error response and no peripheral access initiates.
5987 *
5988 * Values:
5989 * - 0 - Accesses from an untrusted master are allowed.
5990 * - 1 - Accesses from an untrusted master are not allowed.
5991 */
5992 /*@{*/
5993 #define BP_AIPS_PACRH_TP5 (8U) /*!< Bit position for AIPS_PACRH_TP5. */
5994 #define BM_AIPS_PACRH_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRH_TP5. */
5995 #define BS_AIPS_PACRH_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP5. */
5996
5997 /*! @brief Read current value of the AIPS_PACRH_TP5 field. */
5998 #define BR_AIPS_PACRH_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP5))
5999
6000 /*! @brief Format value for bitfield AIPS_PACRH_TP5. */
6001 #define BF_AIPS_PACRH_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP5) & BM_AIPS_PACRH_TP5)
6002
6003 /*! @brief Set the TP5 field to a new value. */
6004 #define BW_AIPS_PACRH_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP5) = (v))
6005 /*@}*/
6006
6007 /*!
6008 * @name Register AIPS_PACRH, field WP5[9] (RW)
6009 *
6010 * Determines whether the peripheral allows write accesses. When this field is
6011 * set and a write access is attempted, access terminates with an error response
6012 * and no peripheral access initiates.
6013 *
6014 * Values:
6015 * - 0 - This peripheral allows write accesses.
6016 * - 1 - This peripheral is write protected.
6017 */
6018 /*@{*/
6019 #define BP_AIPS_PACRH_WP5 (9U) /*!< Bit position for AIPS_PACRH_WP5. */
6020 #define BM_AIPS_PACRH_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRH_WP5. */
6021 #define BS_AIPS_PACRH_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP5. */
6022
6023 /*! @brief Read current value of the AIPS_PACRH_WP5 field. */
6024 #define BR_AIPS_PACRH_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP5))
6025
6026 /*! @brief Format value for bitfield AIPS_PACRH_WP5. */
6027 #define BF_AIPS_PACRH_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP5) & BM_AIPS_PACRH_WP5)
6028
6029 /*! @brief Set the WP5 field to a new value. */
6030 #define BW_AIPS_PACRH_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP5) = (v))
6031 /*@}*/
6032
6033 /*!
6034 * @name Register AIPS_PACRH, field SP5[10] (RW)
6035 *
6036 * Determines whether the peripheral requires supervisor privilege level for
6037 * accesses. When this field is set, the master privilege level must indicate the
6038 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6039 * must be set. If not, access terminates with an error response and no peripheral
6040 * access initiates.
6041 *
6042 * Values:
6043 * - 0 - This peripheral does not require supervisor privilege level for
6044 * accesses.
6045 * - 1 - This peripheral requires supervisor privilege level for accesses.
6046 */
6047 /*@{*/
6048 #define BP_AIPS_PACRH_SP5 (10U) /*!< Bit position for AIPS_PACRH_SP5. */
6049 #define BM_AIPS_PACRH_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRH_SP5. */
6050 #define BS_AIPS_PACRH_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP5. */
6051
6052 /*! @brief Read current value of the AIPS_PACRH_SP5 field. */
6053 #define BR_AIPS_PACRH_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP5))
6054
6055 /*! @brief Format value for bitfield AIPS_PACRH_SP5. */
6056 #define BF_AIPS_PACRH_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP5) & BM_AIPS_PACRH_SP5)
6057
6058 /*! @brief Set the SP5 field to a new value. */
6059 #define BW_AIPS_PACRH_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP5) = (v))
6060 /*@}*/
6061
6062 /*!
6063 * @name Register AIPS_PACRH, field TP4[12] (RW)
6064 *
6065 * Determines whether the peripheral allows accesses from an untrusted master.
6066 * When this bit is set and an access is attempted by an untrusted master, the
6067 * access terminates with an error response and no peripheral access initiates.
6068 *
6069 * Values:
6070 * - 0 - Accesses from an untrusted master are allowed.
6071 * - 1 - Accesses from an untrusted master are not allowed.
6072 */
6073 /*@{*/
6074 #define BP_AIPS_PACRH_TP4 (12U) /*!< Bit position for AIPS_PACRH_TP4. */
6075 #define BM_AIPS_PACRH_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRH_TP4. */
6076 #define BS_AIPS_PACRH_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP4. */
6077
6078 /*! @brief Read current value of the AIPS_PACRH_TP4 field. */
6079 #define BR_AIPS_PACRH_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP4))
6080
6081 /*! @brief Format value for bitfield AIPS_PACRH_TP4. */
6082 #define BF_AIPS_PACRH_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP4) & BM_AIPS_PACRH_TP4)
6083
6084 /*! @brief Set the TP4 field to a new value. */
6085 #define BW_AIPS_PACRH_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP4) = (v))
6086 /*@}*/
6087
6088 /*!
6089 * @name Register AIPS_PACRH, field WP4[13] (RW)
6090 *
6091 * Determines whether the peripheral allows write accesses. When this field is
6092 * set and a write access is attempted, access terminates with an error response
6093 * and no peripheral access initiates.
6094 *
6095 * Values:
6096 * - 0 - This peripheral allows write accesses.
6097 * - 1 - This peripheral is write protected.
6098 */
6099 /*@{*/
6100 #define BP_AIPS_PACRH_WP4 (13U) /*!< Bit position for AIPS_PACRH_WP4. */
6101 #define BM_AIPS_PACRH_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRH_WP4. */
6102 #define BS_AIPS_PACRH_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP4. */
6103
6104 /*! @brief Read current value of the AIPS_PACRH_WP4 field. */
6105 #define BR_AIPS_PACRH_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP4))
6106
6107 /*! @brief Format value for bitfield AIPS_PACRH_WP4. */
6108 #define BF_AIPS_PACRH_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP4) & BM_AIPS_PACRH_WP4)
6109
6110 /*! @brief Set the WP4 field to a new value. */
6111 #define BW_AIPS_PACRH_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP4) = (v))
6112 /*@}*/
6113
6114 /*!
6115 * @name Register AIPS_PACRH, field SP4[14] (RW)
6116 *
6117 * Determines whether the peripheral requires supervisor privilege level for
6118 * access. When this bit is set, the master privilege level must indicate the
6119 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
6120 * set. If not, access terminates with an error response and no peripheral access
6121 * initiates.
6122 *
6123 * Values:
6124 * - 0 - This peripheral does not require supervisor privilege level for
6125 * accesses.
6126 * - 1 - This peripheral requires supervisor privilege level for accesses.
6127 */
6128 /*@{*/
6129 #define BP_AIPS_PACRH_SP4 (14U) /*!< Bit position for AIPS_PACRH_SP4. */
6130 #define BM_AIPS_PACRH_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRH_SP4. */
6131 #define BS_AIPS_PACRH_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP4. */
6132
6133 /*! @brief Read current value of the AIPS_PACRH_SP4 field. */
6134 #define BR_AIPS_PACRH_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP4))
6135
6136 /*! @brief Format value for bitfield AIPS_PACRH_SP4. */
6137 #define BF_AIPS_PACRH_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP4) & BM_AIPS_PACRH_SP4)
6138
6139 /*! @brief Set the SP4 field to a new value. */
6140 #define BW_AIPS_PACRH_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP4) = (v))
6141 /*@}*/
6142
6143 /*!
6144 * @name Register AIPS_PACRH, field TP3[16] (RW)
6145 *
6146 * Determines whether the peripheral allows accesses from an untrusted master.
6147 * When this field is set and an access is attempted by an untrusted master, the
6148 * access terminates with an error response and no peripheral access initiates.
6149 *
6150 * Values:
6151 * - 0 - Accesses from an untrusted master are allowed.
6152 * - 1 - Accesses from an untrusted master are not allowed.
6153 */
6154 /*@{*/
6155 #define BP_AIPS_PACRH_TP3 (16U) /*!< Bit position for AIPS_PACRH_TP3. */
6156 #define BM_AIPS_PACRH_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRH_TP3. */
6157 #define BS_AIPS_PACRH_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP3. */
6158
6159 /*! @brief Read current value of the AIPS_PACRH_TP3 field. */
6160 #define BR_AIPS_PACRH_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP3))
6161
6162 /*! @brief Format value for bitfield AIPS_PACRH_TP3. */
6163 #define BF_AIPS_PACRH_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP3) & BM_AIPS_PACRH_TP3)
6164
6165 /*! @brief Set the TP3 field to a new value. */
6166 #define BW_AIPS_PACRH_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP3) = (v))
6167 /*@}*/
6168
6169 /*!
6170 * @name Register AIPS_PACRH, field WP3[17] (RW)
6171 *
6172 * Determines whether the peripheral allows write accesss. When this bit is set
6173 * and a write access is attempted, access terminates with an error response and
6174 * no peripheral access initiates.
6175 *
6176 * Values:
6177 * - 0 - This peripheral allows write accesses.
6178 * - 1 - This peripheral is write protected.
6179 */
6180 /*@{*/
6181 #define BP_AIPS_PACRH_WP3 (17U) /*!< Bit position for AIPS_PACRH_WP3. */
6182 #define BM_AIPS_PACRH_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRH_WP3. */
6183 #define BS_AIPS_PACRH_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP3. */
6184
6185 /*! @brief Read current value of the AIPS_PACRH_WP3 field. */
6186 #define BR_AIPS_PACRH_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP3))
6187
6188 /*! @brief Format value for bitfield AIPS_PACRH_WP3. */
6189 #define BF_AIPS_PACRH_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP3) & BM_AIPS_PACRH_WP3)
6190
6191 /*! @brief Set the WP3 field to a new value. */
6192 #define BW_AIPS_PACRH_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP3) = (v))
6193 /*@}*/
6194
6195 /*!
6196 * @name Register AIPS_PACRH, field SP3[18] (RW)
6197 *
6198 * Determines whether the peripheral requires supervisor privilege level for
6199 * accesses. When this field is set, the master privilege level must indicate the
6200 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6201 * must be set. If not, access terminates with an error response and no peripheral
6202 * access initiates.
6203 *
6204 * Values:
6205 * - 0 - This peripheral does not require supervisor privilege level for
6206 * accesses.
6207 * - 1 - This peripheral requires supervisor privilege level for accesses.
6208 */
6209 /*@{*/
6210 #define BP_AIPS_PACRH_SP3 (18U) /*!< Bit position for AIPS_PACRH_SP3. */
6211 #define BM_AIPS_PACRH_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRH_SP3. */
6212 #define BS_AIPS_PACRH_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP3. */
6213
6214 /*! @brief Read current value of the AIPS_PACRH_SP3 field. */
6215 #define BR_AIPS_PACRH_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP3))
6216
6217 /*! @brief Format value for bitfield AIPS_PACRH_SP3. */
6218 #define BF_AIPS_PACRH_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP3) & BM_AIPS_PACRH_SP3)
6219
6220 /*! @brief Set the SP3 field to a new value. */
6221 #define BW_AIPS_PACRH_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP3) = (v))
6222 /*@}*/
6223
6224 /*!
6225 * @name Register AIPS_PACRH, field TP2[20] (RW)
6226 *
6227 * Determines whether the peripheral allows accesses from an untrusted master.
6228 * When this bit is set and an access is attempted by an untrusted master, the
6229 * access terminates with an error response and no peripheral access initiates.
6230 *
6231 * Values:
6232 * - 0 - Accesses from an untrusted master are allowed.
6233 * - 1 - Accesses from an untrusted master are not allowed.
6234 */
6235 /*@{*/
6236 #define BP_AIPS_PACRH_TP2 (20U) /*!< Bit position for AIPS_PACRH_TP2. */
6237 #define BM_AIPS_PACRH_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRH_TP2. */
6238 #define BS_AIPS_PACRH_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP2. */
6239
6240 /*! @brief Read current value of the AIPS_PACRH_TP2 field. */
6241 #define BR_AIPS_PACRH_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP2))
6242
6243 /*! @brief Format value for bitfield AIPS_PACRH_TP2. */
6244 #define BF_AIPS_PACRH_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP2) & BM_AIPS_PACRH_TP2)
6245
6246 /*! @brief Set the TP2 field to a new value. */
6247 #define BW_AIPS_PACRH_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP2) = (v))
6248 /*@}*/
6249
6250 /*!
6251 * @name Register AIPS_PACRH, field WP2[21] (RW)
6252 *
6253 * Determines whether the peripheral allows write accesses. When this field is
6254 * set and a write access is attempted, access terminates with an error response
6255 * and no peripheral access initiates.
6256 *
6257 * Values:
6258 * - 0 - This peripheral allows write accesses.
6259 * - 1 - This peripheral is write protected.
6260 */
6261 /*@{*/
6262 #define BP_AIPS_PACRH_WP2 (21U) /*!< Bit position for AIPS_PACRH_WP2. */
6263 #define BM_AIPS_PACRH_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRH_WP2. */
6264 #define BS_AIPS_PACRH_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP2. */
6265
6266 /*! @brief Read current value of the AIPS_PACRH_WP2 field. */
6267 #define BR_AIPS_PACRH_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP2))
6268
6269 /*! @brief Format value for bitfield AIPS_PACRH_WP2. */
6270 #define BF_AIPS_PACRH_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP2) & BM_AIPS_PACRH_WP2)
6271
6272 /*! @brief Set the WP2 field to a new value. */
6273 #define BW_AIPS_PACRH_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP2) = (v))
6274 /*@}*/
6275
6276 /*!
6277 * @name Register AIPS_PACRH, field SP2[22] (RW)
6278 *
6279 * Determines whether the peripheral requires supervisor privilege level for
6280 * access. When this bit is set, the master privilege level must indicate the
6281 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
6282 * set. If not, access terminates with an error response and no peripheral access
6283 * initiates.
6284 *
6285 * Values:
6286 * - 0 - This peripheral does not require supervisor privilege level for
6287 * accesses.
6288 * - 1 - This peripheral requires supervisor privilege level for accesses.
6289 */
6290 /*@{*/
6291 #define BP_AIPS_PACRH_SP2 (22U) /*!< Bit position for AIPS_PACRH_SP2. */
6292 #define BM_AIPS_PACRH_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRH_SP2. */
6293 #define BS_AIPS_PACRH_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP2. */
6294
6295 /*! @brief Read current value of the AIPS_PACRH_SP2 field. */
6296 #define BR_AIPS_PACRH_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP2))
6297
6298 /*! @brief Format value for bitfield AIPS_PACRH_SP2. */
6299 #define BF_AIPS_PACRH_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP2) & BM_AIPS_PACRH_SP2)
6300
6301 /*! @brief Set the SP2 field to a new value. */
6302 #define BW_AIPS_PACRH_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP2) = (v))
6303 /*@}*/
6304
6305 /*!
6306 * @name Register AIPS_PACRH, field TP1[24] (RW)
6307 *
6308 * Determines whether the peripheral allows accesses from an untrusted master.
6309 * When this field is set and an access is attempted by an untrusted master, the
6310 * access terminates with an error response and no peripheral access initiates.
6311 *
6312 * Values:
6313 * - 0 - Accesses from an untrusted master are allowed.
6314 * - 1 - Accesses from an untrusted master are not allowed.
6315 */
6316 /*@{*/
6317 #define BP_AIPS_PACRH_TP1 (24U) /*!< Bit position for AIPS_PACRH_TP1. */
6318 #define BM_AIPS_PACRH_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRH_TP1. */
6319 #define BS_AIPS_PACRH_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP1. */
6320
6321 /*! @brief Read current value of the AIPS_PACRH_TP1 field. */
6322 #define BR_AIPS_PACRH_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP1))
6323
6324 /*! @brief Format value for bitfield AIPS_PACRH_TP1. */
6325 #define BF_AIPS_PACRH_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP1) & BM_AIPS_PACRH_TP1)
6326
6327 /*! @brief Set the TP1 field to a new value. */
6328 #define BW_AIPS_PACRH_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP1) = (v))
6329 /*@}*/
6330
6331 /*!
6332 * @name Register AIPS_PACRH, field WP1[25] (RW)
6333 *
6334 * Determines whether the peripheral allows write accesses. When this field is
6335 * set and a write access is attempted, access terminates with an error response
6336 * and no peripheral access initiates.
6337 *
6338 * Values:
6339 * - 0 - This peripheral allows write accesses.
6340 * - 1 - This peripheral is write protected.
6341 */
6342 /*@{*/
6343 #define BP_AIPS_PACRH_WP1 (25U) /*!< Bit position for AIPS_PACRH_WP1. */
6344 #define BM_AIPS_PACRH_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRH_WP1. */
6345 #define BS_AIPS_PACRH_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP1. */
6346
6347 /*! @brief Read current value of the AIPS_PACRH_WP1 field. */
6348 #define BR_AIPS_PACRH_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP1))
6349
6350 /*! @brief Format value for bitfield AIPS_PACRH_WP1. */
6351 #define BF_AIPS_PACRH_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP1) & BM_AIPS_PACRH_WP1)
6352
6353 /*! @brief Set the WP1 field to a new value. */
6354 #define BW_AIPS_PACRH_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP1) = (v))
6355 /*@}*/
6356
6357 /*!
6358 * @name Register AIPS_PACRH, field SP1[26] (RW)
6359 *
6360 * Determines whether the peripheral requires supervisor privilege level for
6361 * access. When this field is set, the master privilege level must indicate the
6362 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
6363 * be set. If not, access terminates with an error response and no peripheral
6364 * access initiates.
6365 *
6366 * Values:
6367 * - 0 - This peripheral does not require supervisor privilege level for
6368 * accesses.
6369 * - 1 - This peripheral requires supervisor privilege level for accesses.
6370 */
6371 /*@{*/
6372 #define BP_AIPS_PACRH_SP1 (26U) /*!< Bit position for AIPS_PACRH_SP1. */
6373 #define BM_AIPS_PACRH_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRH_SP1. */
6374 #define BS_AIPS_PACRH_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP1. */
6375
6376 /*! @brief Read current value of the AIPS_PACRH_SP1 field. */
6377 #define BR_AIPS_PACRH_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP1))
6378
6379 /*! @brief Format value for bitfield AIPS_PACRH_SP1. */
6380 #define BF_AIPS_PACRH_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP1) & BM_AIPS_PACRH_SP1)
6381
6382 /*! @brief Set the SP1 field to a new value. */
6383 #define BW_AIPS_PACRH_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP1) = (v))
6384 /*@}*/
6385
6386 /*!
6387 * @name Register AIPS_PACRH, field TP0[28] (RW)
6388 *
6389 * Determines whether the peripheral allows accesses from an untrusted master.
6390 * When this bit is set and an access is attempted by an untrusted master, the
6391 * access terminates with an error response and no peripheral access initiates.
6392 *
6393 * Values:
6394 * - 0 - Accesses from an untrusted master are allowed.
6395 * - 1 - Accesses from an untrusted master are not allowed.
6396 */
6397 /*@{*/
6398 #define BP_AIPS_PACRH_TP0 (28U) /*!< Bit position for AIPS_PACRH_TP0. */
6399 #define BM_AIPS_PACRH_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRH_TP0. */
6400 #define BS_AIPS_PACRH_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRH_TP0. */
6401
6402 /*! @brief Read current value of the AIPS_PACRH_TP0 field. */
6403 #define BR_AIPS_PACRH_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP0))
6404
6405 /*! @brief Format value for bitfield AIPS_PACRH_TP0. */
6406 #define BF_AIPS_PACRH_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_TP0) & BM_AIPS_PACRH_TP0)
6407
6408 /*! @brief Set the TP0 field to a new value. */
6409 #define BW_AIPS_PACRH_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_TP0) = (v))
6410 /*@}*/
6411
6412 /*!
6413 * @name Register AIPS_PACRH, field WP0[29] (RW)
6414 *
6415 * Determines whether the peripheral allows write accesses. When this field is
6416 * set and a write access is attempted, access terminates with an error response
6417 * and no peripheral access initiates.
6418 *
6419 * Values:
6420 * - 0 - This peripheral allows write accesses.
6421 * - 1 - This peripheral is write protected.
6422 */
6423 /*@{*/
6424 #define BP_AIPS_PACRH_WP0 (29U) /*!< Bit position for AIPS_PACRH_WP0. */
6425 #define BM_AIPS_PACRH_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRH_WP0. */
6426 #define BS_AIPS_PACRH_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRH_WP0. */
6427
6428 /*! @brief Read current value of the AIPS_PACRH_WP0 field. */
6429 #define BR_AIPS_PACRH_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP0))
6430
6431 /*! @brief Format value for bitfield AIPS_PACRH_WP0. */
6432 #define BF_AIPS_PACRH_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_WP0) & BM_AIPS_PACRH_WP0)
6433
6434 /*! @brief Set the WP0 field to a new value. */
6435 #define BW_AIPS_PACRH_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_WP0) = (v))
6436 /*@}*/
6437
6438 /*!
6439 * @name Register AIPS_PACRH, field SP0[30] (RW)
6440 *
6441 * Determines whether the peripheral requires supervisor privilege level for
6442 * accesses. When this field is set, the master privilege level must indicate the
6443 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6444 * must be set. If not, access terminates with an error response and no peripheral
6445 * access initiates.
6446 *
6447 * Values:
6448 * - 0 - This peripheral does not require supervisor privilege level for
6449 * accesses.
6450 * - 1 - This peripheral requires supervisor privilege level for accesses.
6451 */
6452 /*@{*/
6453 #define BP_AIPS_PACRH_SP0 (30U) /*!< Bit position for AIPS_PACRH_SP0. */
6454 #define BM_AIPS_PACRH_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRH_SP0. */
6455 #define BS_AIPS_PACRH_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRH_SP0. */
6456
6457 /*! @brief Read current value of the AIPS_PACRH_SP0 field. */
6458 #define BR_AIPS_PACRH_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP0))
6459
6460 /*! @brief Format value for bitfield AIPS_PACRH_SP0. */
6461 #define BF_AIPS_PACRH_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRH_SP0) & BM_AIPS_PACRH_SP0)
6462
6463 /*! @brief Set the SP0 field to a new value. */
6464 #define BW_AIPS_PACRH_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRH_ADDR(x), BP_AIPS_PACRH_SP0) = (v))
6465 /*@}*/
6466
6467 /*******************************************************************************
6468 * HW_AIPS_PACRI - Peripheral Access Control Register
6469 ******************************************************************************/
6470
6471 /*!
6472 * @brief HW_AIPS_PACRI - Peripheral Access Control Register (RW)
6473 *
6474 * Reset value: 0x44444444U
6475 *
6476 * This section describes PACR registers E-P, which control peripheral slots
6477 * 32-127. See PACRPeripheral Access Control Register for the description of these
6478 * registers.
6479 */
6480 typedef union _hw_aips_pacri
6481 {
6482 uint32_t U;
6483 struct _hw_aips_pacri_bitfields
6484 {
6485 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
6486 uint32_t WP7 : 1; /*!< [1] Write Protect */
6487 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
6488 uint32_t RESERVED0 : 1; /*!< [3] */
6489 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
6490 uint32_t WP6 : 1; /*!< [5] Write Protect */
6491 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
6492 uint32_t RESERVED1 : 1; /*!< [7] */
6493 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
6494 uint32_t WP5 : 1; /*!< [9] Write Protect */
6495 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
6496 uint32_t RESERVED2 : 1; /*!< [11] */
6497 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
6498 uint32_t WP4 : 1; /*!< [13] Write Protect */
6499 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
6500 uint32_t RESERVED3 : 1; /*!< [15] */
6501 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
6502 uint32_t WP3 : 1; /*!< [17] Write Protect */
6503 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
6504 uint32_t RESERVED4 : 1; /*!< [19] */
6505 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
6506 uint32_t WP2 : 1; /*!< [21] Write Protect */
6507 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
6508 uint32_t RESERVED5 : 1; /*!< [23] */
6509 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
6510 uint32_t WP1 : 1; /*!< [25] Write Protect */
6511 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
6512 uint32_t RESERVED6 : 1; /*!< [27] */
6513 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
6514 uint32_t WP0 : 1; /*!< [29] Write Protect */
6515 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
6516 uint32_t RESERVED7 : 1; /*!< [31] */
6517 } B;
6518 } hw_aips_pacri_t;
6519
6520 /*!
6521 * @name Constants and macros for entire AIPS_PACRI register
6522 */
6523 /*@{*/
6524 #define HW_AIPS_PACRI_ADDR(x) ((x) + 0x50U)
6525
6526 #define HW_AIPS_PACRI(x) (*(__IO hw_aips_pacri_t *) HW_AIPS_PACRI_ADDR(x))
6527 #define HW_AIPS_PACRI_RD(x) (HW_AIPS_PACRI(x).U)
6528 #define HW_AIPS_PACRI_WR(x, v) (HW_AIPS_PACRI(x).U = (v))
6529 #define HW_AIPS_PACRI_SET(x, v) (HW_AIPS_PACRI_WR(x, HW_AIPS_PACRI_RD(x) | (v)))
6530 #define HW_AIPS_PACRI_CLR(x, v) (HW_AIPS_PACRI_WR(x, HW_AIPS_PACRI_RD(x) & ~(v)))
6531 #define HW_AIPS_PACRI_TOG(x, v) (HW_AIPS_PACRI_WR(x, HW_AIPS_PACRI_RD(x) ^ (v)))
6532 /*@}*/
6533
6534 /*
6535 * Constants & macros for individual AIPS_PACRI bitfields
6536 */
6537
6538 /*!
6539 * @name Register AIPS_PACRI, field TP7[0] (RW)
6540 *
6541 * Determines whether the peripheral allows accesses from an untrusted master.
6542 * When this field is set and an access is attempted by an untrusted master, the
6543 * access terminates with an error response and no peripheral access initiates.
6544 *
6545 * Values:
6546 * - 0 - Accesses from an untrusted master are allowed.
6547 * - 1 - Accesses from an untrusted master are not allowed.
6548 */
6549 /*@{*/
6550 #define BP_AIPS_PACRI_TP7 (0U) /*!< Bit position for AIPS_PACRI_TP7. */
6551 #define BM_AIPS_PACRI_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRI_TP7. */
6552 #define BS_AIPS_PACRI_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP7. */
6553
6554 /*! @brief Read current value of the AIPS_PACRI_TP7 field. */
6555 #define BR_AIPS_PACRI_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP7))
6556
6557 /*! @brief Format value for bitfield AIPS_PACRI_TP7. */
6558 #define BF_AIPS_PACRI_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP7) & BM_AIPS_PACRI_TP7)
6559
6560 /*! @brief Set the TP7 field to a new value. */
6561 #define BW_AIPS_PACRI_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP7) = (v))
6562 /*@}*/
6563
6564 /*!
6565 * @name Register AIPS_PACRI, field WP7[1] (RW)
6566 *
6567 * Determines whether the peripheral allows write accesses. When this field is
6568 * set and a write access is attempted, access terminates with an error response
6569 * and no peripheral access initiates.
6570 *
6571 * Values:
6572 * - 0 - This peripheral allows write accesses.
6573 * - 1 - This peripheral is write protected.
6574 */
6575 /*@{*/
6576 #define BP_AIPS_PACRI_WP7 (1U) /*!< Bit position for AIPS_PACRI_WP7. */
6577 #define BM_AIPS_PACRI_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRI_WP7. */
6578 #define BS_AIPS_PACRI_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP7. */
6579
6580 /*! @brief Read current value of the AIPS_PACRI_WP7 field. */
6581 #define BR_AIPS_PACRI_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP7))
6582
6583 /*! @brief Format value for bitfield AIPS_PACRI_WP7. */
6584 #define BF_AIPS_PACRI_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP7) & BM_AIPS_PACRI_WP7)
6585
6586 /*! @brief Set the WP7 field to a new value. */
6587 #define BW_AIPS_PACRI_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP7) = (v))
6588 /*@}*/
6589
6590 /*!
6591 * @name Register AIPS_PACRI, field SP7[2] (RW)
6592 *
6593 * Determines whether the peripheral requires supervisor privilege level for
6594 * accesses. When this field is set, the master privilege level must indicate the
6595 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6596 * must be set. If not, access terminates with an error response and no peripheral
6597 * access initiates.
6598 *
6599 * Values:
6600 * - 0 - This peripheral does not require supervisor privilege level for
6601 * accesses.
6602 * - 1 - This peripheral requires supervisor privilege level for accesses.
6603 */
6604 /*@{*/
6605 #define BP_AIPS_PACRI_SP7 (2U) /*!< Bit position for AIPS_PACRI_SP7. */
6606 #define BM_AIPS_PACRI_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRI_SP7. */
6607 #define BS_AIPS_PACRI_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP7. */
6608
6609 /*! @brief Read current value of the AIPS_PACRI_SP7 field. */
6610 #define BR_AIPS_PACRI_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP7))
6611
6612 /*! @brief Format value for bitfield AIPS_PACRI_SP7. */
6613 #define BF_AIPS_PACRI_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP7) & BM_AIPS_PACRI_SP7)
6614
6615 /*! @brief Set the SP7 field to a new value. */
6616 #define BW_AIPS_PACRI_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP7) = (v))
6617 /*@}*/
6618
6619 /*!
6620 * @name Register AIPS_PACRI, field TP6[4] (RW)
6621 *
6622 * Determines whether the peripheral allows accesses from an untrusted master.
6623 * When this field is set and an access is attempted by an untrusted master, the
6624 * access terminates with an error response and no peripheral access initiates.
6625 *
6626 * Values:
6627 * - 0 - Accesses from an untrusted master are allowed.
6628 * - 1 - Accesses from an untrusted master are not allowed.
6629 */
6630 /*@{*/
6631 #define BP_AIPS_PACRI_TP6 (4U) /*!< Bit position for AIPS_PACRI_TP6. */
6632 #define BM_AIPS_PACRI_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRI_TP6. */
6633 #define BS_AIPS_PACRI_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP6. */
6634
6635 /*! @brief Read current value of the AIPS_PACRI_TP6 field. */
6636 #define BR_AIPS_PACRI_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP6))
6637
6638 /*! @brief Format value for bitfield AIPS_PACRI_TP6. */
6639 #define BF_AIPS_PACRI_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP6) & BM_AIPS_PACRI_TP6)
6640
6641 /*! @brief Set the TP6 field to a new value. */
6642 #define BW_AIPS_PACRI_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP6) = (v))
6643 /*@}*/
6644
6645 /*!
6646 * @name Register AIPS_PACRI, field WP6[5] (RW)
6647 *
6648 * Determines whether the peripheral allows write accesses. When this field is
6649 * set and a write access is attempted, access terminates with an error response
6650 * and no peripheral access initiates.
6651 *
6652 * Values:
6653 * - 0 - This peripheral allows write accesses.
6654 * - 1 - This peripheral is write protected.
6655 */
6656 /*@{*/
6657 #define BP_AIPS_PACRI_WP6 (5U) /*!< Bit position for AIPS_PACRI_WP6. */
6658 #define BM_AIPS_PACRI_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRI_WP6. */
6659 #define BS_AIPS_PACRI_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP6. */
6660
6661 /*! @brief Read current value of the AIPS_PACRI_WP6 field. */
6662 #define BR_AIPS_PACRI_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP6))
6663
6664 /*! @brief Format value for bitfield AIPS_PACRI_WP6. */
6665 #define BF_AIPS_PACRI_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP6) & BM_AIPS_PACRI_WP6)
6666
6667 /*! @brief Set the WP6 field to a new value. */
6668 #define BW_AIPS_PACRI_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP6) = (v))
6669 /*@}*/
6670
6671 /*!
6672 * @name Register AIPS_PACRI, field SP6[6] (RW)
6673 *
6674 * Determines whether the peripheral requires supervisor privilege level for
6675 * accesses. When this field is set, the master privilege level must indicate the
6676 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6677 * must be set. If not, access terminates with an error response and no peripheral
6678 * access initiates.
6679 *
6680 * Values:
6681 * - 0 - This peripheral does not require supervisor privilege level for
6682 * accesses.
6683 * - 1 - This peripheral requires supervisor privilege level for accesses.
6684 */
6685 /*@{*/
6686 #define BP_AIPS_PACRI_SP6 (6U) /*!< Bit position for AIPS_PACRI_SP6. */
6687 #define BM_AIPS_PACRI_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRI_SP6. */
6688 #define BS_AIPS_PACRI_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP6. */
6689
6690 /*! @brief Read current value of the AIPS_PACRI_SP6 field. */
6691 #define BR_AIPS_PACRI_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP6))
6692
6693 /*! @brief Format value for bitfield AIPS_PACRI_SP6. */
6694 #define BF_AIPS_PACRI_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP6) & BM_AIPS_PACRI_SP6)
6695
6696 /*! @brief Set the SP6 field to a new value. */
6697 #define BW_AIPS_PACRI_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP6) = (v))
6698 /*@}*/
6699
6700 /*!
6701 * @name Register AIPS_PACRI, field TP5[8] (RW)
6702 *
6703 * Determines whether the peripheral allows accesses from an untrusted master.
6704 * When this field is set and an access is attempted by an untrusted master, the
6705 * access terminates with an error response and no peripheral access initiates.
6706 *
6707 * Values:
6708 * - 0 - Accesses from an untrusted master are allowed.
6709 * - 1 - Accesses from an untrusted master are not allowed.
6710 */
6711 /*@{*/
6712 #define BP_AIPS_PACRI_TP5 (8U) /*!< Bit position for AIPS_PACRI_TP5. */
6713 #define BM_AIPS_PACRI_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRI_TP5. */
6714 #define BS_AIPS_PACRI_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP5. */
6715
6716 /*! @brief Read current value of the AIPS_PACRI_TP5 field. */
6717 #define BR_AIPS_PACRI_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP5))
6718
6719 /*! @brief Format value for bitfield AIPS_PACRI_TP5. */
6720 #define BF_AIPS_PACRI_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP5) & BM_AIPS_PACRI_TP5)
6721
6722 /*! @brief Set the TP5 field to a new value. */
6723 #define BW_AIPS_PACRI_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP5) = (v))
6724 /*@}*/
6725
6726 /*!
6727 * @name Register AIPS_PACRI, field WP5[9] (RW)
6728 *
6729 * Determines whether the peripheral allows write accesses. When this field is
6730 * set and a write access is attempted, access terminates with an error response
6731 * and no peripheral access initiates.
6732 *
6733 * Values:
6734 * - 0 - This peripheral allows write accesses.
6735 * - 1 - This peripheral is write protected.
6736 */
6737 /*@{*/
6738 #define BP_AIPS_PACRI_WP5 (9U) /*!< Bit position for AIPS_PACRI_WP5. */
6739 #define BM_AIPS_PACRI_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRI_WP5. */
6740 #define BS_AIPS_PACRI_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP5. */
6741
6742 /*! @brief Read current value of the AIPS_PACRI_WP5 field. */
6743 #define BR_AIPS_PACRI_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP5))
6744
6745 /*! @brief Format value for bitfield AIPS_PACRI_WP5. */
6746 #define BF_AIPS_PACRI_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP5) & BM_AIPS_PACRI_WP5)
6747
6748 /*! @brief Set the WP5 field to a new value. */
6749 #define BW_AIPS_PACRI_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP5) = (v))
6750 /*@}*/
6751
6752 /*!
6753 * @name Register AIPS_PACRI, field SP5[10] (RW)
6754 *
6755 * Determines whether the peripheral requires supervisor privilege level for
6756 * accesses. When this field is set, the master privilege level must indicate the
6757 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6758 * must be set. If not, access terminates with an error response and no peripheral
6759 * access initiates.
6760 *
6761 * Values:
6762 * - 0 - This peripheral does not require supervisor privilege level for
6763 * accesses.
6764 * - 1 - This peripheral requires supervisor privilege level for accesses.
6765 */
6766 /*@{*/
6767 #define BP_AIPS_PACRI_SP5 (10U) /*!< Bit position for AIPS_PACRI_SP5. */
6768 #define BM_AIPS_PACRI_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRI_SP5. */
6769 #define BS_AIPS_PACRI_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP5. */
6770
6771 /*! @brief Read current value of the AIPS_PACRI_SP5 field. */
6772 #define BR_AIPS_PACRI_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP5))
6773
6774 /*! @brief Format value for bitfield AIPS_PACRI_SP5. */
6775 #define BF_AIPS_PACRI_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP5) & BM_AIPS_PACRI_SP5)
6776
6777 /*! @brief Set the SP5 field to a new value. */
6778 #define BW_AIPS_PACRI_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP5) = (v))
6779 /*@}*/
6780
6781 /*!
6782 * @name Register AIPS_PACRI, field TP4[12] (RW)
6783 *
6784 * Determines whether the peripheral allows accesses from an untrusted master.
6785 * When this bit is set and an access is attempted by an untrusted master, the
6786 * access terminates with an error response and no peripheral access initiates.
6787 *
6788 * Values:
6789 * - 0 - Accesses from an untrusted master are allowed.
6790 * - 1 - Accesses from an untrusted master are not allowed.
6791 */
6792 /*@{*/
6793 #define BP_AIPS_PACRI_TP4 (12U) /*!< Bit position for AIPS_PACRI_TP4. */
6794 #define BM_AIPS_PACRI_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRI_TP4. */
6795 #define BS_AIPS_PACRI_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP4. */
6796
6797 /*! @brief Read current value of the AIPS_PACRI_TP4 field. */
6798 #define BR_AIPS_PACRI_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP4))
6799
6800 /*! @brief Format value for bitfield AIPS_PACRI_TP4. */
6801 #define BF_AIPS_PACRI_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP4) & BM_AIPS_PACRI_TP4)
6802
6803 /*! @brief Set the TP4 field to a new value. */
6804 #define BW_AIPS_PACRI_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP4) = (v))
6805 /*@}*/
6806
6807 /*!
6808 * @name Register AIPS_PACRI, field WP4[13] (RW)
6809 *
6810 * Determines whether the peripheral allows write accesses. When this field is
6811 * set and a write access is attempted, access terminates with an error response
6812 * and no peripheral access initiates.
6813 *
6814 * Values:
6815 * - 0 - This peripheral allows write accesses.
6816 * - 1 - This peripheral is write protected.
6817 */
6818 /*@{*/
6819 #define BP_AIPS_PACRI_WP4 (13U) /*!< Bit position for AIPS_PACRI_WP4. */
6820 #define BM_AIPS_PACRI_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRI_WP4. */
6821 #define BS_AIPS_PACRI_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP4. */
6822
6823 /*! @brief Read current value of the AIPS_PACRI_WP4 field. */
6824 #define BR_AIPS_PACRI_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP4))
6825
6826 /*! @brief Format value for bitfield AIPS_PACRI_WP4. */
6827 #define BF_AIPS_PACRI_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP4) & BM_AIPS_PACRI_WP4)
6828
6829 /*! @brief Set the WP4 field to a new value. */
6830 #define BW_AIPS_PACRI_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP4) = (v))
6831 /*@}*/
6832
6833 /*!
6834 * @name Register AIPS_PACRI, field SP4[14] (RW)
6835 *
6836 * Determines whether the peripheral requires supervisor privilege level for
6837 * access. When this bit is set, the master privilege level must indicate the
6838 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
6839 * set. If not, access terminates with an error response and no peripheral access
6840 * initiates.
6841 *
6842 * Values:
6843 * - 0 - This peripheral does not require supervisor privilege level for
6844 * accesses.
6845 * - 1 - This peripheral requires supervisor privilege level for accesses.
6846 */
6847 /*@{*/
6848 #define BP_AIPS_PACRI_SP4 (14U) /*!< Bit position for AIPS_PACRI_SP4. */
6849 #define BM_AIPS_PACRI_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRI_SP4. */
6850 #define BS_AIPS_PACRI_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP4. */
6851
6852 /*! @brief Read current value of the AIPS_PACRI_SP4 field. */
6853 #define BR_AIPS_PACRI_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP4))
6854
6855 /*! @brief Format value for bitfield AIPS_PACRI_SP4. */
6856 #define BF_AIPS_PACRI_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP4) & BM_AIPS_PACRI_SP4)
6857
6858 /*! @brief Set the SP4 field to a new value. */
6859 #define BW_AIPS_PACRI_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP4) = (v))
6860 /*@}*/
6861
6862 /*!
6863 * @name Register AIPS_PACRI, field TP3[16] (RW)
6864 *
6865 * Determines whether the peripheral allows accesses from an untrusted master.
6866 * When this field is set and an access is attempted by an untrusted master, the
6867 * access terminates with an error response and no peripheral access initiates.
6868 *
6869 * Values:
6870 * - 0 - Accesses from an untrusted master are allowed.
6871 * - 1 - Accesses from an untrusted master are not allowed.
6872 */
6873 /*@{*/
6874 #define BP_AIPS_PACRI_TP3 (16U) /*!< Bit position for AIPS_PACRI_TP3. */
6875 #define BM_AIPS_PACRI_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRI_TP3. */
6876 #define BS_AIPS_PACRI_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP3. */
6877
6878 /*! @brief Read current value of the AIPS_PACRI_TP3 field. */
6879 #define BR_AIPS_PACRI_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP3))
6880
6881 /*! @brief Format value for bitfield AIPS_PACRI_TP3. */
6882 #define BF_AIPS_PACRI_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP3) & BM_AIPS_PACRI_TP3)
6883
6884 /*! @brief Set the TP3 field to a new value. */
6885 #define BW_AIPS_PACRI_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP3) = (v))
6886 /*@}*/
6887
6888 /*!
6889 * @name Register AIPS_PACRI, field WP3[17] (RW)
6890 *
6891 * Determines whether the peripheral allows write accesss. When this bit is set
6892 * and a write access is attempted, access terminates with an error response and
6893 * no peripheral access initiates.
6894 *
6895 * Values:
6896 * - 0 - This peripheral allows write accesses.
6897 * - 1 - This peripheral is write protected.
6898 */
6899 /*@{*/
6900 #define BP_AIPS_PACRI_WP3 (17U) /*!< Bit position for AIPS_PACRI_WP3. */
6901 #define BM_AIPS_PACRI_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRI_WP3. */
6902 #define BS_AIPS_PACRI_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP3. */
6903
6904 /*! @brief Read current value of the AIPS_PACRI_WP3 field. */
6905 #define BR_AIPS_PACRI_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP3))
6906
6907 /*! @brief Format value for bitfield AIPS_PACRI_WP3. */
6908 #define BF_AIPS_PACRI_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP3) & BM_AIPS_PACRI_WP3)
6909
6910 /*! @brief Set the WP3 field to a new value. */
6911 #define BW_AIPS_PACRI_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP3) = (v))
6912 /*@}*/
6913
6914 /*!
6915 * @name Register AIPS_PACRI, field SP3[18] (RW)
6916 *
6917 * Determines whether the peripheral requires supervisor privilege level for
6918 * accesses. When this field is set, the master privilege level must indicate the
6919 * supervisor access attribute, and the MPRx[MPLn] control field for the master
6920 * must be set. If not, access terminates with an error response and no peripheral
6921 * access initiates.
6922 *
6923 * Values:
6924 * - 0 - This peripheral does not require supervisor privilege level for
6925 * accesses.
6926 * - 1 - This peripheral requires supervisor privilege level for accesses.
6927 */
6928 /*@{*/
6929 #define BP_AIPS_PACRI_SP3 (18U) /*!< Bit position for AIPS_PACRI_SP3. */
6930 #define BM_AIPS_PACRI_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRI_SP3. */
6931 #define BS_AIPS_PACRI_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP3. */
6932
6933 /*! @brief Read current value of the AIPS_PACRI_SP3 field. */
6934 #define BR_AIPS_PACRI_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP3))
6935
6936 /*! @brief Format value for bitfield AIPS_PACRI_SP3. */
6937 #define BF_AIPS_PACRI_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP3) & BM_AIPS_PACRI_SP3)
6938
6939 /*! @brief Set the SP3 field to a new value. */
6940 #define BW_AIPS_PACRI_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP3) = (v))
6941 /*@}*/
6942
6943 /*!
6944 * @name Register AIPS_PACRI, field TP2[20] (RW)
6945 *
6946 * Determines whether the peripheral allows accesses from an untrusted master.
6947 * When this bit is set and an access is attempted by an untrusted master, the
6948 * access terminates with an error response and no peripheral access initiates.
6949 *
6950 * Values:
6951 * - 0 - Accesses from an untrusted master are allowed.
6952 * - 1 - Accesses from an untrusted master are not allowed.
6953 */
6954 /*@{*/
6955 #define BP_AIPS_PACRI_TP2 (20U) /*!< Bit position for AIPS_PACRI_TP2. */
6956 #define BM_AIPS_PACRI_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRI_TP2. */
6957 #define BS_AIPS_PACRI_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP2. */
6958
6959 /*! @brief Read current value of the AIPS_PACRI_TP2 field. */
6960 #define BR_AIPS_PACRI_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP2))
6961
6962 /*! @brief Format value for bitfield AIPS_PACRI_TP2. */
6963 #define BF_AIPS_PACRI_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP2) & BM_AIPS_PACRI_TP2)
6964
6965 /*! @brief Set the TP2 field to a new value. */
6966 #define BW_AIPS_PACRI_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP2) = (v))
6967 /*@}*/
6968
6969 /*!
6970 * @name Register AIPS_PACRI, field WP2[21] (RW)
6971 *
6972 * Determines whether the peripheral allows write accesses. When this field is
6973 * set and a write access is attempted, access terminates with an error response
6974 * and no peripheral access initiates.
6975 *
6976 * Values:
6977 * - 0 - This peripheral allows write accesses.
6978 * - 1 - This peripheral is write protected.
6979 */
6980 /*@{*/
6981 #define BP_AIPS_PACRI_WP2 (21U) /*!< Bit position for AIPS_PACRI_WP2. */
6982 #define BM_AIPS_PACRI_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRI_WP2. */
6983 #define BS_AIPS_PACRI_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP2. */
6984
6985 /*! @brief Read current value of the AIPS_PACRI_WP2 field. */
6986 #define BR_AIPS_PACRI_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP2))
6987
6988 /*! @brief Format value for bitfield AIPS_PACRI_WP2. */
6989 #define BF_AIPS_PACRI_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP2) & BM_AIPS_PACRI_WP2)
6990
6991 /*! @brief Set the WP2 field to a new value. */
6992 #define BW_AIPS_PACRI_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP2) = (v))
6993 /*@}*/
6994
6995 /*!
6996 * @name Register AIPS_PACRI, field SP2[22] (RW)
6997 *
6998 * Determines whether the peripheral requires supervisor privilege level for
6999 * access. When this bit is set, the master privilege level must indicate the
7000 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
7001 * set. If not, access terminates with an error response and no peripheral access
7002 * initiates.
7003 *
7004 * Values:
7005 * - 0 - This peripheral does not require supervisor privilege level for
7006 * accesses.
7007 * - 1 - This peripheral requires supervisor privilege level for accesses.
7008 */
7009 /*@{*/
7010 #define BP_AIPS_PACRI_SP2 (22U) /*!< Bit position for AIPS_PACRI_SP2. */
7011 #define BM_AIPS_PACRI_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRI_SP2. */
7012 #define BS_AIPS_PACRI_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP2. */
7013
7014 /*! @brief Read current value of the AIPS_PACRI_SP2 field. */
7015 #define BR_AIPS_PACRI_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP2))
7016
7017 /*! @brief Format value for bitfield AIPS_PACRI_SP2. */
7018 #define BF_AIPS_PACRI_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP2) & BM_AIPS_PACRI_SP2)
7019
7020 /*! @brief Set the SP2 field to a new value. */
7021 #define BW_AIPS_PACRI_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP2) = (v))
7022 /*@}*/
7023
7024 /*!
7025 * @name Register AIPS_PACRI, field TP1[24] (RW)
7026 *
7027 * Determines whether the peripheral allows accesses from an untrusted master.
7028 * When this field is set and an access is attempted by an untrusted master, the
7029 * access terminates with an error response and no peripheral access initiates.
7030 *
7031 * Values:
7032 * - 0 - Accesses from an untrusted master are allowed.
7033 * - 1 - Accesses from an untrusted master are not allowed.
7034 */
7035 /*@{*/
7036 #define BP_AIPS_PACRI_TP1 (24U) /*!< Bit position for AIPS_PACRI_TP1. */
7037 #define BM_AIPS_PACRI_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRI_TP1. */
7038 #define BS_AIPS_PACRI_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP1. */
7039
7040 /*! @brief Read current value of the AIPS_PACRI_TP1 field. */
7041 #define BR_AIPS_PACRI_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP1))
7042
7043 /*! @brief Format value for bitfield AIPS_PACRI_TP1. */
7044 #define BF_AIPS_PACRI_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP1) & BM_AIPS_PACRI_TP1)
7045
7046 /*! @brief Set the TP1 field to a new value. */
7047 #define BW_AIPS_PACRI_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP1) = (v))
7048 /*@}*/
7049
7050 /*!
7051 * @name Register AIPS_PACRI, field WP1[25] (RW)
7052 *
7053 * Determines whether the peripheral allows write accesses. When this field is
7054 * set and a write access is attempted, access terminates with an error response
7055 * and no peripheral access initiates.
7056 *
7057 * Values:
7058 * - 0 - This peripheral allows write accesses.
7059 * - 1 - This peripheral is write protected.
7060 */
7061 /*@{*/
7062 #define BP_AIPS_PACRI_WP1 (25U) /*!< Bit position for AIPS_PACRI_WP1. */
7063 #define BM_AIPS_PACRI_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRI_WP1. */
7064 #define BS_AIPS_PACRI_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP1. */
7065
7066 /*! @brief Read current value of the AIPS_PACRI_WP1 field. */
7067 #define BR_AIPS_PACRI_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP1))
7068
7069 /*! @brief Format value for bitfield AIPS_PACRI_WP1. */
7070 #define BF_AIPS_PACRI_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP1) & BM_AIPS_PACRI_WP1)
7071
7072 /*! @brief Set the WP1 field to a new value. */
7073 #define BW_AIPS_PACRI_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP1) = (v))
7074 /*@}*/
7075
7076 /*!
7077 * @name Register AIPS_PACRI, field SP1[26] (RW)
7078 *
7079 * Determines whether the peripheral requires supervisor privilege level for
7080 * access. When this field is set, the master privilege level must indicate the
7081 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
7082 * be set. If not, access terminates with an error response and no peripheral
7083 * access initiates.
7084 *
7085 * Values:
7086 * - 0 - This peripheral does not require supervisor privilege level for
7087 * accesses.
7088 * - 1 - This peripheral requires supervisor privilege level for accesses.
7089 */
7090 /*@{*/
7091 #define BP_AIPS_PACRI_SP1 (26U) /*!< Bit position for AIPS_PACRI_SP1. */
7092 #define BM_AIPS_PACRI_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRI_SP1. */
7093 #define BS_AIPS_PACRI_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP1. */
7094
7095 /*! @brief Read current value of the AIPS_PACRI_SP1 field. */
7096 #define BR_AIPS_PACRI_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP1))
7097
7098 /*! @brief Format value for bitfield AIPS_PACRI_SP1. */
7099 #define BF_AIPS_PACRI_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP1) & BM_AIPS_PACRI_SP1)
7100
7101 /*! @brief Set the SP1 field to a new value. */
7102 #define BW_AIPS_PACRI_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP1) = (v))
7103 /*@}*/
7104
7105 /*!
7106 * @name Register AIPS_PACRI, field TP0[28] (RW)
7107 *
7108 * Determines whether the peripheral allows accesses from an untrusted master.
7109 * When this bit is set and an access is attempted by an untrusted master, the
7110 * access terminates with an error response and no peripheral access initiates.
7111 *
7112 * Values:
7113 * - 0 - Accesses from an untrusted master are allowed.
7114 * - 1 - Accesses from an untrusted master are not allowed.
7115 */
7116 /*@{*/
7117 #define BP_AIPS_PACRI_TP0 (28U) /*!< Bit position for AIPS_PACRI_TP0. */
7118 #define BM_AIPS_PACRI_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRI_TP0. */
7119 #define BS_AIPS_PACRI_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRI_TP0. */
7120
7121 /*! @brief Read current value of the AIPS_PACRI_TP0 field. */
7122 #define BR_AIPS_PACRI_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP0))
7123
7124 /*! @brief Format value for bitfield AIPS_PACRI_TP0. */
7125 #define BF_AIPS_PACRI_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_TP0) & BM_AIPS_PACRI_TP0)
7126
7127 /*! @brief Set the TP0 field to a new value. */
7128 #define BW_AIPS_PACRI_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_TP0) = (v))
7129 /*@}*/
7130
7131 /*!
7132 * @name Register AIPS_PACRI, field WP0[29] (RW)
7133 *
7134 * Determines whether the peripheral allows write accesses. When this field is
7135 * set and a write access is attempted, access terminates with an error response
7136 * and no peripheral access initiates.
7137 *
7138 * Values:
7139 * - 0 - This peripheral allows write accesses.
7140 * - 1 - This peripheral is write protected.
7141 */
7142 /*@{*/
7143 #define BP_AIPS_PACRI_WP0 (29U) /*!< Bit position for AIPS_PACRI_WP0. */
7144 #define BM_AIPS_PACRI_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRI_WP0. */
7145 #define BS_AIPS_PACRI_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRI_WP0. */
7146
7147 /*! @brief Read current value of the AIPS_PACRI_WP0 field. */
7148 #define BR_AIPS_PACRI_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP0))
7149
7150 /*! @brief Format value for bitfield AIPS_PACRI_WP0. */
7151 #define BF_AIPS_PACRI_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_WP0) & BM_AIPS_PACRI_WP0)
7152
7153 /*! @brief Set the WP0 field to a new value. */
7154 #define BW_AIPS_PACRI_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_WP0) = (v))
7155 /*@}*/
7156
7157 /*!
7158 * @name Register AIPS_PACRI, field SP0[30] (RW)
7159 *
7160 * Determines whether the peripheral requires supervisor privilege level for
7161 * accesses. When this field is set, the master privilege level must indicate the
7162 * supervisor access attribute, and the MPRx[MPLn] control field for the master
7163 * must be set. If not, access terminates with an error response and no peripheral
7164 * access initiates.
7165 *
7166 * Values:
7167 * - 0 - This peripheral does not require supervisor privilege level for
7168 * accesses.
7169 * - 1 - This peripheral requires supervisor privilege level for accesses.
7170 */
7171 /*@{*/
7172 #define BP_AIPS_PACRI_SP0 (30U) /*!< Bit position for AIPS_PACRI_SP0. */
7173 #define BM_AIPS_PACRI_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRI_SP0. */
7174 #define BS_AIPS_PACRI_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRI_SP0. */
7175
7176 /*! @brief Read current value of the AIPS_PACRI_SP0 field. */
7177 #define BR_AIPS_PACRI_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP0))
7178
7179 /*! @brief Format value for bitfield AIPS_PACRI_SP0. */
7180 #define BF_AIPS_PACRI_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRI_SP0) & BM_AIPS_PACRI_SP0)
7181
7182 /*! @brief Set the SP0 field to a new value. */
7183 #define BW_AIPS_PACRI_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRI_ADDR(x), BP_AIPS_PACRI_SP0) = (v))
7184 /*@}*/
7185
7186 /*******************************************************************************
7187 * HW_AIPS_PACRJ - Peripheral Access Control Register
7188 ******************************************************************************/
7189
7190 /*!
7191 * @brief HW_AIPS_PACRJ - Peripheral Access Control Register (RW)
7192 *
7193 * Reset value: 0x44444444U
7194 *
7195 * This section describes PACR registers E-P, which control peripheral slots
7196 * 32-127. See PACRPeripheral Access Control Register for the description of these
7197 * registers.
7198 */
7199 typedef union _hw_aips_pacrj
7200 {
7201 uint32_t U;
7202 struct _hw_aips_pacrj_bitfields
7203 {
7204 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
7205 uint32_t WP7 : 1; /*!< [1] Write Protect */
7206 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
7207 uint32_t RESERVED0 : 1; /*!< [3] */
7208 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
7209 uint32_t WP6 : 1; /*!< [5] Write Protect */
7210 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
7211 uint32_t RESERVED1 : 1; /*!< [7] */
7212 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
7213 uint32_t WP5 : 1; /*!< [9] Write Protect */
7214 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
7215 uint32_t RESERVED2 : 1; /*!< [11] */
7216 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
7217 uint32_t WP4 : 1; /*!< [13] Write Protect */
7218 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
7219 uint32_t RESERVED3 : 1; /*!< [15] */
7220 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
7221 uint32_t WP3 : 1; /*!< [17] Write Protect */
7222 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
7223 uint32_t RESERVED4 : 1; /*!< [19] */
7224 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
7225 uint32_t WP2 : 1; /*!< [21] Write Protect */
7226 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
7227 uint32_t RESERVED5 : 1; /*!< [23] */
7228 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
7229 uint32_t WP1 : 1; /*!< [25] Write Protect */
7230 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
7231 uint32_t RESERVED6 : 1; /*!< [27] */
7232 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
7233 uint32_t WP0 : 1; /*!< [29] Write Protect */
7234 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
7235 uint32_t RESERVED7 : 1; /*!< [31] */
7236 } B;
7237 } hw_aips_pacrj_t;
7238
7239 /*!
7240 * @name Constants and macros for entire AIPS_PACRJ register
7241 */
7242 /*@{*/
7243 #define HW_AIPS_PACRJ_ADDR(x) ((x) + 0x54U)
7244
7245 #define HW_AIPS_PACRJ(x) (*(__IO hw_aips_pacrj_t *) HW_AIPS_PACRJ_ADDR(x))
7246 #define HW_AIPS_PACRJ_RD(x) (HW_AIPS_PACRJ(x).U)
7247 #define HW_AIPS_PACRJ_WR(x, v) (HW_AIPS_PACRJ(x).U = (v))
7248 #define HW_AIPS_PACRJ_SET(x, v) (HW_AIPS_PACRJ_WR(x, HW_AIPS_PACRJ_RD(x) | (v)))
7249 #define HW_AIPS_PACRJ_CLR(x, v) (HW_AIPS_PACRJ_WR(x, HW_AIPS_PACRJ_RD(x) & ~(v)))
7250 #define HW_AIPS_PACRJ_TOG(x, v) (HW_AIPS_PACRJ_WR(x, HW_AIPS_PACRJ_RD(x) ^ (v)))
7251 /*@}*/
7252
7253 /*
7254 * Constants & macros for individual AIPS_PACRJ bitfields
7255 */
7256
7257 /*!
7258 * @name Register AIPS_PACRJ, field TP7[0] (RW)
7259 *
7260 * Determines whether the peripheral allows accesses from an untrusted master.
7261 * When this field is set and an access is attempted by an untrusted master, the
7262 * access terminates with an error response and no peripheral access initiates.
7263 *
7264 * Values:
7265 * - 0 - Accesses from an untrusted master are allowed.
7266 * - 1 - Accesses from an untrusted master are not allowed.
7267 */
7268 /*@{*/
7269 #define BP_AIPS_PACRJ_TP7 (0U) /*!< Bit position for AIPS_PACRJ_TP7. */
7270 #define BM_AIPS_PACRJ_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRJ_TP7. */
7271 #define BS_AIPS_PACRJ_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP7. */
7272
7273 /*! @brief Read current value of the AIPS_PACRJ_TP7 field. */
7274 #define BR_AIPS_PACRJ_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP7))
7275
7276 /*! @brief Format value for bitfield AIPS_PACRJ_TP7. */
7277 #define BF_AIPS_PACRJ_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP7) & BM_AIPS_PACRJ_TP7)
7278
7279 /*! @brief Set the TP7 field to a new value. */
7280 #define BW_AIPS_PACRJ_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP7) = (v))
7281 /*@}*/
7282
7283 /*!
7284 * @name Register AIPS_PACRJ, field WP7[1] (RW)
7285 *
7286 * Determines whether the peripheral allows write accesses. When this field is
7287 * set and a write access is attempted, access terminates with an error response
7288 * and no peripheral access initiates.
7289 *
7290 * Values:
7291 * - 0 - This peripheral allows write accesses.
7292 * - 1 - This peripheral is write protected.
7293 */
7294 /*@{*/
7295 #define BP_AIPS_PACRJ_WP7 (1U) /*!< Bit position for AIPS_PACRJ_WP7. */
7296 #define BM_AIPS_PACRJ_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRJ_WP7. */
7297 #define BS_AIPS_PACRJ_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP7. */
7298
7299 /*! @brief Read current value of the AIPS_PACRJ_WP7 field. */
7300 #define BR_AIPS_PACRJ_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP7))
7301
7302 /*! @brief Format value for bitfield AIPS_PACRJ_WP7. */
7303 #define BF_AIPS_PACRJ_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP7) & BM_AIPS_PACRJ_WP7)
7304
7305 /*! @brief Set the WP7 field to a new value. */
7306 #define BW_AIPS_PACRJ_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP7) = (v))
7307 /*@}*/
7308
7309 /*!
7310 * @name Register AIPS_PACRJ, field SP7[2] (RW)
7311 *
7312 * Determines whether the peripheral requires supervisor privilege level for
7313 * accesses. When this field is set, the master privilege level must indicate the
7314 * supervisor access attribute, and the MPRx[MPLn] control field for the master
7315 * must be set. If not, access terminates with an error response and no peripheral
7316 * access initiates.
7317 *
7318 * Values:
7319 * - 0 - This peripheral does not require supervisor privilege level for
7320 * accesses.
7321 * - 1 - This peripheral requires supervisor privilege level for accesses.
7322 */
7323 /*@{*/
7324 #define BP_AIPS_PACRJ_SP7 (2U) /*!< Bit position for AIPS_PACRJ_SP7. */
7325 #define BM_AIPS_PACRJ_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRJ_SP7. */
7326 #define BS_AIPS_PACRJ_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP7. */
7327
7328 /*! @brief Read current value of the AIPS_PACRJ_SP7 field. */
7329 #define BR_AIPS_PACRJ_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP7))
7330
7331 /*! @brief Format value for bitfield AIPS_PACRJ_SP7. */
7332 #define BF_AIPS_PACRJ_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP7) & BM_AIPS_PACRJ_SP7)
7333
7334 /*! @brief Set the SP7 field to a new value. */
7335 #define BW_AIPS_PACRJ_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP7) = (v))
7336 /*@}*/
7337
7338 /*!
7339 * @name Register AIPS_PACRJ, field TP6[4] (RW)
7340 *
7341 * Determines whether the peripheral allows accesses from an untrusted master.
7342 * When this field is set and an access is attempted by an untrusted master, the
7343 * access terminates with an error response and no peripheral access initiates.
7344 *
7345 * Values:
7346 * - 0 - Accesses from an untrusted master are allowed.
7347 * - 1 - Accesses from an untrusted master are not allowed.
7348 */
7349 /*@{*/
7350 #define BP_AIPS_PACRJ_TP6 (4U) /*!< Bit position for AIPS_PACRJ_TP6. */
7351 #define BM_AIPS_PACRJ_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRJ_TP6. */
7352 #define BS_AIPS_PACRJ_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP6. */
7353
7354 /*! @brief Read current value of the AIPS_PACRJ_TP6 field. */
7355 #define BR_AIPS_PACRJ_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP6))
7356
7357 /*! @brief Format value for bitfield AIPS_PACRJ_TP6. */
7358 #define BF_AIPS_PACRJ_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP6) & BM_AIPS_PACRJ_TP6)
7359
7360 /*! @brief Set the TP6 field to a new value. */
7361 #define BW_AIPS_PACRJ_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP6) = (v))
7362 /*@}*/
7363
7364 /*!
7365 * @name Register AIPS_PACRJ, field WP6[5] (RW)
7366 *
7367 * Determines whether the peripheral allows write accesses. When this field is
7368 * set and a write access is attempted, access terminates with an error response
7369 * and no peripheral access initiates.
7370 *
7371 * Values:
7372 * - 0 - This peripheral allows write accesses.
7373 * - 1 - This peripheral is write protected.
7374 */
7375 /*@{*/
7376 #define BP_AIPS_PACRJ_WP6 (5U) /*!< Bit position for AIPS_PACRJ_WP6. */
7377 #define BM_AIPS_PACRJ_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRJ_WP6. */
7378 #define BS_AIPS_PACRJ_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP6. */
7379
7380 /*! @brief Read current value of the AIPS_PACRJ_WP6 field. */
7381 #define BR_AIPS_PACRJ_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP6))
7382
7383 /*! @brief Format value for bitfield AIPS_PACRJ_WP6. */
7384 #define BF_AIPS_PACRJ_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP6) & BM_AIPS_PACRJ_WP6)
7385
7386 /*! @brief Set the WP6 field to a new value. */
7387 #define BW_AIPS_PACRJ_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP6) = (v))
7388 /*@}*/
7389
7390 /*!
7391 * @name Register AIPS_PACRJ, field SP6[6] (RW)
7392 *
7393 * Determines whether the peripheral requires supervisor privilege level for
7394 * accesses. When this field is set, the master privilege level must indicate the
7395 * supervisor access attribute, and the MPRx[MPLn] control field for the master
7396 * must be set. If not, access terminates with an error response and no peripheral
7397 * access initiates.
7398 *
7399 * Values:
7400 * - 0 - This peripheral does not require supervisor privilege level for
7401 * accesses.
7402 * - 1 - This peripheral requires supervisor privilege level for accesses.
7403 */
7404 /*@{*/
7405 #define BP_AIPS_PACRJ_SP6 (6U) /*!< Bit position for AIPS_PACRJ_SP6. */
7406 #define BM_AIPS_PACRJ_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRJ_SP6. */
7407 #define BS_AIPS_PACRJ_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP6. */
7408
7409 /*! @brief Read current value of the AIPS_PACRJ_SP6 field. */
7410 #define BR_AIPS_PACRJ_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP6))
7411
7412 /*! @brief Format value for bitfield AIPS_PACRJ_SP6. */
7413 #define BF_AIPS_PACRJ_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP6) & BM_AIPS_PACRJ_SP6)
7414
7415 /*! @brief Set the SP6 field to a new value. */
7416 #define BW_AIPS_PACRJ_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP6) = (v))
7417 /*@}*/
7418
7419 /*!
7420 * @name Register AIPS_PACRJ, field TP5[8] (RW)
7421 *
7422 * Determines whether the peripheral allows accesses from an untrusted master.
7423 * When this field is set and an access is attempted by an untrusted master, the
7424 * access terminates with an error response and no peripheral access initiates.
7425 *
7426 * Values:
7427 * - 0 - Accesses from an untrusted master are allowed.
7428 * - 1 - Accesses from an untrusted master are not allowed.
7429 */
7430 /*@{*/
7431 #define BP_AIPS_PACRJ_TP5 (8U) /*!< Bit position for AIPS_PACRJ_TP5. */
7432 #define BM_AIPS_PACRJ_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRJ_TP5. */
7433 #define BS_AIPS_PACRJ_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP5. */
7434
7435 /*! @brief Read current value of the AIPS_PACRJ_TP5 field. */
7436 #define BR_AIPS_PACRJ_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP5))
7437
7438 /*! @brief Format value for bitfield AIPS_PACRJ_TP5. */
7439 #define BF_AIPS_PACRJ_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP5) & BM_AIPS_PACRJ_TP5)
7440
7441 /*! @brief Set the TP5 field to a new value. */
7442 #define BW_AIPS_PACRJ_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP5) = (v))
7443 /*@}*/
7444
7445 /*!
7446 * @name Register AIPS_PACRJ, field WP5[9] (RW)
7447 *
7448 * Determines whether the peripheral allows write accesses. When this field is
7449 * set and a write access is attempted, access terminates with an error response
7450 * and no peripheral access initiates.
7451 *
7452 * Values:
7453 * - 0 - This peripheral allows write accesses.
7454 * - 1 - This peripheral is write protected.
7455 */
7456 /*@{*/
7457 #define BP_AIPS_PACRJ_WP5 (9U) /*!< Bit position for AIPS_PACRJ_WP5. */
7458 #define BM_AIPS_PACRJ_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRJ_WP5. */
7459 #define BS_AIPS_PACRJ_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP5. */
7460
7461 /*! @brief Read current value of the AIPS_PACRJ_WP5 field. */
7462 #define BR_AIPS_PACRJ_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP5))
7463
7464 /*! @brief Format value for bitfield AIPS_PACRJ_WP5. */
7465 #define BF_AIPS_PACRJ_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP5) & BM_AIPS_PACRJ_WP5)
7466
7467 /*! @brief Set the WP5 field to a new value. */
7468 #define BW_AIPS_PACRJ_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP5) = (v))
7469 /*@}*/
7470
7471 /*!
7472 * @name Register AIPS_PACRJ, field SP5[10] (RW)
7473 *
7474 * Determines whether the peripheral requires supervisor privilege level for
7475 * accesses. When this field is set, the master privilege level must indicate the
7476 * supervisor access attribute, and the MPRx[MPLn] control field for the master
7477 * must be set. If not, access terminates with an error response and no peripheral
7478 * access initiates.
7479 *
7480 * Values:
7481 * - 0 - This peripheral does not require supervisor privilege level for
7482 * accesses.
7483 * - 1 - This peripheral requires supervisor privilege level for accesses.
7484 */
7485 /*@{*/
7486 #define BP_AIPS_PACRJ_SP5 (10U) /*!< Bit position for AIPS_PACRJ_SP5. */
7487 #define BM_AIPS_PACRJ_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRJ_SP5. */
7488 #define BS_AIPS_PACRJ_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP5. */
7489
7490 /*! @brief Read current value of the AIPS_PACRJ_SP5 field. */
7491 #define BR_AIPS_PACRJ_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP5))
7492
7493 /*! @brief Format value for bitfield AIPS_PACRJ_SP5. */
7494 #define BF_AIPS_PACRJ_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP5) & BM_AIPS_PACRJ_SP5)
7495
7496 /*! @brief Set the SP5 field to a new value. */
7497 #define BW_AIPS_PACRJ_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP5) = (v))
7498 /*@}*/
7499
7500 /*!
7501 * @name Register AIPS_PACRJ, field TP4[12] (RW)
7502 *
7503 * Determines whether the peripheral allows accesses from an untrusted master.
7504 * When this bit is set and an access is attempted by an untrusted master, the
7505 * access terminates with an error response and no peripheral access initiates.
7506 *
7507 * Values:
7508 * - 0 - Accesses from an untrusted master are allowed.
7509 * - 1 - Accesses from an untrusted master are not allowed.
7510 */
7511 /*@{*/
7512 #define BP_AIPS_PACRJ_TP4 (12U) /*!< Bit position for AIPS_PACRJ_TP4. */
7513 #define BM_AIPS_PACRJ_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRJ_TP4. */
7514 #define BS_AIPS_PACRJ_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP4. */
7515
7516 /*! @brief Read current value of the AIPS_PACRJ_TP4 field. */
7517 #define BR_AIPS_PACRJ_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP4))
7518
7519 /*! @brief Format value for bitfield AIPS_PACRJ_TP4. */
7520 #define BF_AIPS_PACRJ_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP4) & BM_AIPS_PACRJ_TP4)
7521
7522 /*! @brief Set the TP4 field to a new value. */
7523 #define BW_AIPS_PACRJ_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP4) = (v))
7524 /*@}*/
7525
7526 /*!
7527 * @name Register AIPS_PACRJ, field WP4[13] (RW)
7528 *
7529 * Determines whether the peripheral allows write accesses. When this field is
7530 * set and a write access is attempted, access terminates with an error response
7531 * and no peripheral access initiates.
7532 *
7533 * Values:
7534 * - 0 - This peripheral allows write accesses.
7535 * - 1 - This peripheral is write protected.
7536 */
7537 /*@{*/
7538 #define BP_AIPS_PACRJ_WP4 (13U) /*!< Bit position for AIPS_PACRJ_WP4. */
7539 #define BM_AIPS_PACRJ_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRJ_WP4. */
7540 #define BS_AIPS_PACRJ_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP4. */
7541
7542 /*! @brief Read current value of the AIPS_PACRJ_WP4 field. */
7543 #define BR_AIPS_PACRJ_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP4))
7544
7545 /*! @brief Format value for bitfield AIPS_PACRJ_WP4. */
7546 #define BF_AIPS_PACRJ_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP4) & BM_AIPS_PACRJ_WP4)
7547
7548 /*! @brief Set the WP4 field to a new value. */
7549 #define BW_AIPS_PACRJ_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP4) = (v))
7550 /*@}*/
7551
7552 /*!
7553 * @name Register AIPS_PACRJ, field SP4[14] (RW)
7554 *
7555 * Determines whether the peripheral requires supervisor privilege level for
7556 * access. When this bit is set, the master privilege level must indicate the
7557 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
7558 * set. If not, access terminates with an error response and no peripheral access
7559 * initiates.
7560 *
7561 * Values:
7562 * - 0 - This peripheral does not require supervisor privilege level for
7563 * accesses.
7564 * - 1 - This peripheral requires supervisor privilege level for accesses.
7565 */
7566 /*@{*/
7567 #define BP_AIPS_PACRJ_SP4 (14U) /*!< Bit position for AIPS_PACRJ_SP4. */
7568 #define BM_AIPS_PACRJ_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRJ_SP4. */
7569 #define BS_AIPS_PACRJ_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP4. */
7570
7571 /*! @brief Read current value of the AIPS_PACRJ_SP4 field. */
7572 #define BR_AIPS_PACRJ_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP4))
7573
7574 /*! @brief Format value for bitfield AIPS_PACRJ_SP4. */
7575 #define BF_AIPS_PACRJ_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP4) & BM_AIPS_PACRJ_SP4)
7576
7577 /*! @brief Set the SP4 field to a new value. */
7578 #define BW_AIPS_PACRJ_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP4) = (v))
7579 /*@}*/
7580
7581 /*!
7582 * @name Register AIPS_PACRJ, field TP3[16] (RW)
7583 *
7584 * Determines whether the peripheral allows accesses from an untrusted master.
7585 * When this field is set and an access is attempted by an untrusted master, the
7586 * access terminates with an error response and no peripheral access initiates.
7587 *
7588 * Values:
7589 * - 0 - Accesses from an untrusted master are allowed.
7590 * - 1 - Accesses from an untrusted master are not allowed.
7591 */
7592 /*@{*/
7593 #define BP_AIPS_PACRJ_TP3 (16U) /*!< Bit position for AIPS_PACRJ_TP3. */
7594 #define BM_AIPS_PACRJ_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRJ_TP3. */
7595 #define BS_AIPS_PACRJ_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP3. */
7596
7597 /*! @brief Read current value of the AIPS_PACRJ_TP3 field. */
7598 #define BR_AIPS_PACRJ_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP3))
7599
7600 /*! @brief Format value for bitfield AIPS_PACRJ_TP3. */
7601 #define BF_AIPS_PACRJ_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP3) & BM_AIPS_PACRJ_TP3)
7602
7603 /*! @brief Set the TP3 field to a new value. */
7604 #define BW_AIPS_PACRJ_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP3) = (v))
7605 /*@}*/
7606
7607 /*!
7608 * @name Register AIPS_PACRJ, field WP3[17] (RW)
7609 *
7610 * Determines whether the peripheral allows write accesss. When this bit is set
7611 * and a write access is attempted, access terminates with an error response and
7612 * no peripheral access initiates.
7613 *
7614 * Values:
7615 * - 0 - This peripheral allows write accesses.
7616 * - 1 - This peripheral is write protected.
7617 */
7618 /*@{*/
7619 #define BP_AIPS_PACRJ_WP3 (17U) /*!< Bit position for AIPS_PACRJ_WP3. */
7620 #define BM_AIPS_PACRJ_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRJ_WP3. */
7621 #define BS_AIPS_PACRJ_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP3. */
7622
7623 /*! @brief Read current value of the AIPS_PACRJ_WP3 field. */
7624 #define BR_AIPS_PACRJ_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP3))
7625
7626 /*! @brief Format value for bitfield AIPS_PACRJ_WP3. */
7627 #define BF_AIPS_PACRJ_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP3) & BM_AIPS_PACRJ_WP3)
7628
7629 /*! @brief Set the WP3 field to a new value. */
7630 #define BW_AIPS_PACRJ_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP3) = (v))
7631 /*@}*/
7632
7633 /*!
7634 * @name Register AIPS_PACRJ, field SP3[18] (RW)
7635 *
7636 * Determines whether the peripheral requires supervisor privilege level for
7637 * accesses. When this field is set, the master privilege level must indicate the
7638 * supervisor access attribute, and the MPRx[MPLn] control field for the master
7639 * must be set. If not, access terminates with an error response and no peripheral
7640 * access initiates.
7641 *
7642 * Values:
7643 * - 0 - This peripheral does not require supervisor privilege level for
7644 * accesses.
7645 * - 1 - This peripheral requires supervisor privilege level for accesses.
7646 */
7647 /*@{*/
7648 #define BP_AIPS_PACRJ_SP3 (18U) /*!< Bit position for AIPS_PACRJ_SP3. */
7649 #define BM_AIPS_PACRJ_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRJ_SP3. */
7650 #define BS_AIPS_PACRJ_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP3. */
7651
7652 /*! @brief Read current value of the AIPS_PACRJ_SP3 field. */
7653 #define BR_AIPS_PACRJ_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP3))
7654
7655 /*! @brief Format value for bitfield AIPS_PACRJ_SP3. */
7656 #define BF_AIPS_PACRJ_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP3) & BM_AIPS_PACRJ_SP3)
7657
7658 /*! @brief Set the SP3 field to a new value. */
7659 #define BW_AIPS_PACRJ_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP3) = (v))
7660 /*@}*/
7661
7662 /*!
7663 * @name Register AIPS_PACRJ, field TP2[20] (RW)
7664 *
7665 * Determines whether the peripheral allows accesses from an untrusted master.
7666 * When this bit is set and an access is attempted by an untrusted master, the
7667 * access terminates with an error response and no peripheral access initiates.
7668 *
7669 * Values:
7670 * - 0 - Accesses from an untrusted master are allowed.
7671 * - 1 - Accesses from an untrusted master are not allowed.
7672 */
7673 /*@{*/
7674 #define BP_AIPS_PACRJ_TP2 (20U) /*!< Bit position for AIPS_PACRJ_TP2. */
7675 #define BM_AIPS_PACRJ_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRJ_TP2. */
7676 #define BS_AIPS_PACRJ_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP2. */
7677
7678 /*! @brief Read current value of the AIPS_PACRJ_TP2 field. */
7679 #define BR_AIPS_PACRJ_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP2))
7680
7681 /*! @brief Format value for bitfield AIPS_PACRJ_TP2. */
7682 #define BF_AIPS_PACRJ_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP2) & BM_AIPS_PACRJ_TP2)
7683
7684 /*! @brief Set the TP2 field to a new value. */
7685 #define BW_AIPS_PACRJ_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP2) = (v))
7686 /*@}*/
7687
7688 /*!
7689 * @name Register AIPS_PACRJ, field WP2[21] (RW)
7690 *
7691 * Determines whether the peripheral allows write accesses. When this field is
7692 * set and a write access is attempted, access terminates with an error response
7693 * and no peripheral access initiates.
7694 *
7695 * Values:
7696 * - 0 - This peripheral allows write accesses.
7697 * - 1 - This peripheral is write protected.
7698 */
7699 /*@{*/
7700 #define BP_AIPS_PACRJ_WP2 (21U) /*!< Bit position for AIPS_PACRJ_WP2. */
7701 #define BM_AIPS_PACRJ_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRJ_WP2. */
7702 #define BS_AIPS_PACRJ_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP2. */
7703
7704 /*! @brief Read current value of the AIPS_PACRJ_WP2 field. */
7705 #define BR_AIPS_PACRJ_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP2))
7706
7707 /*! @brief Format value for bitfield AIPS_PACRJ_WP2. */
7708 #define BF_AIPS_PACRJ_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP2) & BM_AIPS_PACRJ_WP2)
7709
7710 /*! @brief Set the WP2 field to a new value. */
7711 #define BW_AIPS_PACRJ_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP2) = (v))
7712 /*@}*/
7713
7714 /*!
7715 * @name Register AIPS_PACRJ, field SP2[22] (RW)
7716 *
7717 * Determines whether the peripheral requires supervisor privilege level for
7718 * access. When this bit is set, the master privilege level must indicate the
7719 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
7720 * set. If not, access terminates with an error response and no peripheral access
7721 * initiates.
7722 *
7723 * Values:
7724 * - 0 - This peripheral does not require supervisor privilege level for
7725 * accesses.
7726 * - 1 - This peripheral requires supervisor privilege level for accesses.
7727 */
7728 /*@{*/
7729 #define BP_AIPS_PACRJ_SP2 (22U) /*!< Bit position for AIPS_PACRJ_SP2. */
7730 #define BM_AIPS_PACRJ_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRJ_SP2. */
7731 #define BS_AIPS_PACRJ_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP2. */
7732
7733 /*! @brief Read current value of the AIPS_PACRJ_SP2 field. */
7734 #define BR_AIPS_PACRJ_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP2))
7735
7736 /*! @brief Format value for bitfield AIPS_PACRJ_SP2. */
7737 #define BF_AIPS_PACRJ_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP2) & BM_AIPS_PACRJ_SP2)
7738
7739 /*! @brief Set the SP2 field to a new value. */
7740 #define BW_AIPS_PACRJ_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP2) = (v))
7741 /*@}*/
7742
7743 /*!
7744 * @name Register AIPS_PACRJ, field TP1[24] (RW)
7745 *
7746 * Determines whether the peripheral allows accesses from an untrusted master.
7747 * When this field is set and an access is attempted by an untrusted master, the
7748 * access terminates with an error response and no peripheral access initiates.
7749 *
7750 * Values:
7751 * - 0 - Accesses from an untrusted master are allowed.
7752 * - 1 - Accesses from an untrusted master are not allowed.
7753 */
7754 /*@{*/
7755 #define BP_AIPS_PACRJ_TP1 (24U) /*!< Bit position for AIPS_PACRJ_TP1. */
7756 #define BM_AIPS_PACRJ_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRJ_TP1. */
7757 #define BS_AIPS_PACRJ_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP1. */
7758
7759 /*! @brief Read current value of the AIPS_PACRJ_TP1 field. */
7760 #define BR_AIPS_PACRJ_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP1))
7761
7762 /*! @brief Format value for bitfield AIPS_PACRJ_TP1. */
7763 #define BF_AIPS_PACRJ_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP1) & BM_AIPS_PACRJ_TP1)
7764
7765 /*! @brief Set the TP1 field to a new value. */
7766 #define BW_AIPS_PACRJ_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP1) = (v))
7767 /*@}*/
7768
7769 /*!
7770 * @name Register AIPS_PACRJ, field WP1[25] (RW)
7771 *
7772 * Determines whether the peripheral allows write accesses. When this field is
7773 * set and a write access is attempted, access terminates with an error response
7774 * and no peripheral access initiates.
7775 *
7776 * Values:
7777 * - 0 - This peripheral allows write accesses.
7778 * - 1 - This peripheral is write protected.
7779 */
7780 /*@{*/
7781 #define BP_AIPS_PACRJ_WP1 (25U) /*!< Bit position for AIPS_PACRJ_WP1. */
7782 #define BM_AIPS_PACRJ_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRJ_WP1. */
7783 #define BS_AIPS_PACRJ_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP1. */
7784
7785 /*! @brief Read current value of the AIPS_PACRJ_WP1 field. */
7786 #define BR_AIPS_PACRJ_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP1))
7787
7788 /*! @brief Format value for bitfield AIPS_PACRJ_WP1. */
7789 #define BF_AIPS_PACRJ_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP1) & BM_AIPS_PACRJ_WP1)
7790
7791 /*! @brief Set the WP1 field to a new value. */
7792 #define BW_AIPS_PACRJ_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP1) = (v))
7793 /*@}*/
7794
7795 /*!
7796 * @name Register AIPS_PACRJ, field SP1[26] (RW)
7797 *
7798 * Determines whether the peripheral requires supervisor privilege level for
7799 * access. When this field is set, the master privilege level must indicate the
7800 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
7801 * be set. If not, access terminates with an error response and no peripheral
7802 * access initiates.
7803 *
7804 * Values:
7805 * - 0 - This peripheral does not require supervisor privilege level for
7806 * accesses.
7807 * - 1 - This peripheral requires supervisor privilege level for accesses.
7808 */
7809 /*@{*/
7810 #define BP_AIPS_PACRJ_SP1 (26U) /*!< Bit position for AIPS_PACRJ_SP1. */
7811 #define BM_AIPS_PACRJ_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRJ_SP1. */
7812 #define BS_AIPS_PACRJ_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP1. */
7813
7814 /*! @brief Read current value of the AIPS_PACRJ_SP1 field. */
7815 #define BR_AIPS_PACRJ_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP1))
7816
7817 /*! @brief Format value for bitfield AIPS_PACRJ_SP1. */
7818 #define BF_AIPS_PACRJ_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP1) & BM_AIPS_PACRJ_SP1)
7819
7820 /*! @brief Set the SP1 field to a new value. */
7821 #define BW_AIPS_PACRJ_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP1) = (v))
7822 /*@}*/
7823
7824 /*!
7825 * @name Register AIPS_PACRJ, field TP0[28] (RW)
7826 *
7827 * Determines whether the peripheral allows accesses from an untrusted master.
7828 * When this bit is set and an access is attempted by an untrusted master, the
7829 * access terminates with an error response and no peripheral access initiates.
7830 *
7831 * Values:
7832 * - 0 - Accesses from an untrusted master are allowed.
7833 * - 1 - Accesses from an untrusted master are not allowed.
7834 */
7835 /*@{*/
7836 #define BP_AIPS_PACRJ_TP0 (28U) /*!< Bit position for AIPS_PACRJ_TP0. */
7837 #define BM_AIPS_PACRJ_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRJ_TP0. */
7838 #define BS_AIPS_PACRJ_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRJ_TP0. */
7839
7840 /*! @brief Read current value of the AIPS_PACRJ_TP0 field. */
7841 #define BR_AIPS_PACRJ_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP0))
7842
7843 /*! @brief Format value for bitfield AIPS_PACRJ_TP0. */
7844 #define BF_AIPS_PACRJ_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_TP0) & BM_AIPS_PACRJ_TP0)
7845
7846 /*! @brief Set the TP0 field to a new value. */
7847 #define BW_AIPS_PACRJ_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_TP0) = (v))
7848 /*@}*/
7849
7850 /*!
7851 * @name Register AIPS_PACRJ, field WP0[29] (RW)
7852 *
7853 * Determines whether the peripheral allows write accesses. When this field is
7854 * set and a write access is attempted, access terminates with an error response
7855 * and no peripheral access initiates.
7856 *
7857 * Values:
7858 * - 0 - This peripheral allows write accesses.
7859 * - 1 - This peripheral is write protected.
7860 */
7861 /*@{*/
7862 #define BP_AIPS_PACRJ_WP0 (29U) /*!< Bit position for AIPS_PACRJ_WP0. */
7863 #define BM_AIPS_PACRJ_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRJ_WP0. */
7864 #define BS_AIPS_PACRJ_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRJ_WP0. */
7865
7866 /*! @brief Read current value of the AIPS_PACRJ_WP0 field. */
7867 #define BR_AIPS_PACRJ_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP0))
7868
7869 /*! @brief Format value for bitfield AIPS_PACRJ_WP0. */
7870 #define BF_AIPS_PACRJ_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_WP0) & BM_AIPS_PACRJ_WP0)
7871
7872 /*! @brief Set the WP0 field to a new value. */
7873 #define BW_AIPS_PACRJ_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_WP0) = (v))
7874 /*@}*/
7875
7876 /*!
7877 * @name Register AIPS_PACRJ, field SP0[30] (RW)
7878 *
7879 * Determines whether the peripheral requires supervisor privilege level for
7880 * accesses. When this field is set, the master privilege level must indicate the
7881 * supervisor access attribute, and the MPRx[MPLn] control field for the master
7882 * must be set. If not, access terminates with an error response and no peripheral
7883 * access initiates.
7884 *
7885 * Values:
7886 * - 0 - This peripheral does not require supervisor privilege level for
7887 * accesses.
7888 * - 1 - This peripheral requires supervisor privilege level for accesses.
7889 */
7890 /*@{*/
7891 #define BP_AIPS_PACRJ_SP0 (30U) /*!< Bit position for AIPS_PACRJ_SP0. */
7892 #define BM_AIPS_PACRJ_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRJ_SP0. */
7893 #define BS_AIPS_PACRJ_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRJ_SP0. */
7894
7895 /*! @brief Read current value of the AIPS_PACRJ_SP0 field. */
7896 #define BR_AIPS_PACRJ_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP0))
7897
7898 /*! @brief Format value for bitfield AIPS_PACRJ_SP0. */
7899 #define BF_AIPS_PACRJ_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRJ_SP0) & BM_AIPS_PACRJ_SP0)
7900
7901 /*! @brief Set the SP0 field to a new value. */
7902 #define BW_AIPS_PACRJ_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRJ_ADDR(x), BP_AIPS_PACRJ_SP0) = (v))
7903 /*@}*/
7904
7905 /*******************************************************************************
7906 * HW_AIPS_PACRK - Peripheral Access Control Register
7907 ******************************************************************************/
7908
7909 /*!
7910 * @brief HW_AIPS_PACRK - Peripheral Access Control Register (RW)
7911 *
7912 * Reset value: 0x44444444U
7913 *
7914 * This section describes PACR registers E-P, which control peripheral slots
7915 * 32-127. See PACRPeripheral Access Control Register for the description of these
7916 * registers.
7917 */
7918 typedef union _hw_aips_pacrk
7919 {
7920 uint32_t U;
7921 struct _hw_aips_pacrk_bitfields
7922 {
7923 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
7924 uint32_t WP7 : 1; /*!< [1] Write Protect */
7925 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
7926 uint32_t RESERVED0 : 1; /*!< [3] */
7927 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
7928 uint32_t WP6 : 1; /*!< [5] Write Protect */
7929 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
7930 uint32_t RESERVED1 : 1; /*!< [7] */
7931 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
7932 uint32_t WP5 : 1; /*!< [9] Write Protect */
7933 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
7934 uint32_t RESERVED2 : 1; /*!< [11] */
7935 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
7936 uint32_t WP4 : 1; /*!< [13] Write Protect */
7937 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
7938 uint32_t RESERVED3 : 1; /*!< [15] */
7939 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
7940 uint32_t WP3 : 1; /*!< [17] Write Protect */
7941 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
7942 uint32_t RESERVED4 : 1; /*!< [19] */
7943 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
7944 uint32_t WP2 : 1; /*!< [21] Write Protect */
7945 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
7946 uint32_t RESERVED5 : 1; /*!< [23] */
7947 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
7948 uint32_t WP1 : 1; /*!< [25] Write Protect */
7949 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
7950 uint32_t RESERVED6 : 1; /*!< [27] */
7951 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
7952 uint32_t WP0 : 1; /*!< [29] Write Protect */
7953 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
7954 uint32_t RESERVED7 : 1; /*!< [31] */
7955 } B;
7956 } hw_aips_pacrk_t;
7957
7958 /*!
7959 * @name Constants and macros for entire AIPS_PACRK register
7960 */
7961 /*@{*/
7962 #define HW_AIPS_PACRK_ADDR(x) ((x) + 0x58U)
7963
7964 #define HW_AIPS_PACRK(x) (*(__IO hw_aips_pacrk_t *) HW_AIPS_PACRK_ADDR(x))
7965 #define HW_AIPS_PACRK_RD(x) (HW_AIPS_PACRK(x).U)
7966 #define HW_AIPS_PACRK_WR(x, v) (HW_AIPS_PACRK(x).U = (v))
7967 #define HW_AIPS_PACRK_SET(x, v) (HW_AIPS_PACRK_WR(x, HW_AIPS_PACRK_RD(x) | (v)))
7968 #define HW_AIPS_PACRK_CLR(x, v) (HW_AIPS_PACRK_WR(x, HW_AIPS_PACRK_RD(x) & ~(v)))
7969 #define HW_AIPS_PACRK_TOG(x, v) (HW_AIPS_PACRK_WR(x, HW_AIPS_PACRK_RD(x) ^ (v)))
7970 /*@}*/
7971
7972 /*
7973 * Constants & macros for individual AIPS_PACRK bitfields
7974 */
7975
7976 /*!
7977 * @name Register AIPS_PACRK, field TP7[0] (RW)
7978 *
7979 * Determines whether the peripheral allows accesses from an untrusted master.
7980 * When this field is set and an access is attempted by an untrusted master, the
7981 * access terminates with an error response and no peripheral access initiates.
7982 *
7983 * Values:
7984 * - 0 - Accesses from an untrusted master are allowed.
7985 * - 1 - Accesses from an untrusted master are not allowed.
7986 */
7987 /*@{*/
7988 #define BP_AIPS_PACRK_TP7 (0U) /*!< Bit position for AIPS_PACRK_TP7. */
7989 #define BM_AIPS_PACRK_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRK_TP7. */
7990 #define BS_AIPS_PACRK_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP7. */
7991
7992 /*! @brief Read current value of the AIPS_PACRK_TP7 field. */
7993 #define BR_AIPS_PACRK_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP7))
7994
7995 /*! @brief Format value for bitfield AIPS_PACRK_TP7. */
7996 #define BF_AIPS_PACRK_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP7) & BM_AIPS_PACRK_TP7)
7997
7998 /*! @brief Set the TP7 field to a new value. */
7999 #define BW_AIPS_PACRK_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP7) = (v))
8000 /*@}*/
8001
8002 /*!
8003 * @name Register AIPS_PACRK, field WP7[1] (RW)
8004 *
8005 * Determines whether the peripheral allows write accesses. When this field is
8006 * set and a write access is attempted, access terminates with an error response
8007 * and no peripheral access initiates.
8008 *
8009 * Values:
8010 * - 0 - This peripheral allows write accesses.
8011 * - 1 - This peripheral is write protected.
8012 */
8013 /*@{*/
8014 #define BP_AIPS_PACRK_WP7 (1U) /*!< Bit position for AIPS_PACRK_WP7. */
8015 #define BM_AIPS_PACRK_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRK_WP7. */
8016 #define BS_AIPS_PACRK_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP7. */
8017
8018 /*! @brief Read current value of the AIPS_PACRK_WP7 field. */
8019 #define BR_AIPS_PACRK_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP7))
8020
8021 /*! @brief Format value for bitfield AIPS_PACRK_WP7. */
8022 #define BF_AIPS_PACRK_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP7) & BM_AIPS_PACRK_WP7)
8023
8024 /*! @brief Set the WP7 field to a new value. */
8025 #define BW_AIPS_PACRK_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP7) = (v))
8026 /*@}*/
8027
8028 /*!
8029 * @name Register AIPS_PACRK, field SP7[2] (RW)
8030 *
8031 * Determines whether the peripheral requires supervisor privilege level for
8032 * accesses. When this field is set, the master privilege level must indicate the
8033 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8034 * must be set. If not, access terminates with an error response and no peripheral
8035 * access initiates.
8036 *
8037 * Values:
8038 * - 0 - This peripheral does not require supervisor privilege level for
8039 * accesses.
8040 * - 1 - This peripheral requires supervisor privilege level for accesses.
8041 */
8042 /*@{*/
8043 #define BP_AIPS_PACRK_SP7 (2U) /*!< Bit position for AIPS_PACRK_SP7. */
8044 #define BM_AIPS_PACRK_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRK_SP7. */
8045 #define BS_AIPS_PACRK_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP7. */
8046
8047 /*! @brief Read current value of the AIPS_PACRK_SP7 field. */
8048 #define BR_AIPS_PACRK_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP7))
8049
8050 /*! @brief Format value for bitfield AIPS_PACRK_SP7. */
8051 #define BF_AIPS_PACRK_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP7) & BM_AIPS_PACRK_SP7)
8052
8053 /*! @brief Set the SP7 field to a new value. */
8054 #define BW_AIPS_PACRK_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP7) = (v))
8055 /*@}*/
8056
8057 /*!
8058 * @name Register AIPS_PACRK, field TP6[4] (RW)
8059 *
8060 * Determines whether the peripheral allows accesses from an untrusted master.
8061 * When this field is set and an access is attempted by an untrusted master, the
8062 * access terminates with an error response and no peripheral access initiates.
8063 *
8064 * Values:
8065 * - 0 - Accesses from an untrusted master are allowed.
8066 * - 1 - Accesses from an untrusted master are not allowed.
8067 */
8068 /*@{*/
8069 #define BP_AIPS_PACRK_TP6 (4U) /*!< Bit position for AIPS_PACRK_TP6. */
8070 #define BM_AIPS_PACRK_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRK_TP6. */
8071 #define BS_AIPS_PACRK_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP6. */
8072
8073 /*! @brief Read current value of the AIPS_PACRK_TP6 field. */
8074 #define BR_AIPS_PACRK_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP6))
8075
8076 /*! @brief Format value for bitfield AIPS_PACRK_TP6. */
8077 #define BF_AIPS_PACRK_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP6) & BM_AIPS_PACRK_TP6)
8078
8079 /*! @brief Set the TP6 field to a new value. */
8080 #define BW_AIPS_PACRK_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP6) = (v))
8081 /*@}*/
8082
8083 /*!
8084 * @name Register AIPS_PACRK, field WP6[5] (RW)
8085 *
8086 * Determines whether the peripheral allows write accesses. When this field is
8087 * set and a write access is attempted, access terminates with an error response
8088 * and no peripheral access initiates.
8089 *
8090 * Values:
8091 * - 0 - This peripheral allows write accesses.
8092 * - 1 - This peripheral is write protected.
8093 */
8094 /*@{*/
8095 #define BP_AIPS_PACRK_WP6 (5U) /*!< Bit position for AIPS_PACRK_WP6. */
8096 #define BM_AIPS_PACRK_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRK_WP6. */
8097 #define BS_AIPS_PACRK_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP6. */
8098
8099 /*! @brief Read current value of the AIPS_PACRK_WP6 field. */
8100 #define BR_AIPS_PACRK_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP6))
8101
8102 /*! @brief Format value for bitfield AIPS_PACRK_WP6. */
8103 #define BF_AIPS_PACRK_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP6) & BM_AIPS_PACRK_WP6)
8104
8105 /*! @brief Set the WP6 field to a new value. */
8106 #define BW_AIPS_PACRK_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP6) = (v))
8107 /*@}*/
8108
8109 /*!
8110 * @name Register AIPS_PACRK, field SP6[6] (RW)
8111 *
8112 * Determines whether the peripheral requires supervisor privilege level for
8113 * accesses. When this field is set, the master privilege level must indicate the
8114 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8115 * must be set. If not, access terminates with an error response and no peripheral
8116 * access initiates.
8117 *
8118 * Values:
8119 * - 0 - This peripheral does not require supervisor privilege level for
8120 * accesses.
8121 * - 1 - This peripheral requires supervisor privilege level for accesses.
8122 */
8123 /*@{*/
8124 #define BP_AIPS_PACRK_SP6 (6U) /*!< Bit position for AIPS_PACRK_SP6. */
8125 #define BM_AIPS_PACRK_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRK_SP6. */
8126 #define BS_AIPS_PACRK_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP6. */
8127
8128 /*! @brief Read current value of the AIPS_PACRK_SP6 field. */
8129 #define BR_AIPS_PACRK_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP6))
8130
8131 /*! @brief Format value for bitfield AIPS_PACRK_SP6. */
8132 #define BF_AIPS_PACRK_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP6) & BM_AIPS_PACRK_SP6)
8133
8134 /*! @brief Set the SP6 field to a new value. */
8135 #define BW_AIPS_PACRK_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP6) = (v))
8136 /*@}*/
8137
8138 /*!
8139 * @name Register AIPS_PACRK, field TP5[8] (RW)
8140 *
8141 * Determines whether the peripheral allows accesses from an untrusted master.
8142 * When this field is set and an access is attempted by an untrusted master, the
8143 * access terminates with an error response and no peripheral access initiates.
8144 *
8145 * Values:
8146 * - 0 - Accesses from an untrusted master are allowed.
8147 * - 1 - Accesses from an untrusted master are not allowed.
8148 */
8149 /*@{*/
8150 #define BP_AIPS_PACRK_TP5 (8U) /*!< Bit position for AIPS_PACRK_TP5. */
8151 #define BM_AIPS_PACRK_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRK_TP5. */
8152 #define BS_AIPS_PACRK_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP5. */
8153
8154 /*! @brief Read current value of the AIPS_PACRK_TP5 field. */
8155 #define BR_AIPS_PACRK_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP5))
8156
8157 /*! @brief Format value for bitfield AIPS_PACRK_TP5. */
8158 #define BF_AIPS_PACRK_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP5) & BM_AIPS_PACRK_TP5)
8159
8160 /*! @brief Set the TP5 field to a new value. */
8161 #define BW_AIPS_PACRK_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP5) = (v))
8162 /*@}*/
8163
8164 /*!
8165 * @name Register AIPS_PACRK, field WP5[9] (RW)
8166 *
8167 * Determines whether the peripheral allows write accesses. When this field is
8168 * set and a write access is attempted, access terminates with an error response
8169 * and no peripheral access initiates.
8170 *
8171 * Values:
8172 * - 0 - This peripheral allows write accesses.
8173 * - 1 - This peripheral is write protected.
8174 */
8175 /*@{*/
8176 #define BP_AIPS_PACRK_WP5 (9U) /*!< Bit position for AIPS_PACRK_WP5. */
8177 #define BM_AIPS_PACRK_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRK_WP5. */
8178 #define BS_AIPS_PACRK_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP5. */
8179
8180 /*! @brief Read current value of the AIPS_PACRK_WP5 field. */
8181 #define BR_AIPS_PACRK_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP5))
8182
8183 /*! @brief Format value for bitfield AIPS_PACRK_WP5. */
8184 #define BF_AIPS_PACRK_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP5) & BM_AIPS_PACRK_WP5)
8185
8186 /*! @brief Set the WP5 field to a new value. */
8187 #define BW_AIPS_PACRK_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP5) = (v))
8188 /*@}*/
8189
8190 /*!
8191 * @name Register AIPS_PACRK, field SP5[10] (RW)
8192 *
8193 * Determines whether the peripheral requires supervisor privilege level for
8194 * accesses. When this field is set, the master privilege level must indicate the
8195 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8196 * must be set. If not, access terminates with an error response and no peripheral
8197 * access initiates.
8198 *
8199 * Values:
8200 * - 0 - This peripheral does not require supervisor privilege level for
8201 * accesses.
8202 * - 1 - This peripheral requires supervisor privilege level for accesses.
8203 */
8204 /*@{*/
8205 #define BP_AIPS_PACRK_SP5 (10U) /*!< Bit position for AIPS_PACRK_SP5. */
8206 #define BM_AIPS_PACRK_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRK_SP5. */
8207 #define BS_AIPS_PACRK_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP5. */
8208
8209 /*! @brief Read current value of the AIPS_PACRK_SP5 field. */
8210 #define BR_AIPS_PACRK_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP5))
8211
8212 /*! @brief Format value for bitfield AIPS_PACRK_SP5. */
8213 #define BF_AIPS_PACRK_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP5) & BM_AIPS_PACRK_SP5)
8214
8215 /*! @brief Set the SP5 field to a new value. */
8216 #define BW_AIPS_PACRK_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP5) = (v))
8217 /*@}*/
8218
8219 /*!
8220 * @name Register AIPS_PACRK, field TP4[12] (RW)
8221 *
8222 * Determines whether the peripheral allows accesses from an untrusted master.
8223 * When this bit is set and an access is attempted by an untrusted master, the
8224 * access terminates with an error response and no peripheral access initiates.
8225 *
8226 * Values:
8227 * - 0 - Accesses from an untrusted master are allowed.
8228 * - 1 - Accesses from an untrusted master are not allowed.
8229 */
8230 /*@{*/
8231 #define BP_AIPS_PACRK_TP4 (12U) /*!< Bit position for AIPS_PACRK_TP4. */
8232 #define BM_AIPS_PACRK_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRK_TP4. */
8233 #define BS_AIPS_PACRK_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP4. */
8234
8235 /*! @brief Read current value of the AIPS_PACRK_TP4 field. */
8236 #define BR_AIPS_PACRK_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP4))
8237
8238 /*! @brief Format value for bitfield AIPS_PACRK_TP4. */
8239 #define BF_AIPS_PACRK_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP4) & BM_AIPS_PACRK_TP4)
8240
8241 /*! @brief Set the TP4 field to a new value. */
8242 #define BW_AIPS_PACRK_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP4) = (v))
8243 /*@}*/
8244
8245 /*!
8246 * @name Register AIPS_PACRK, field WP4[13] (RW)
8247 *
8248 * Determines whether the peripheral allows write accesses. When this field is
8249 * set and a write access is attempted, access terminates with an error response
8250 * and no peripheral access initiates.
8251 *
8252 * Values:
8253 * - 0 - This peripheral allows write accesses.
8254 * - 1 - This peripheral is write protected.
8255 */
8256 /*@{*/
8257 #define BP_AIPS_PACRK_WP4 (13U) /*!< Bit position for AIPS_PACRK_WP4. */
8258 #define BM_AIPS_PACRK_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRK_WP4. */
8259 #define BS_AIPS_PACRK_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP4. */
8260
8261 /*! @brief Read current value of the AIPS_PACRK_WP4 field. */
8262 #define BR_AIPS_PACRK_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP4))
8263
8264 /*! @brief Format value for bitfield AIPS_PACRK_WP4. */
8265 #define BF_AIPS_PACRK_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP4) & BM_AIPS_PACRK_WP4)
8266
8267 /*! @brief Set the WP4 field to a new value. */
8268 #define BW_AIPS_PACRK_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP4) = (v))
8269 /*@}*/
8270
8271 /*!
8272 * @name Register AIPS_PACRK, field SP4[14] (RW)
8273 *
8274 * Determines whether the peripheral requires supervisor privilege level for
8275 * access. When this bit is set, the master privilege level must indicate the
8276 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
8277 * set. If not, access terminates with an error response and no peripheral access
8278 * initiates.
8279 *
8280 * Values:
8281 * - 0 - This peripheral does not require supervisor privilege level for
8282 * accesses.
8283 * - 1 - This peripheral requires supervisor privilege level for accesses.
8284 */
8285 /*@{*/
8286 #define BP_AIPS_PACRK_SP4 (14U) /*!< Bit position for AIPS_PACRK_SP4. */
8287 #define BM_AIPS_PACRK_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRK_SP4. */
8288 #define BS_AIPS_PACRK_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP4. */
8289
8290 /*! @brief Read current value of the AIPS_PACRK_SP4 field. */
8291 #define BR_AIPS_PACRK_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP4))
8292
8293 /*! @brief Format value for bitfield AIPS_PACRK_SP4. */
8294 #define BF_AIPS_PACRK_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP4) & BM_AIPS_PACRK_SP4)
8295
8296 /*! @brief Set the SP4 field to a new value. */
8297 #define BW_AIPS_PACRK_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP4) = (v))
8298 /*@}*/
8299
8300 /*!
8301 * @name Register AIPS_PACRK, field TP3[16] (RW)
8302 *
8303 * Determines whether the peripheral allows accesses from an untrusted master.
8304 * When this field is set and an access is attempted by an untrusted master, the
8305 * access terminates with an error response and no peripheral access initiates.
8306 *
8307 * Values:
8308 * - 0 - Accesses from an untrusted master are allowed.
8309 * - 1 - Accesses from an untrusted master are not allowed.
8310 */
8311 /*@{*/
8312 #define BP_AIPS_PACRK_TP3 (16U) /*!< Bit position for AIPS_PACRK_TP3. */
8313 #define BM_AIPS_PACRK_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRK_TP3. */
8314 #define BS_AIPS_PACRK_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP3. */
8315
8316 /*! @brief Read current value of the AIPS_PACRK_TP3 field. */
8317 #define BR_AIPS_PACRK_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP3))
8318
8319 /*! @brief Format value for bitfield AIPS_PACRK_TP3. */
8320 #define BF_AIPS_PACRK_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP3) & BM_AIPS_PACRK_TP3)
8321
8322 /*! @brief Set the TP3 field to a new value. */
8323 #define BW_AIPS_PACRK_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP3) = (v))
8324 /*@}*/
8325
8326 /*!
8327 * @name Register AIPS_PACRK, field WP3[17] (RW)
8328 *
8329 * Determines whether the peripheral allows write accesss. When this bit is set
8330 * and a write access is attempted, access terminates with an error response and
8331 * no peripheral access initiates.
8332 *
8333 * Values:
8334 * - 0 - This peripheral allows write accesses.
8335 * - 1 - This peripheral is write protected.
8336 */
8337 /*@{*/
8338 #define BP_AIPS_PACRK_WP3 (17U) /*!< Bit position for AIPS_PACRK_WP3. */
8339 #define BM_AIPS_PACRK_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRK_WP3. */
8340 #define BS_AIPS_PACRK_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP3. */
8341
8342 /*! @brief Read current value of the AIPS_PACRK_WP3 field. */
8343 #define BR_AIPS_PACRK_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP3))
8344
8345 /*! @brief Format value for bitfield AIPS_PACRK_WP3. */
8346 #define BF_AIPS_PACRK_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP3) & BM_AIPS_PACRK_WP3)
8347
8348 /*! @brief Set the WP3 field to a new value. */
8349 #define BW_AIPS_PACRK_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP3) = (v))
8350 /*@}*/
8351
8352 /*!
8353 * @name Register AIPS_PACRK, field SP3[18] (RW)
8354 *
8355 * Determines whether the peripheral requires supervisor privilege level for
8356 * accesses. When this field is set, the master privilege level must indicate the
8357 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8358 * must be set. If not, access terminates with an error response and no peripheral
8359 * access initiates.
8360 *
8361 * Values:
8362 * - 0 - This peripheral does not require supervisor privilege level for
8363 * accesses.
8364 * - 1 - This peripheral requires supervisor privilege level for accesses.
8365 */
8366 /*@{*/
8367 #define BP_AIPS_PACRK_SP3 (18U) /*!< Bit position for AIPS_PACRK_SP3. */
8368 #define BM_AIPS_PACRK_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRK_SP3. */
8369 #define BS_AIPS_PACRK_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP3. */
8370
8371 /*! @brief Read current value of the AIPS_PACRK_SP3 field. */
8372 #define BR_AIPS_PACRK_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP3))
8373
8374 /*! @brief Format value for bitfield AIPS_PACRK_SP3. */
8375 #define BF_AIPS_PACRK_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP3) & BM_AIPS_PACRK_SP3)
8376
8377 /*! @brief Set the SP3 field to a new value. */
8378 #define BW_AIPS_PACRK_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP3) = (v))
8379 /*@}*/
8380
8381 /*!
8382 * @name Register AIPS_PACRK, field TP2[20] (RW)
8383 *
8384 * Determines whether the peripheral allows accesses from an untrusted master.
8385 * When this bit is set and an access is attempted by an untrusted master, the
8386 * access terminates with an error response and no peripheral access initiates.
8387 *
8388 * Values:
8389 * - 0 - Accesses from an untrusted master are allowed.
8390 * - 1 - Accesses from an untrusted master are not allowed.
8391 */
8392 /*@{*/
8393 #define BP_AIPS_PACRK_TP2 (20U) /*!< Bit position for AIPS_PACRK_TP2. */
8394 #define BM_AIPS_PACRK_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRK_TP2. */
8395 #define BS_AIPS_PACRK_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP2. */
8396
8397 /*! @brief Read current value of the AIPS_PACRK_TP2 field. */
8398 #define BR_AIPS_PACRK_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP2))
8399
8400 /*! @brief Format value for bitfield AIPS_PACRK_TP2. */
8401 #define BF_AIPS_PACRK_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP2) & BM_AIPS_PACRK_TP2)
8402
8403 /*! @brief Set the TP2 field to a new value. */
8404 #define BW_AIPS_PACRK_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP2) = (v))
8405 /*@}*/
8406
8407 /*!
8408 * @name Register AIPS_PACRK, field WP2[21] (RW)
8409 *
8410 * Determines whether the peripheral allows write accesses. When this field is
8411 * set and a write access is attempted, access terminates with an error response
8412 * and no peripheral access initiates.
8413 *
8414 * Values:
8415 * - 0 - This peripheral allows write accesses.
8416 * - 1 - This peripheral is write protected.
8417 */
8418 /*@{*/
8419 #define BP_AIPS_PACRK_WP2 (21U) /*!< Bit position for AIPS_PACRK_WP2. */
8420 #define BM_AIPS_PACRK_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRK_WP2. */
8421 #define BS_AIPS_PACRK_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP2. */
8422
8423 /*! @brief Read current value of the AIPS_PACRK_WP2 field. */
8424 #define BR_AIPS_PACRK_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP2))
8425
8426 /*! @brief Format value for bitfield AIPS_PACRK_WP2. */
8427 #define BF_AIPS_PACRK_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP2) & BM_AIPS_PACRK_WP2)
8428
8429 /*! @brief Set the WP2 field to a new value. */
8430 #define BW_AIPS_PACRK_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP2) = (v))
8431 /*@}*/
8432
8433 /*!
8434 * @name Register AIPS_PACRK, field SP2[22] (RW)
8435 *
8436 * Determines whether the peripheral requires supervisor privilege level for
8437 * access. When this bit is set, the master privilege level must indicate the
8438 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
8439 * set. If not, access terminates with an error response and no peripheral access
8440 * initiates.
8441 *
8442 * Values:
8443 * - 0 - This peripheral does not require supervisor privilege level for
8444 * accesses.
8445 * - 1 - This peripheral requires supervisor privilege level for accesses.
8446 */
8447 /*@{*/
8448 #define BP_AIPS_PACRK_SP2 (22U) /*!< Bit position for AIPS_PACRK_SP2. */
8449 #define BM_AIPS_PACRK_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRK_SP2. */
8450 #define BS_AIPS_PACRK_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP2. */
8451
8452 /*! @brief Read current value of the AIPS_PACRK_SP2 field. */
8453 #define BR_AIPS_PACRK_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP2))
8454
8455 /*! @brief Format value for bitfield AIPS_PACRK_SP2. */
8456 #define BF_AIPS_PACRK_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP2) & BM_AIPS_PACRK_SP2)
8457
8458 /*! @brief Set the SP2 field to a new value. */
8459 #define BW_AIPS_PACRK_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP2) = (v))
8460 /*@}*/
8461
8462 /*!
8463 * @name Register AIPS_PACRK, field TP1[24] (RW)
8464 *
8465 * Determines whether the peripheral allows accesses from an untrusted master.
8466 * When this field is set and an access is attempted by an untrusted master, the
8467 * access terminates with an error response and no peripheral access initiates.
8468 *
8469 * Values:
8470 * - 0 - Accesses from an untrusted master are allowed.
8471 * - 1 - Accesses from an untrusted master are not allowed.
8472 */
8473 /*@{*/
8474 #define BP_AIPS_PACRK_TP1 (24U) /*!< Bit position for AIPS_PACRK_TP1. */
8475 #define BM_AIPS_PACRK_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRK_TP1. */
8476 #define BS_AIPS_PACRK_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP1. */
8477
8478 /*! @brief Read current value of the AIPS_PACRK_TP1 field. */
8479 #define BR_AIPS_PACRK_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP1))
8480
8481 /*! @brief Format value for bitfield AIPS_PACRK_TP1. */
8482 #define BF_AIPS_PACRK_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP1) & BM_AIPS_PACRK_TP1)
8483
8484 /*! @brief Set the TP1 field to a new value. */
8485 #define BW_AIPS_PACRK_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP1) = (v))
8486 /*@}*/
8487
8488 /*!
8489 * @name Register AIPS_PACRK, field WP1[25] (RW)
8490 *
8491 * Determines whether the peripheral allows write accesses. When this field is
8492 * set and a write access is attempted, access terminates with an error response
8493 * and no peripheral access initiates.
8494 *
8495 * Values:
8496 * - 0 - This peripheral allows write accesses.
8497 * - 1 - This peripheral is write protected.
8498 */
8499 /*@{*/
8500 #define BP_AIPS_PACRK_WP1 (25U) /*!< Bit position for AIPS_PACRK_WP1. */
8501 #define BM_AIPS_PACRK_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRK_WP1. */
8502 #define BS_AIPS_PACRK_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP1. */
8503
8504 /*! @brief Read current value of the AIPS_PACRK_WP1 field. */
8505 #define BR_AIPS_PACRK_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP1))
8506
8507 /*! @brief Format value for bitfield AIPS_PACRK_WP1. */
8508 #define BF_AIPS_PACRK_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP1) & BM_AIPS_PACRK_WP1)
8509
8510 /*! @brief Set the WP1 field to a new value. */
8511 #define BW_AIPS_PACRK_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP1) = (v))
8512 /*@}*/
8513
8514 /*!
8515 * @name Register AIPS_PACRK, field SP1[26] (RW)
8516 *
8517 * Determines whether the peripheral requires supervisor privilege level for
8518 * access. When this field is set, the master privilege level must indicate the
8519 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
8520 * be set. If not, access terminates with an error response and no peripheral
8521 * access initiates.
8522 *
8523 * Values:
8524 * - 0 - This peripheral does not require supervisor privilege level for
8525 * accesses.
8526 * - 1 - This peripheral requires supervisor privilege level for accesses.
8527 */
8528 /*@{*/
8529 #define BP_AIPS_PACRK_SP1 (26U) /*!< Bit position for AIPS_PACRK_SP1. */
8530 #define BM_AIPS_PACRK_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRK_SP1. */
8531 #define BS_AIPS_PACRK_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP1. */
8532
8533 /*! @brief Read current value of the AIPS_PACRK_SP1 field. */
8534 #define BR_AIPS_PACRK_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP1))
8535
8536 /*! @brief Format value for bitfield AIPS_PACRK_SP1. */
8537 #define BF_AIPS_PACRK_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP1) & BM_AIPS_PACRK_SP1)
8538
8539 /*! @brief Set the SP1 field to a new value. */
8540 #define BW_AIPS_PACRK_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP1) = (v))
8541 /*@}*/
8542
8543 /*!
8544 * @name Register AIPS_PACRK, field TP0[28] (RW)
8545 *
8546 * Determines whether the peripheral allows accesses from an untrusted master.
8547 * When this bit is set and an access is attempted by an untrusted master, the
8548 * access terminates with an error response and no peripheral access initiates.
8549 *
8550 * Values:
8551 * - 0 - Accesses from an untrusted master are allowed.
8552 * - 1 - Accesses from an untrusted master are not allowed.
8553 */
8554 /*@{*/
8555 #define BP_AIPS_PACRK_TP0 (28U) /*!< Bit position for AIPS_PACRK_TP0. */
8556 #define BM_AIPS_PACRK_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRK_TP0. */
8557 #define BS_AIPS_PACRK_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRK_TP0. */
8558
8559 /*! @brief Read current value of the AIPS_PACRK_TP0 field. */
8560 #define BR_AIPS_PACRK_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP0))
8561
8562 /*! @brief Format value for bitfield AIPS_PACRK_TP0. */
8563 #define BF_AIPS_PACRK_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_TP0) & BM_AIPS_PACRK_TP0)
8564
8565 /*! @brief Set the TP0 field to a new value. */
8566 #define BW_AIPS_PACRK_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_TP0) = (v))
8567 /*@}*/
8568
8569 /*!
8570 * @name Register AIPS_PACRK, field WP0[29] (RW)
8571 *
8572 * Determines whether the peripheral allows write accesses. When this field is
8573 * set and a write access is attempted, access terminates with an error response
8574 * and no peripheral access initiates.
8575 *
8576 * Values:
8577 * - 0 - This peripheral allows write accesses.
8578 * - 1 - This peripheral is write protected.
8579 */
8580 /*@{*/
8581 #define BP_AIPS_PACRK_WP0 (29U) /*!< Bit position for AIPS_PACRK_WP0. */
8582 #define BM_AIPS_PACRK_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRK_WP0. */
8583 #define BS_AIPS_PACRK_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRK_WP0. */
8584
8585 /*! @brief Read current value of the AIPS_PACRK_WP0 field. */
8586 #define BR_AIPS_PACRK_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP0))
8587
8588 /*! @brief Format value for bitfield AIPS_PACRK_WP0. */
8589 #define BF_AIPS_PACRK_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_WP0) & BM_AIPS_PACRK_WP0)
8590
8591 /*! @brief Set the WP0 field to a new value. */
8592 #define BW_AIPS_PACRK_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_WP0) = (v))
8593 /*@}*/
8594
8595 /*!
8596 * @name Register AIPS_PACRK, field SP0[30] (RW)
8597 *
8598 * Determines whether the peripheral requires supervisor privilege level for
8599 * accesses. When this field is set, the master privilege level must indicate the
8600 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8601 * must be set. If not, access terminates with an error response and no peripheral
8602 * access initiates.
8603 *
8604 * Values:
8605 * - 0 - This peripheral does not require supervisor privilege level for
8606 * accesses.
8607 * - 1 - This peripheral requires supervisor privilege level for accesses.
8608 */
8609 /*@{*/
8610 #define BP_AIPS_PACRK_SP0 (30U) /*!< Bit position for AIPS_PACRK_SP0. */
8611 #define BM_AIPS_PACRK_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRK_SP0. */
8612 #define BS_AIPS_PACRK_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRK_SP0. */
8613
8614 /*! @brief Read current value of the AIPS_PACRK_SP0 field. */
8615 #define BR_AIPS_PACRK_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP0))
8616
8617 /*! @brief Format value for bitfield AIPS_PACRK_SP0. */
8618 #define BF_AIPS_PACRK_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRK_SP0) & BM_AIPS_PACRK_SP0)
8619
8620 /*! @brief Set the SP0 field to a new value. */
8621 #define BW_AIPS_PACRK_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRK_ADDR(x), BP_AIPS_PACRK_SP0) = (v))
8622 /*@}*/
8623
8624 /*******************************************************************************
8625 * HW_AIPS_PACRL - Peripheral Access Control Register
8626 ******************************************************************************/
8627
8628 /*!
8629 * @brief HW_AIPS_PACRL - Peripheral Access Control Register (RW)
8630 *
8631 * Reset value: 0x44444444U
8632 *
8633 * This section describes PACR registers E-P, which control peripheral slots
8634 * 32-127. See PACRPeripheral Access Control Register for the description of these
8635 * registers.
8636 */
8637 typedef union _hw_aips_pacrl
8638 {
8639 uint32_t U;
8640 struct _hw_aips_pacrl_bitfields
8641 {
8642 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
8643 uint32_t WP7 : 1; /*!< [1] Write Protect */
8644 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
8645 uint32_t RESERVED0 : 1; /*!< [3] */
8646 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
8647 uint32_t WP6 : 1; /*!< [5] Write Protect */
8648 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
8649 uint32_t RESERVED1 : 1; /*!< [7] */
8650 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
8651 uint32_t WP5 : 1; /*!< [9] Write Protect */
8652 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
8653 uint32_t RESERVED2 : 1; /*!< [11] */
8654 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
8655 uint32_t WP4 : 1; /*!< [13] Write Protect */
8656 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
8657 uint32_t RESERVED3 : 1; /*!< [15] */
8658 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
8659 uint32_t WP3 : 1; /*!< [17] Write Protect */
8660 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
8661 uint32_t RESERVED4 : 1; /*!< [19] */
8662 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
8663 uint32_t WP2 : 1; /*!< [21] Write Protect */
8664 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
8665 uint32_t RESERVED5 : 1; /*!< [23] */
8666 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
8667 uint32_t WP1 : 1; /*!< [25] Write Protect */
8668 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
8669 uint32_t RESERVED6 : 1; /*!< [27] */
8670 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
8671 uint32_t WP0 : 1; /*!< [29] Write Protect */
8672 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
8673 uint32_t RESERVED7 : 1; /*!< [31] */
8674 } B;
8675 } hw_aips_pacrl_t;
8676
8677 /*!
8678 * @name Constants and macros for entire AIPS_PACRL register
8679 */
8680 /*@{*/
8681 #define HW_AIPS_PACRL_ADDR(x) ((x) + 0x5CU)
8682
8683 #define HW_AIPS_PACRL(x) (*(__IO hw_aips_pacrl_t *) HW_AIPS_PACRL_ADDR(x))
8684 #define HW_AIPS_PACRL_RD(x) (HW_AIPS_PACRL(x).U)
8685 #define HW_AIPS_PACRL_WR(x, v) (HW_AIPS_PACRL(x).U = (v))
8686 #define HW_AIPS_PACRL_SET(x, v) (HW_AIPS_PACRL_WR(x, HW_AIPS_PACRL_RD(x) | (v)))
8687 #define HW_AIPS_PACRL_CLR(x, v) (HW_AIPS_PACRL_WR(x, HW_AIPS_PACRL_RD(x) & ~(v)))
8688 #define HW_AIPS_PACRL_TOG(x, v) (HW_AIPS_PACRL_WR(x, HW_AIPS_PACRL_RD(x) ^ (v)))
8689 /*@}*/
8690
8691 /*
8692 * Constants & macros for individual AIPS_PACRL bitfields
8693 */
8694
8695 /*!
8696 * @name Register AIPS_PACRL, field TP7[0] (RW)
8697 *
8698 * Determines whether the peripheral allows accesses from an untrusted master.
8699 * When this field is set and an access is attempted by an untrusted master, the
8700 * access terminates with an error response and no peripheral access initiates.
8701 *
8702 * Values:
8703 * - 0 - Accesses from an untrusted master are allowed.
8704 * - 1 - Accesses from an untrusted master are not allowed.
8705 */
8706 /*@{*/
8707 #define BP_AIPS_PACRL_TP7 (0U) /*!< Bit position for AIPS_PACRL_TP7. */
8708 #define BM_AIPS_PACRL_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRL_TP7. */
8709 #define BS_AIPS_PACRL_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP7. */
8710
8711 /*! @brief Read current value of the AIPS_PACRL_TP7 field. */
8712 #define BR_AIPS_PACRL_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP7))
8713
8714 /*! @brief Format value for bitfield AIPS_PACRL_TP7. */
8715 #define BF_AIPS_PACRL_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP7) & BM_AIPS_PACRL_TP7)
8716
8717 /*! @brief Set the TP7 field to a new value. */
8718 #define BW_AIPS_PACRL_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP7) = (v))
8719 /*@}*/
8720
8721 /*!
8722 * @name Register AIPS_PACRL, field WP7[1] (RW)
8723 *
8724 * Determines whether the peripheral allows write accesses. When this field is
8725 * set and a write access is attempted, access terminates with an error response
8726 * and no peripheral access initiates.
8727 *
8728 * Values:
8729 * - 0 - This peripheral allows write accesses.
8730 * - 1 - This peripheral is write protected.
8731 */
8732 /*@{*/
8733 #define BP_AIPS_PACRL_WP7 (1U) /*!< Bit position for AIPS_PACRL_WP7. */
8734 #define BM_AIPS_PACRL_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRL_WP7. */
8735 #define BS_AIPS_PACRL_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP7. */
8736
8737 /*! @brief Read current value of the AIPS_PACRL_WP7 field. */
8738 #define BR_AIPS_PACRL_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP7))
8739
8740 /*! @brief Format value for bitfield AIPS_PACRL_WP7. */
8741 #define BF_AIPS_PACRL_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP7) & BM_AIPS_PACRL_WP7)
8742
8743 /*! @brief Set the WP7 field to a new value. */
8744 #define BW_AIPS_PACRL_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP7) = (v))
8745 /*@}*/
8746
8747 /*!
8748 * @name Register AIPS_PACRL, field SP7[2] (RW)
8749 *
8750 * Determines whether the peripheral requires supervisor privilege level for
8751 * accesses. When this field is set, the master privilege level must indicate the
8752 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8753 * must be set. If not, access terminates with an error response and no peripheral
8754 * access initiates.
8755 *
8756 * Values:
8757 * - 0 - This peripheral does not require supervisor privilege level for
8758 * accesses.
8759 * - 1 - This peripheral requires supervisor privilege level for accesses.
8760 */
8761 /*@{*/
8762 #define BP_AIPS_PACRL_SP7 (2U) /*!< Bit position for AIPS_PACRL_SP7. */
8763 #define BM_AIPS_PACRL_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRL_SP7. */
8764 #define BS_AIPS_PACRL_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP7. */
8765
8766 /*! @brief Read current value of the AIPS_PACRL_SP7 field. */
8767 #define BR_AIPS_PACRL_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP7))
8768
8769 /*! @brief Format value for bitfield AIPS_PACRL_SP7. */
8770 #define BF_AIPS_PACRL_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP7) & BM_AIPS_PACRL_SP7)
8771
8772 /*! @brief Set the SP7 field to a new value. */
8773 #define BW_AIPS_PACRL_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP7) = (v))
8774 /*@}*/
8775
8776 /*!
8777 * @name Register AIPS_PACRL, field TP6[4] (RW)
8778 *
8779 * Determines whether the peripheral allows accesses from an untrusted master.
8780 * When this field is set and an access is attempted by an untrusted master, the
8781 * access terminates with an error response and no peripheral access initiates.
8782 *
8783 * Values:
8784 * - 0 - Accesses from an untrusted master are allowed.
8785 * - 1 - Accesses from an untrusted master are not allowed.
8786 */
8787 /*@{*/
8788 #define BP_AIPS_PACRL_TP6 (4U) /*!< Bit position for AIPS_PACRL_TP6. */
8789 #define BM_AIPS_PACRL_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRL_TP6. */
8790 #define BS_AIPS_PACRL_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP6. */
8791
8792 /*! @brief Read current value of the AIPS_PACRL_TP6 field. */
8793 #define BR_AIPS_PACRL_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP6))
8794
8795 /*! @brief Format value for bitfield AIPS_PACRL_TP6. */
8796 #define BF_AIPS_PACRL_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP6) & BM_AIPS_PACRL_TP6)
8797
8798 /*! @brief Set the TP6 field to a new value. */
8799 #define BW_AIPS_PACRL_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP6) = (v))
8800 /*@}*/
8801
8802 /*!
8803 * @name Register AIPS_PACRL, field WP6[5] (RW)
8804 *
8805 * Determines whether the peripheral allows write accesses. When this field is
8806 * set and a write access is attempted, access terminates with an error response
8807 * and no peripheral access initiates.
8808 *
8809 * Values:
8810 * - 0 - This peripheral allows write accesses.
8811 * - 1 - This peripheral is write protected.
8812 */
8813 /*@{*/
8814 #define BP_AIPS_PACRL_WP6 (5U) /*!< Bit position for AIPS_PACRL_WP6. */
8815 #define BM_AIPS_PACRL_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRL_WP6. */
8816 #define BS_AIPS_PACRL_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP6. */
8817
8818 /*! @brief Read current value of the AIPS_PACRL_WP6 field. */
8819 #define BR_AIPS_PACRL_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP6))
8820
8821 /*! @brief Format value for bitfield AIPS_PACRL_WP6. */
8822 #define BF_AIPS_PACRL_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP6) & BM_AIPS_PACRL_WP6)
8823
8824 /*! @brief Set the WP6 field to a new value. */
8825 #define BW_AIPS_PACRL_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP6) = (v))
8826 /*@}*/
8827
8828 /*!
8829 * @name Register AIPS_PACRL, field SP6[6] (RW)
8830 *
8831 * Determines whether the peripheral requires supervisor privilege level for
8832 * accesses. When this field is set, the master privilege level must indicate the
8833 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8834 * must be set. If not, access terminates with an error response and no peripheral
8835 * access initiates.
8836 *
8837 * Values:
8838 * - 0 - This peripheral does not require supervisor privilege level for
8839 * accesses.
8840 * - 1 - This peripheral requires supervisor privilege level for accesses.
8841 */
8842 /*@{*/
8843 #define BP_AIPS_PACRL_SP6 (6U) /*!< Bit position for AIPS_PACRL_SP6. */
8844 #define BM_AIPS_PACRL_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRL_SP6. */
8845 #define BS_AIPS_PACRL_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP6. */
8846
8847 /*! @brief Read current value of the AIPS_PACRL_SP6 field. */
8848 #define BR_AIPS_PACRL_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP6))
8849
8850 /*! @brief Format value for bitfield AIPS_PACRL_SP6. */
8851 #define BF_AIPS_PACRL_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP6) & BM_AIPS_PACRL_SP6)
8852
8853 /*! @brief Set the SP6 field to a new value. */
8854 #define BW_AIPS_PACRL_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP6) = (v))
8855 /*@}*/
8856
8857 /*!
8858 * @name Register AIPS_PACRL, field TP5[8] (RW)
8859 *
8860 * Determines whether the peripheral allows accesses from an untrusted master.
8861 * When this field is set and an access is attempted by an untrusted master, the
8862 * access terminates with an error response and no peripheral access initiates.
8863 *
8864 * Values:
8865 * - 0 - Accesses from an untrusted master are allowed.
8866 * - 1 - Accesses from an untrusted master are not allowed.
8867 */
8868 /*@{*/
8869 #define BP_AIPS_PACRL_TP5 (8U) /*!< Bit position for AIPS_PACRL_TP5. */
8870 #define BM_AIPS_PACRL_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRL_TP5. */
8871 #define BS_AIPS_PACRL_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP5. */
8872
8873 /*! @brief Read current value of the AIPS_PACRL_TP5 field. */
8874 #define BR_AIPS_PACRL_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP5))
8875
8876 /*! @brief Format value for bitfield AIPS_PACRL_TP5. */
8877 #define BF_AIPS_PACRL_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP5) & BM_AIPS_PACRL_TP5)
8878
8879 /*! @brief Set the TP5 field to a new value. */
8880 #define BW_AIPS_PACRL_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP5) = (v))
8881 /*@}*/
8882
8883 /*!
8884 * @name Register AIPS_PACRL, field WP5[9] (RW)
8885 *
8886 * Determines whether the peripheral allows write accesses. When this field is
8887 * set and a write access is attempted, access terminates with an error response
8888 * and no peripheral access initiates.
8889 *
8890 * Values:
8891 * - 0 - This peripheral allows write accesses.
8892 * - 1 - This peripheral is write protected.
8893 */
8894 /*@{*/
8895 #define BP_AIPS_PACRL_WP5 (9U) /*!< Bit position for AIPS_PACRL_WP5. */
8896 #define BM_AIPS_PACRL_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRL_WP5. */
8897 #define BS_AIPS_PACRL_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP5. */
8898
8899 /*! @brief Read current value of the AIPS_PACRL_WP5 field. */
8900 #define BR_AIPS_PACRL_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP5))
8901
8902 /*! @brief Format value for bitfield AIPS_PACRL_WP5. */
8903 #define BF_AIPS_PACRL_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP5) & BM_AIPS_PACRL_WP5)
8904
8905 /*! @brief Set the WP5 field to a new value. */
8906 #define BW_AIPS_PACRL_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP5) = (v))
8907 /*@}*/
8908
8909 /*!
8910 * @name Register AIPS_PACRL, field SP5[10] (RW)
8911 *
8912 * Determines whether the peripheral requires supervisor privilege level for
8913 * accesses. When this field is set, the master privilege level must indicate the
8914 * supervisor access attribute, and the MPRx[MPLn] control field for the master
8915 * must be set. If not, access terminates with an error response and no peripheral
8916 * access initiates.
8917 *
8918 * Values:
8919 * - 0 - This peripheral does not require supervisor privilege level for
8920 * accesses.
8921 * - 1 - This peripheral requires supervisor privilege level for accesses.
8922 */
8923 /*@{*/
8924 #define BP_AIPS_PACRL_SP5 (10U) /*!< Bit position for AIPS_PACRL_SP5. */
8925 #define BM_AIPS_PACRL_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRL_SP5. */
8926 #define BS_AIPS_PACRL_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP5. */
8927
8928 /*! @brief Read current value of the AIPS_PACRL_SP5 field. */
8929 #define BR_AIPS_PACRL_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP5))
8930
8931 /*! @brief Format value for bitfield AIPS_PACRL_SP5. */
8932 #define BF_AIPS_PACRL_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP5) & BM_AIPS_PACRL_SP5)
8933
8934 /*! @brief Set the SP5 field to a new value. */
8935 #define BW_AIPS_PACRL_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP5) = (v))
8936 /*@}*/
8937
8938 /*!
8939 * @name Register AIPS_PACRL, field TP4[12] (RW)
8940 *
8941 * Determines whether the peripheral allows accesses from an untrusted master.
8942 * When this bit is set and an access is attempted by an untrusted master, the
8943 * access terminates with an error response and no peripheral access initiates.
8944 *
8945 * Values:
8946 * - 0 - Accesses from an untrusted master are allowed.
8947 * - 1 - Accesses from an untrusted master are not allowed.
8948 */
8949 /*@{*/
8950 #define BP_AIPS_PACRL_TP4 (12U) /*!< Bit position for AIPS_PACRL_TP4. */
8951 #define BM_AIPS_PACRL_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRL_TP4. */
8952 #define BS_AIPS_PACRL_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP4. */
8953
8954 /*! @brief Read current value of the AIPS_PACRL_TP4 field. */
8955 #define BR_AIPS_PACRL_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP4))
8956
8957 /*! @brief Format value for bitfield AIPS_PACRL_TP4. */
8958 #define BF_AIPS_PACRL_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP4) & BM_AIPS_PACRL_TP4)
8959
8960 /*! @brief Set the TP4 field to a new value. */
8961 #define BW_AIPS_PACRL_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP4) = (v))
8962 /*@}*/
8963
8964 /*!
8965 * @name Register AIPS_PACRL, field WP4[13] (RW)
8966 *
8967 * Determines whether the peripheral allows write accesses. When this field is
8968 * set and a write access is attempted, access terminates with an error response
8969 * and no peripheral access initiates.
8970 *
8971 * Values:
8972 * - 0 - This peripheral allows write accesses.
8973 * - 1 - This peripheral is write protected.
8974 */
8975 /*@{*/
8976 #define BP_AIPS_PACRL_WP4 (13U) /*!< Bit position for AIPS_PACRL_WP4. */
8977 #define BM_AIPS_PACRL_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRL_WP4. */
8978 #define BS_AIPS_PACRL_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP4. */
8979
8980 /*! @brief Read current value of the AIPS_PACRL_WP4 field. */
8981 #define BR_AIPS_PACRL_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP4))
8982
8983 /*! @brief Format value for bitfield AIPS_PACRL_WP4. */
8984 #define BF_AIPS_PACRL_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP4) & BM_AIPS_PACRL_WP4)
8985
8986 /*! @brief Set the WP4 field to a new value. */
8987 #define BW_AIPS_PACRL_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP4) = (v))
8988 /*@}*/
8989
8990 /*!
8991 * @name Register AIPS_PACRL, field SP4[14] (RW)
8992 *
8993 * Determines whether the peripheral requires supervisor privilege level for
8994 * access. When this bit is set, the master privilege level must indicate the
8995 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
8996 * set. If not, access terminates with an error response and no peripheral access
8997 * initiates.
8998 *
8999 * Values:
9000 * - 0 - This peripheral does not require supervisor privilege level for
9001 * accesses.
9002 * - 1 - This peripheral requires supervisor privilege level for accesses.
9003 */
9004 /*@{*/
9005 #define BP_AIPS_PACRL_SP4 (14U) /*!< Bit position for AIPS_PACRL_SP4. */
9006 #define BM_AIPS_PACRL_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRL_SP4. */
9007 #define BS_AIPS_PACRL_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP4. */
9008
9009 /*! @brief Read current value of the AIPS_PACRL_SP4 field. */
9010 #define BR_AIPS_PACRL_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP4))
9011
9012 /*! @brief Format value for bitfield AIPS_PACRL_SP4. */
9013 #define BF_AIPS_PACRL_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP4) & BM_AIPS_PACRL_SP4)
9014
9015 /*! @brief Set the SP4 field to a new value. */
9016 #define BW_AIPS_PACRL_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP4) = (v))
9017 /*@}*/
9018
9019 /*!
9020 * @name Register AIPS_PACRL, field TP3[16] (RW)
9021 *
9022 * Determines whether the peripheral allows accesses from an untrusted master.
9023 * When this field is set and an access is attempted by an untrusted master, the
9024 * access terminates with an error response and no peripheral access initiates.
9025 *
9026 * Values:
9027 * - 0 - Accesses from an untrusted master are allowed.
9028 * - 1 - Accesses from an untrusted master are not allowed.
9029 */
9030 /*@{*/
9031 #define BP_AIPS_PACRL_TP3 (16U) /*!< Bit position for AIPS_PACRL_TP3. */
9032 #define BM_AIPS_PACRL_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRL_TP3. */
9033 #define BS_AIPS_PACRL_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP3. */
9034
9035 /*! @brief Read current value of the AIPS_PACRL_TP3 field. */
9036 #define BR_AIPS_PACRL_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP3))
9037
9038 /*! @brief Format value for bitfield AIPS_PACRL_TP3. */
9039 #define BF_AIPS_PACRL_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP3) & BM_AIPS_PACRL_TP3)
9040
9041 /*! @brief Set the TP3 field to a new value. */
9042 #define BW_AIPS_PACRL_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP3) = (v))
9043 /*@}*/
9044
9045 /*!
9046 * @name Register AIPS_PACRL, field WP3[17] (RW)
9047 *
9048 * Determines whether the peripheral allows write accesss. When this bit is set
9049 * and a write access is attempted, access terminates with an error response and
9050 * no peripheral access initiates.
9051 *
9052 * Values:
9053 * - 0 - This peripheral allows write accesses.
9054 * - 1 - This peripheral is write protected.
9055 */
9056 /*@{*/
9057 #define BP_AIPS_PACRL_WP3 (17U) /*!< Bit position for AIPS_PACRL_WP3. */
9058 #define BM_AIPS_PACRL_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRL_WP3. */
9059 #define BS_AIPS_PACRL_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP3. */
9060
9061 /*! @brief Read current value of the AIPS_PACRL_WP3 field. */
9062 #define BR_AIPS_PACRL_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP3))
9063
9064 /*! @brief Format value for bitfield AIPS_PACRL_WP3. */
9065 #define BF_AIPS_PACRL_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP3) & BM_AIPS_PACRL_WP3)
9066
9067 /*! @brief Set the WP3 field to a new value. */
9068 #define BW_AIPS_PACRL_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP3) = (v))
9069 /*@}*/
9070
9071 /*!
9072 * @name Register AIPS_PACRL, field SP3[18] (RW)
9073 *
9074 * Determines whether the peripheral requires supervisor privilege level for
9075 * accesses. When this field is set, the master privilege level must indicate the
9076 * supervisor access attribute, and the MPRx[MPLn] control field for the master
9077 * must be set. If not, access terminates with an error response and no peripheral
9078 * access initiates.
9079 *
9080 * Values:
9081 * - 0 - This peripheral does not require supervisor privilege level for
9082 * accesses.
9083 * - 1 - This peripheral requires supervisor privilege level for accesses.
9084 */
9085 /*@{*/
9086 #define BP_AIPS_PACRL_SP3 (18U) /*!< Bit position for AIPS_PACRL_SP3. */
9087 #define BM_AIPS_PACRL_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRL_SP3. */
9088 #define BS_AIPS_PACRL_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP3. */
9089
9090 /*! @brief Read current value of the AIPS_PACRL_SP3 field. */
9091 #define BR_AIPS_PACRL_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP3))
9092
9093 /*! @brief Format value for bitfield AIPS_PACRL_SP3. */
9094 #define BF_AIPS_PACRL_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP3) & BM_AIPS_PACRL_SP3)
9095
9096 /*! @brief Set the SP3 field to a new value. */
9097 #define BW_AIPS_PACRL_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP3) = (v))
9098 /*@}*/
9099
9100 /*!
9101 * @name Register AIPS_PACRL, field TP2[20] (RW)
9102 *
9103 * Determines whether the peripheral allows accesses from an untrusted master.
9104 * When this bit is set and an access is attempted by an untrusted master, the
9105 * access terminates with an error response and no peripheral access initiates.
9106 *
9107 * Values:
9108 * - 0 - Accesses from an untrusted master are allowed.
9109 * - 1 - Accesses from an untrusted master are not allowed.
9110 */
9111 /*@{*/
9112 #define BP_AIPS_PACRL_TP2 (20U) /*!< Bit position for AIPS_PACRL_TP2. */
9113 #define BM_AIPS_PACRL_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRL_TP2. */
9114 #define BS_AIPS_PACRL_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP2. */
9115
9116 /*! @brief Read current value of the AIPS_PACRL_TP2 field. */
9117 #define BR_AIPS_PACRL_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP2))
9118
9119 /*! @brief Format value for bitfield AIPS_PACRL_TP2. */
9120 #define BF_AIPS_PACRL_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP2) & BM_AIPS_PACRL_TP2)
9121
9122 /*! @brief Set the TP2 field to a new value. */
9123 #define BW_AIPS_PACRL_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP2) = (v))
9124 /*@}*/
9125
9126 /*!
9127 * @name Register AIPS_PACRL, field WP2[21] (RW)
9128 *
9129 * Determines whether the peripheral allows write accesses. When this field is
9130 * set and a write access is attempted, access terminates with an error response
9131 * and no peripheral access initiates.
9132 *
9133 * Values:
9134 * - 0 - This peripheral allows write accesses.
9135 * - 1 - This peripheral is write protected.
9136 */
9137 /*@{*/
9138 #define BP_AIPS_PACRL_WP2 (21U) /*!< Bit position for AIPS_PACRL_WP2. */
9139 #define BM_AIPS_PACRL_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRL_WP2. */
9140 #define BS_AIPS_PACRL_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP2. */
9141
9142 /*! @brief Read current value of the AIPS_PACRL_WP2 field. */
9143 #define BR_AIPS_PACRL_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP2))
9144
9145 /*! @brief Format value for bitfield AIPS_PACRL_WP2. */
9146 #define BF_AIPS_PACRL_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP2) & BM_AIPS_PACRL_WP2)
9147
9148 /*! @brief Set the WP2 field to a new value. */
9149 #define BW_AIPS_PACRL_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP2) = (v))
9150 /*@}*/
9151
9152 /*!
9153 * @name Register AIPS_PACRL, field SP2[22] (RW)
9154 *
9155 * Determines whether the peripheral requires supervisor privilege level for
9156 * access. When this bit is set, the master privilege level must indicate the
9157 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
9158 * set. If not, access terminates with an error response and no peripheral access
9159 * initiates.
9160 *
9161 * Values:
9162 * - 0 - This peripheral does not require supervisor privilege level for
9163 * accesses.
9164 * - 1 - This peripheral requires supervisor privilege level for accesses.
9165 */
9166 /*@{*/
9167 #define BP_AIPS_PACRL_SP2 (22U) /*!< Bit position for AIPS_PACRL_SP2. */
9168 #define BM_AIPS_PACRL_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRL_SP2. */
9169 #define BS_AIPS_PACRL_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP2. */
9170
9171 /*! @brief Read current value of the AIPS_PACRL_SP2 field. */
9172 #define BR_AIPS_PACRL_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP2))
9173
9174 /*! @brief Format value for bitfield AIPS_PACRL_SP2. */
9175 #define BF_AIPS_PACRL_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP2) & BM_AIPS_PACRL_SP2)
9176
9177 /*! @brief Set the SP2 field to a new value. */
9178 #define BW_AIPS_PACRL_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP2) = (v))
9179 /*@}*/
9180
9181 /*!
9182 * @name Register AIPS_PACRL, field TP1[24] (RW)
9183 *
9184 * Determines whether the peripheral allows accesses from an untrusted master.
9185 * When this field is set and an access is attempted by an untrusted master, the
9186 * access terminates with an error response and no peripheral access initiates.
9187 *
9188 * Values:
9189 * - 0 - Accesses from an untrusted master are allowed.
9190 * - 1 - Accesses from an untrusted master are not allowed.
9191 */
9192 /*@{*/
9193 #define BP_AIPS_PACRL_TP1 (24U) /*!< Bit position for AIPS_PACRL_TP1. */
9194 #define BM_AIPS_PACRL_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRL_TP1. */
9195 #define BS_AIPS_PACRL_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP1. */
9196
9197 /*! @brief Read current value of the AIPS_PACRL_TP1 field. */
9198 #define BR_AIPS_PACRL_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP1))
9199
9200 /*! @brief Format value for bitfield AIPS_PACRL_TP1. */
9201 #define BF_AIPS_PACRL_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP1) & BM_AIPS_PACRL_TP1)
9202
9203 /*! @brief Set the TP1 field to a new value. */
9204 #define BW_AIPS_PACRL_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP1) = (v))
9205 /*@}*/
9206
9207 /*!
9208 * @name Register AIPS_PACRL, field WP1[25] (RW)
9209 *
9210 * Determines whether the peripheral allows write accesses. When this field is
9211 * set and a write access is attempted, access terminates with an error response
9212 * and no peripheral access initiates.
9213 *
9214 * Values:
9215 * - 0 - This peripheral allows write accesses.
9216 * - 1 - This peripheral is write protected.
9217 */
9218 /*@{*/
9219 #define BP_AIPS_PACRL_WP1 (25U) /*!< Bit position for AIPS_PACRL_WP1. */
9220 #define BM_AIPS_PACRL_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRL_WP1. */
9221 #define BS_AIPS_PACRL_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP1. */
9222
9223 /*! @brief Read current value of the AIPS_PACRL_WP1 field. */
9224 #define BR_AIPS_PACRL_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP1))
9225
9226 /*! @brief Format value for bitfield AIPS_PACRL_WP1. */
9227 #define BF_AIPS_PACRL_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP1) & BM_AIPS_PACRL_WP1)
9228
9229 /*! @brief Set the WP1 field to a new value. */
9230 #define BW_AIPS_PACRL_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP1) = (v))
9231 /*@}*/
9232
9233 /*!
9234 * @name Register AIPS_PACRL, field SP1[26] (RW)
9235 *
9236 * Determines whether the peripheral requires supervisor privilege level for
9237 * access. When this field is set, the master privilege level must indicate the
9238 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
9239 * be set. If not, access terminates with an error response and no peripheral
9240 * access initiates.
9241 *
9242 * Values:
9243 * - 0 - This peripheral does not require supervisor privilege level for
9244 * accesses.
9245 * - 1 - This peripheral requires supervisor privilege level for accesses.
9246 */
9247 /*@{*/
9248 #define BP_AIPS_PACRL_SP1 (26U) /*!< Bit position for AIPS_PACRL_SP1. */
9249 #define BM_AIPS_PACRL_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRL_SP1. */
9250 #define BS_AIPS_PACRL_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP1. */
9251
9252 /*! @brief Read current value of the AIPS_PACRL_SP1 field. */
9253 #define BR_AIPS_PACRL_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP1))
9254
9255 /*! @brief Format value for bitfield AIPS_PACRL_SP1. */
9256 #define BF_AIPS_PACRL_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP1) & BM_AIPS_PACRL_SP1)
9257
9258 /*! @brief Set the SP1 field to a new value. */
9259 #define BW_AIPS_PACRL_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP1) = (v))
9260 /*@}*/
9261
9262 /*!
9263 * @name Register AIPS_PACRL, field TP0[28] (RW)
9264 *
9265 * Determines whether the peripheral allows accesses from an untrusted master.
9266 * When this bit is set and an access is attempted by an untrusted master, the
9267 * access terminates with an error response and no peripheral access initiates.
9268 *
9269 * Values:
9270 * - 0 - Accesses from an untrusted master are allowed.
9271 * - 1 - Accesses from an untrusted master are not allowed.
9272 */
9273 /*@{*/
9274 #define BP_AIPS_PACRL_TP0 (28U) /*!< Bit position for AIPS_PACRL_TP0. */
9275 #define BM_AIPS_PACRL_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRL_TP0. */
9276 #define BS_AIPS_PACRL_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRL_TP0. */
9277
9278 /*! @brief Read current value of the AIPS_PACRL_TP0 field. */
9279 #define BR_AIPS_PACRL_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP0))
9280
9281 /*! @brief Format value for bitfield AIPS_PACRL_TP0. */
9282 #define BF_AIPS_PACRL_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_TP0) & BM_AIPS_PACRL_TP0)
9283
9284 /*! @brief Set the TP0 field to a new value. */
9285 #define BW_AIPS_PACRL_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_TP0) = (v))
9286 /*@}*/
9287
9288 /*!
9289 * @name Register AIPS_PACRL, field WP0[29] (RW)
9290 *
9291 * Determines whether the peripheral allows write accesses. When this field is
9292 * set and a write access is attempted, access terminates with an error response
9293 * and no peripheral access initiates.
9294 *
9295 * Values:
9296 * - 0 - This peripheral allows write accesses.
9297 * - 1 - This peripheral is write protected.
9298 */
9299 /*@{*/
9300 #define BP_AIPS_PACRL_WP0 (29U) /*!< Bit position for AIPS_PACRL_WP0. */
9301 #define BM_AIPS_PACRL_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRL_WP0. */
9302 #define BS_AIPS_PACRL_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRL_WP0. */
9303
9304 /*! @brief Read current value of the AIPS_PACRL_WP0 field. */
9305 #define BR_AIPS_PACRL_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP0))
9306
9307 /*! @brief Format value for bitfield AIPS_PACRL_WP0. */
9308 #define BF_AIPS_PACRL_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_WP0) & BM_AIPS_PACRL_WP0)
9309
9310 /*! @brief Set the WP0 field to a new value. */
9311 #define BW_AIPS_PACRL_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_WP0) = (v))
9312 /*@}*/
9313
9314 /*!
9315 * @name Register AIPS_PACRL, field SP0[30] (RW)
9316 *
9317 * Determines whether the peripheral requires supervisor privilege level for
9318 * accesses. When this field is set, the master privilege level must indicate the
9319 * supervisor access attribute, and the MPRx[MPLn] control field for the master
9320 * must be set. If not, access terminates with an error response and no peripheral
9321 * access initiates.
9322 *
9323 * Values:
9324 * - 0 - This peripheral does not require supervisor privilege level for
9325 * accesses.
9326 * - 1 - This peripheral requires supervisor privilege level for accesses.
9327 */
9328 /*@{*/
9329 #define BP_AIPS_PACRL_SP0 (30U) /*!< Bit position for AIPS_PACRL_SP0. */
9330 #define BM_AIPS_PACRL_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRL_SP0. */
9331 #define BS_AIPS_PACRL_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRL_SP0. */
9332
9333 /*! @brief Read current value of the AIPS_PACRL_SP0 field. */
9334 #define BR_AIPS_PACRL_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP0))
9335
9336 /*! @brief Format value for bitfield AIPS_PACRL_SP0. */
9337 #define BF_AIPS_PACRL_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRL_SP0) & BM_AIPS_PACRL_SP0)
9338
9339 /*! @brief Set the SP0 field to a new value. */
9340 #define BW_AIPS_PACRL_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRL_ADDR(x), BP_AIPS_PACRL_SP0) = (v))
9341 /*@}*/
9342
9343 /*******************************************************************************
9344 * HW_AIPS_PACRM - Peripheral Access Control Register
9345 ******************************************************************************/
9346
9347 /*!
9348 * @brief HW_AIPS_PACRM - Peripheral Access Control Register (RW)
9349 *
9350 * Reset value: 0x44444444U
9351 *
9352 * This section describes PACR registers E-P, which control peripheral slots
9353 * 32-127. See PACRPeripheral Access Control Register for the description of these
9354 * registers.
9355 */
9356 typedef union _hw_aips_pacrm
9357 {
9358 uint32_t U;
9359 struct _hw_aips_pacrm_bitfields
9360 {
9361 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
9362 uint32_t WP7 : 1; /*!< [1] Write Protect */
9363 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
9364 uint32_t RESERVED0 : 1; /*!< [3] */
9365 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
9366 uint32_t WP6 : 1; /*!< [5] Write Protect */
9367 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
9368 uint32_t RESERVED1 : 1; /*!< [7] */
9369 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
9370 uint32_t WP5 : 1; /*!< [9] Write Protect */
9371 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
9372 uint32_t RESERVED2 : 1; /*!< [11] */
9373 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
9374 uint32_t WP4 : 1; /*!< [13] Write Protect */
9375 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
9376 uint32_t RESERVED3 : 1; /*!< [15] */
9377 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
9378 uint32_t WP3 : 1; /*!< [17] Write Protect */
9379 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
9380 uint32_t RESERVED4 : 1; /*!< [19] */
9381 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
9382 uint32_t WP2 : 1; /*!< [21] Write Protect */
9383 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
9384 uint32_t RESERVED5 : 1; /*!< [23] */
9385 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
9386 uint32_t WP1 : 1; /*!< [25] Write Protect */
9387 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
9388 uint32_t RESERVED6 : 1; /*!< [27] */
9389 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
9390 uint32_t WP0 : 1; /*!< [29] Write Protect */
9391 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
9392 uint32_t RESERVED7 : 1; /*!< [31] */
9393 } B;
9394 } hw_aips_pacrm_t;
9395
9396 /*!
9397 * @name Constants and macros for entire AIPS_PACRM register
9398 */
9399 /*@{*/
9400 #define HW_AIPS_PACRM_ADDR(x) ((x) + 0x60U)
9401
9402 #define HW_AIPS_PACRM(x) (*(__IO hw_aips_pacrm_t *) HW_AIPS_PACRM_ADDR(x))
9403 #define HW_AIPS_PACRM_RD(x) (HW_AIPS_PACRM(x).U)
9404 #define HW_AIPS_PACRM_WR(x, v) (HW_AIPS_PACRM(x).U = (v))
9405 #define HW_AIPS_PACRM_SET(x, v) (HW_AIPS_PACRM_WR(x, HW_AIPS_PACRM_RD(x) | (v)))
9406 #define HW_AIPS_PACRM_CLR(x, v) (HW_AIPS_PACRM_WR(x, HW_AIPS_PACRM_RD(x) & ~(v)))
9407 #define HW_AIPS_PACRM_TOG(x, v) (HW_AIPS_PACRM_WR(x, HW_AIPS_PACRM_RD(x) ^ (v)))
9408 /*@}*/
9409
9410 /*
9411 * Constants & macros for individual AIPS_PACRM bitfields
9412 */
9413
9414 /*!
9415 * @name Register AIPS_PACRM, field TP7[0] (RW)
9416 *
9417 * Determines whether the peripheral allows accesses from an untrusted master.
9418 * When this field is set and an access is attempted by an untrusted master, the
9419 * access terminates with an error response and no peripheral access initiates.
9420 *
9421 * Values:
9422 * - 0 - Accesses from an untrusted master are allowed.
9423 * - 1 - Accesses from an untrusted master are not allowed.
9424 */
9425 /*@{*/
9426 #define BP_AIPS_PACRM_TP7 (0U) /*!< Bit position for AIPS_PACRM_TP7. */
9427 #define BM_AIPS_PACRM_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRM_TP7. */
9428 #define BS_AIPS_PACRM_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP7. */
9429
9430 /*! @brief Read current value of the AIPS_PACRM_TP7 field. */
9431 #define BR_AIPS_PACRM_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP7))
9432
9433 /*! @brief Format value for bitfield AIPS_PACRM_TP7. */
9434 #define BF_AIPS_PACRM_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP7) & BM_AIPS_PACRM_TP7)
9435
9436 /*! @brief Set the TP7 field to a new value. */
9437 #define BW_AIPS_PACRM_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP7) = (v))
9438 /*@}*/
9439
9440 /*!
9441 * @name Register AIPS_PACRM, field WP7[1] (RW)
9442 *
9443 * Determines whether the peripheral allows write accesses. When this field is
9444 * set and a write access is attempted, access terminates with an error response
9445 * and no peripheral access initiates.
9446 *
9447 * Values:
9448 * - 0 - This peripheral allows write accesses.
9449 * - 1 - This peripheral is write protected.
9450 */
9451 /*@{*/
9452 #define BP_AIPS_PACRM_WP7 (1U) /*!< Bit position for AIPS_PACRM_WP7. */
9453 #define BM_AIPS_PACRM_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRM_WP7. */
9454 #define BS_AIPS_PACRM_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP7. */
9455
9456 /*! @brief Read current value of the AIPS_PACRM_WP7 field. */
9457 #define BR_AIPS_PACRM_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP7))
9458
9459 /*! @brief Format value for bitfield AIPS_PACRM_WP7. */
9460 #define BF_AIPS_PACRM_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP7) & BM_AIPS_PACRM_WP7)
9461
9462 /*! @brief Set the WP7 field to a new value. */
9463 #define BW_AIPS_PACRM_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP7) = (v))
9464 /*@}*/
9465
9466 /*!
9467 * @name Register AIPS_PACRM, field SP7[2] (RW)
9468 *
9469 * Determines whether the peripheral requires supervisor privilege level for
9470 * accesses. When this field is set, the master privilege level must indicate the
9471 * supervisor access attribute, and the MPRx[MPLn] control field for the master
9472 * must be set. If not, access terminates with an error response and no peripheral
9473 * access initiates.
9474 *
9475 * Values:
9476 * - 0 - This peripheral does not require supervisor privilege level for
9477 * accesses.
9478 * - 1 - This peripheral requires supervisor privilege level for accesses.
9479 */
9480 /*@{*/
9481 #define BP_AIPS_PACRM_SP7 (2U) /*!< Bit position for AIPS_PACRM_SP7. */
9482 #define BM_AIPS_PACRM_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRM_SP7. */
9483 #define BS_AIPS_PACRM_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP7. */
9484
9485 /*! @brief Read current value of the AIPS_PACRM_SP7 field. */
9486 #define BR_AIPS_PACRM_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP7))
9487
9488 /*! @brief Format value for bitfield AIPS_PACRM_SP7. */
9489 #define BF_AIPS_PACRM_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP7) & BM_AIPS_PACRM_SP7)
9490
9491 /*! @brief Set the SP7 field to a new value. */
9492 #define BW_AIPS_PACRM_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP7) = (v))
9493 /*@}*/
9494
9495 /*!
9496 * @name Register AIPS_PACRM, field TP6[4] (RW)
9497 *
9498 * Determines whether the peripheral allows accesses from an untrusted master.
9499 * When this field is set and an access is attempted by an untrusted master, the
9500 * access terminates with an error response and no peripheral access initiates.
9501 *
9502 * Values:
9503 * - 0 - Accesses from an untrusted master are allowed.
9504 * - 1 - Accesses from an untrusted master are not allowed.
9505 */
9506 /*@{*/
9507 #define BP_AIPS_PACRM_TP6 (4U) /*!< Bit position for AIPS_PACRM_TP6. */
9508 #define BM_AIPS_PACRM_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRM_TP6. */
9509 #define BS_AIPS_PACRM_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP6. */
9510
9511 /*! @brief Read current value of the AIPS_PACRM_TP6 field. */
9512 #define BR_AIPS_PACRM_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP6))
9513
9514 /*! @brief Format value for bitfield AIPS_PACRM_TP6. */
9515 #define BF_AIPS_PACRM_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP6) & BM_AIPS_PACRM_TP6)
9516
9517 /*! @brief Set the TP6 field to a new value. */
9518 #define BW_AIPS_PACRM_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP6) = (v))
9519 /*@}*/
9520
9521 /*!
9522 * @name Register AIPS_PACRM, field WP6[5] (RW)
9523 *
9524 * Determines whether the peripheral allows write accesses. When this field is
9525 * set and a write access is attempted, access terminates with an error response
9526 * and no peripheral access initiates.
9527 *
9528 * Values:
9529 * - 0 - This peripheral allows write accesses.
9530 * - 1 - This peripheral is write protected.
9531 */
9532 /*@{*/
9533 #define BP_AIPS_PACRM_WP6 (5U) /*!< Bit position for AIPS_PACRM_WP6. */
9534 #define BM_AIPS_PACRM_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRM_WP6. */
9535 #define BS_AIPS_PACRM_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP6. */
9536
9537 /*! @brief Read current value of the AIPS_PACRM_WP6 field. */
9538 #define BR_AIPS_PACRM_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP6))
9539
9540 /*! @brief Format value for bitfield AIPS_PACRM_WP6. */
9541 #define BF_AIPS_PACRM_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP6) & BM_AIPS_PACRM_WP6)
9542
9543 /*! @brief Set the WP6 field to a new value. */
9544 #define BW_AIPS_PACRM_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP6) = (v))
9545 /*@}*/
9546
9547 /*!
9548 * @name Register AIPS_PACRM, field SP6[6] (RW)
9549 *
9550 * Determines whether the peripheral requires supervisor privilege level for
9551 * accesses. When this field is set, the master privilege level must indicate the
9552 * supervisor access attribute, and the MPRx[MPLn] control field for the master
9553 * must be set. If not, access terminates with an error response and no peripheral
9554 * access initiates.
9555 *
9556 * Values:
9557 * - 0 - This peripheral does not require supervisor privilege level for
9558 * accesses.
9559 * - 1 - This peripheral requires supervisor privilege level for accesses.
9560 */
9561 /*@{*/
9562 #define BP_AIPS_PACRM_SP6 (6U) /*!< Bit position for AIPS_PACRM_SP6. */
9563 #define BM_AIPS_PACRM_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRM_SP6. */
9564 #define BS_AIPS_PACRM_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP6. */
9565
9566 /*! @brief Read current value of the AIPS_PACRM_SP6 field. */
9567 #define BR_AIPS_PACRM_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP6))
9568
9569 /*! @brief Format value for bitfield AIPS_PACRM_SP6. */
9570 #define BF_AIPS_PACRM_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP6) & BM_AIPS_PACRM_SP6)
9571
9572 /*! @brief Set the SP6 field to a new value. */
9573 #define BW_AIPS_PACRM_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP6) = (v))
9574 /*@}*/
9575
9576 /*!
9577 * @name Register AIPS_PACRM, field TP5[8] (RW)
9578 *
9579 * Determines whether the peripheral allows accesses from an untrusted master.
9580 * When this field is set and an access is attempted by an untrusted master, the
9581 * access terminates with an error response and no peripheral access initiates.
9582 *
9583 * Values:
9584 * - 0 - Accesses from an untrusted master are allowed.
9585 * - 1 - Accesses from an untrusted master are not allowed.
9586 */
9587 /*@{*/
9588 #define BP_AIPS_PACRM_TP5 (8U) /*!< Bit position for AIPS_PACRM_TP5. */
9589 #define BM_AIPS_PACRM_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRM_TP5. */
9590 #define BS_AIPS_PACRM_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP5. */
9591
9592 /*! @brief Read current value of the AIPS_PACRM_TP5 field. */
9593 #define BR_AIPS_PACRM_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP5))
9594
9595 /*! @brief Format value for bitfield AIPS_PACRM_TP5. */
9596 #define BF_AIPS_PACRM_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP5) & BM_AIPS_PACRM_TP5)
9597
9598 /*! @brief Set the TP5 field to a new value. */
9599 #define BW_AIPS_PACRM_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP5) = (v))
9600 /*@}*/
9601
9602 /*!
9603 * @name Register AIPS_PACRM, field WP5[9] (RW)
9604 *
9605 * Determines whether the peripheral allows write accesses. When this field is
9606 * set and a write access is attempted, access terminates with an error response
9607 * and no peripheral access initiates.
9608 *
9609 * Values:
9610 * - 0 - This peripheral allows write accesses.
9611 * - 1 - This peripheral is write protected.
9612 */
9613 /*@{*/
9614 #define BP_AIPS_PACRM_WP5 (9U) /*!< Bit position for AIPS_PACRM_WP5. */
9615 #define BM_AIPS_PACRM_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRM_WP5. */
9616 #define BS_AIPS_PACRM_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP5. */
9617
9618 /*! @brief Read current value of the AIPS_PACRM_WP5 field. */
9619 #define BR_AIPS_PACRM_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP5))
9620
9621 /*! @brief Format value for bitfield AIPS_PACRM_WP5. */
9622 #define BF_AIPS_PACRM_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP5) & BM_AIPS_PACRM_WP5)
9623
9624 /*! @brief Set the WP5 field to a new value. */
9625 #define BW_AIPS_PACRM_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP5) = (v))
9626 /*@}*/
9627
9628 /*!
9629 * @name Register AIPS_PACRM, field SP5[10] (RW)
9630 *
9631 * Determines whether the peripheral requires supervisor privilege level for
9632 * accesses. When this field is set, the master privilege level must indicate the
9633 * supervisor access attribute, and the MPRx[MPLn] control field for the master
9634 * must be set. If not, access terminates with an error response and no peripheral
9635 * access initiates.
9636 *
9637 * Values:
9638 * - 0 - This peripheral does not require supervisor privilege level for
9639 * accesses.
9640 * - 1 - This peripheral requires supervisor privilege level for accesses.
9641 */
9642 /*@{*/
9643 #define BP_AIPS_PACRM_SP5 (10U) /*!< Bit position for AIPS_PACRM_SP5. */
9644 #define BM_AIPS_PACRM_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRM_SP5. */
9645 #define BS_AIPS_PACRM_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP5. */
9646
9647 /*! @brief Read current value of the AIPS_PACRM_SP5 field. */
9648 #define BR_AIPS_PACRM_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP5))
9649
9650 /*! @brief Format value for bitfield AIPS_PACRM_SP5. */
9651 #define BF_AIPS_PACRM_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP5) & BM_AIPS_PACRM_SP5)
9652
9653 /*! @brief Set the SP5 field to a new value. */
9654 #define BW_AIPS_PACRM_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP5) = (v))
9655 /*@}*/
9656
9657 /*!
9658 * @name Register AIPS_PACRM, field TP4[12] (RW)
9659 *
9660 * Determines whether the peripheral allows accesses from an untrusted master.
9661 * When this bit is set and an access is attempted by an untrusted master, the
9662 * access terminates with an error response and no peripheral access initiates.
9663 *
9664 * Values:
9665 * - 0 - Accesses from an untrusted master are allowed.
9666 * - 1 - Accesses from an untrusted master are not allowed.
9667 */
9668 /*@{*/
9669 #define BP_AIPS_PACRM_TP4 (12U) /*!< Bit position for AIPS_PACRM_TP4. */
9670 #define BM_AIPS_PACRM_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRM_TP4. */
9671 #define BS_AIPS_PACRM_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP4. */
9672
9673 /*! @brief Read current value of the AIPS_PACRM_TP4 field. */
9674 #define BR_AIPS_PACRM_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP4))
9675
9676 /*! @brief Format value for bitfield AIPS_PACRM_TP4. */
9677 #define BF_AIPS_PACRM_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP4) & BM_AIPS_PACRM_TP4)
9678
9679 /*! @brief Set the TP4 field to a new value. */
9680 #define BW_AIPS_PACRM_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP4) = (v))
9681 /*@}*/
9682
9683 /*!
9684 * @name Register AIPS_PACRM, field WP4[13] (RW)
9685 *
9686 * Determines whether the peripheral allows write accesses. When this field is
9687 * set and a write access is attempted, access terminates with an error response
9688 * and no peripheral access initiates.
9689 *
9690 * Values:
9691 * - 0 - This peripheral allows write accesses.
9692 * - 1 - This peripheral is write protected.
9693 */
9694 /*@{*/
9695 #define BP_AIPS_PACRM_WP4 (13U) /*!< Bit position for AIPS_PACRM_WP4. */
9696 #define BM_AIPS_PACRM_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRM_WP4. */
9697 #define BS_AIPS_PACRM_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP4. */
9698
9699 /*! @brief Read current value of the AIPS_PACRM_WP4 field. */
9700 #define BR_AIPS_PACRM_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP4))
9701
9702 /*! @brief Format value for bitfield AIPS_PACRM_WP4. */
9703 #define BF_AIPS_PACRM_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP4) & BM_AIPS_PACRM_WP4)
9704
9705 /*! @brief Set the WP4 field to a new value. */
9706 #define BW_AIPS_PACRM_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP4) = (v))
9707 /*@}*/
9708
9709 /*!
9710 * @name Register AIPS_PACRM, field SP4[14] (RW)
9711 *
9712 * Determines whether the peripheral requires supervisor privilege level for
9713 * access. When this bit is set, the master privilege level must indicate the
9714 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
9715 * set. If not, access terminates with an error response and no peripheral access
9716 * initiates.
9717 *
9718 * Values:
9719 * - 0 - This peripheral does not require supervisor privilege level for
9720 * accesses.
9721 * - 1 - This peripheral requires supervisor privilege level for accesses.
9722 */
9723 /*@{*/
9724 #define BP_AIPS_PACRM_SP4 (14U) /*!< Bit position for AIPS_PACRM_SP4. */
9725 #define BM_AIPS_PACRM_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRM_SP4. */
9726 #define BS_AIPS_PACRM_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP4. */
9727
9728 /*! @brief Read current value of the AIPS_PACRM_SP4 field. */
9729 #define BR_AIPS_PACRM_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP4))
9730
9731 /*! @brief Format value for bitfield AIPS_PACRM_SP4. */
9732 #define BF_AIPS_PACRM_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP4) & BM_AIPS_PACRM_SP4)
9733
9734 /*! @brief Set the SP4 field to a new value. */
9735 #define BW_AIPS_PACRM_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP4) = (v))
9736 /*@}*/
9737
9738 /*!
9739 * @name Register AIPS_PACRM, field TP3[16] (RW)
9740 *
9741 * Determines whether the peripheral allows accesses from an untrusted master.
9742 * When this field is set and an access is attempted by an untrusted master, the
9743 * access terminates with an error response and no peripheral access initiates.
9744 *
9745 * Values:
9746 * - 0 - Accesses from an untrusted master are allowed.
9747 * - 1 - Accesses from an untrusted master are not allowed.
9748 */
9749 /*@{*/
9750 #define BP_AIPS_PACRM_TP3 (16U) /*!< Bit position for AIPS_PACRM_TP3. */
9751 #define BM_AIPS_PACRM_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRM_TP3. */
9752 #define BS_AIPS_PACRM_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP3. */
9753
9754 /*! @brief Read current value of the AIPS_PACRM_TP3 field. */
9755 #define BR_AIPS_PACRM_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP3))
9756
9757 /*! @brief Format value for bitfield AIPS_PACRM_TP3. */
9758 #define BF_AIPS_PACRM_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP3) & BM_AIPS_PACRM_TP3)
9759
9760 /*! @brief Set the TP3 field to a new value. */
9761 #define BW_AIPS_PACRM_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP3) = (v))
9762 /*@}*/
9763
9764 /*!
9765 * @name Register AIPS_PACRM, field WP3[17] (RW)
9766 *
9767 * Determines whether the peripheral allows write accesss. When this bit is set
9768 * and a write access is attempted, access terminates with an error response and
9769 * no peripheral access initiates.
9770 *
9771 * Values:
9772 * - 0 - This peripheral allows write accesses.
9773 * - 1 - This peripheral is write protected.
9774 */
9775 /*@{*/
9776 #define BP_AIPS_PACRM_WP3 (17U) /*!< Bit position for AIPS_PACRM_WP3. */
9777 #define BM_AIPS_PACRM_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRM_WP3. */
9778 #define BS_AIPS_PACRM_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP3. */
9779
9780 /*! @brief Read current value of the AIPS_PACRM_WP3 field. */
9781 #define BR_AIPS_PACRM_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP3))
9782
9783 /*! @brief Format value for bitfield AIPS_PACRM_WP3. */
9784 #define BF_AIPS_PACRM_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP3) & BM_AIPS_PACRM_WP3)
9785
9786 /*! @brief Set the WP3 field to a new value. */
9787 #define BW_AIPS_PACRM_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP3) = (v))
9788 /*@}*/
9789
9790 /*!
9791 * @name Register AIPS_PACRM, field SP3[18] (RW)
9792 *
9793 * Determines whether the peripheral requires supervisor privilege level for
9794 * accesses. When this field is set, the master privilege level must indicate the
9795 * supervisor access attribute, and the MPRx[MPLn] control field for the master
9796 * must be set. If not, access terminates with an error response and no peripheral
9797 * access initiates.
9798 *
9799 * Values:
9800 * - 0 - This peripheral does not require supervisor privilege level for
9801 * accesses.
9802 * - 1 - This peripheral requires supervisor privilege level for accesses.
9803 */
9804 /*@{*/
9805 #define BP_AIPS_PACRM_SP3 (18U) /*!< Bit position for AIPS_PACRM_SP3. */
9806 #define BM_AIPS_PACRM_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRM_SP3. */
9807 #define BS_AIPS_PACRM_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP3. */
9808
9809 /*! @brief Read current value of the AIPS_PACRM_SP3 field. */
9810 #define BR_AIPS_PACRM_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP3))
9811
9812 /*! @brief Format value for bitfield AIPS_PACRM_SP3. */
9813 #define BF_AIPS_PACRM_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP3) & BM_AIPS_PACRM_SP3)
9814
9815 /*! @brief Set the SP3 field to a new value. */
9816 #define BW_AIPS_PACRM_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP3) = (v))
9817 /*@}*/
9818
9819 /*!
9820 * @name Register AIPS_PACRM, field TP2[20] (RW)
9821 *
9822 * Determines whether the peripheral allows accesses from an untrusted master.
9823 * When this bit is set and an access is attempted by an untrusted master, the
9824 * access terminates with an error response and no peripheral access initiates.
9825 *
9826 * Values:
9827 * - 0 - Accesses from an untrusted master are allowed.
9828 * - 1 - Accesses from an untrusted master are not allowed.
9829 */
9830 /*@{*/
9831 #define BP_AIPS_PACRM_TP2 (20U) /*!< Bit position for AIPS_PACRM_TP2. */
9832 #define BM_AIPS_PACRM_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRM_TP2. */
9833 #define BS_AIPS_PACRM_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP2. */
9834
9835 /*! @brief Read current value of the AIPS_PACRM_TP2 field. */
9836 #define BR_AIPS_PACRM_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP2))
9837
9838 /*! @brief Format value for bitfield AIPS_PACRM_TP2. */
9839 #define BF_AIPS_PACRM_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP2) & BM_AIPS_PACRM_TP2)
9840
9841 /*! @brief Set the TP2 field to a new value. */
9842 #define BW_AIPS_PACRM_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP2) = (v))
9843 /*@}*/
9844
9845 /*!
9846 * @name Register AIPS_PACRM, field WP2[21] (RW)
9847 *
9848 * Determines whether the peripheral allows write accesses. When this field is
9849 * set and a write access is attempted, access terminates with an error response
9850 * and no peripheral access initiates.
9851 *
9852 * Values:
9853 * - 0 - This peripheral allows write accesses.
9854 * - 1 - This peripheral is write protected.
9855 */
9856 /*@{*/
9857 #define BP_AIPS_PACRM_WP2 (21U) /*!< Bit position for AIPS_PACRM_WP2. */
9858 #define BM_AIPS_PACRM_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRM_WP2. */
9859 #define BS_AIPS_PACRM_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP2. */
9860
9861 /*! @brief Read current value of the AIPS_PACRM_WP2 field. */
9862 #define BR_AIPS_PACRM_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP2))
9863
9864 /*! @brief Format value for bitfield AIPS_PACRM_WP2. */
9865 #define BF_AIPS_PACRM_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP2) & BM_AIPS_PACRM_WP2)
9866
9867 /*! @brief Set the WP2 field to a new value. */
9868 #define BW_AIPS_PACRM_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP2) = (v))
9869 /*@}*/
9870
9871 /*!
9872 * @name Register AIPS_PACRM, field SP2[22] (RW)
9873 *
9874 * Determines whether the peripheral requires supervisor privilege level for
9875 * access. When this bit is set, the master privilege level must indicate the
9876 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
9877 * set. If not, access terminates with an error response and no peripheral access
9878 * initiates.
9879 *
9880 * Values:
9881 * - 0 - This peripheral does not require supervisor privilege level for
9882 * accesses.
9883 * - 1 - This peripheral requires supervisor privilege level for accesses.
9884 */
9885 /*@{*/
9886 #define BP_AIPS_PACRM_SP2 (22U) /*!< Bit position for AIPS_PACRM_SP2. */
9887 #define BM_AIPS_PACRM_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRM_SP2. */
9888 #define BS_AIPS_PACRM_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP2. */
9889
9890 /*! @brief Read current value of the AIPS_PACRM_SP2 field. */
9891 #define BR_AIPS_PACRM_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP2))
9892
9893 /*! @brief Format value for bitfield AIPS_PACRM_SP2. */
9894 #define BF_AIPS_PACRM_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP2) & BM_AIPS_PACRM_SP2)
9895
9896 /*! @brief Set the SP2 field to a new value. */
9897 #define BW_AIPS_PACRM_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP2) = (v))
9898 /*@}*/
9899
9900 /*!
9901 * @name Register AIPS_PACRM, field TP1[24] (RW)
9902 *
9903 * Determines whether the peripheral allows accesses from an untrusted master.
9904 * When this field is set and an access is attempted by an untrusted master, the
9905 * access terminates with an error response and no peripheral access initiates.
9906 *
9907 * Values:
9908 * - 0 - Accesses from an untrusted master are allowed.
9909 * - 1 - Accesses from an untrusted master are not allowed.
9910 */
9911 /*@{*/
9912 #define BP_AIPS_PACRM_TP1 (24U) /*!< Bit position for AIPS_PACRM_TP1. */
9913 #define BM_AIPS_PACRM_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRM_TP1. */
9914 #define BS_AIPS_PACRM_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP1. */
9915
9916 /*! @brief Read current value of the AIPS_PACRM_TP1 field. */
9917 #define BR_AIPS_PACRM_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP1))
9918
9919 /*! @brief Format value for bitfield AIPS_PACRM_TP1. */
9920 #define BF_AIPS_PACRM_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP1) & BM_AIPS_PACRM_TP1)
9921
9922 /*! @brief Set the TP1 field to a new value. */
9923 #define BW_AIPS_PACRM_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP1) = (v))
9924 /*@}*/
9925
9926 /*!
9927 * @name Register AIPS_PACRM, field WP1[25] (RW)
9928 *
9929 * Determines whether the peripheral allows write accesses. When this field is
9930 * set and a write access is attempted, access terminates with an error response
9931 * and no peripheral access initiates.
9932 *
9933 * Values:
9934 * - 0 - This peripheral allows write accesses.
9935 * - 1 - This peripheral is write protected.
9936 */
9937 /*@{*/
9938 #define BP_AIPS_PACRM_WP1 (25U) /*!< Bit position for AIPS_PACRM_WP1. */
9939 #define BM_AIPS_PACRM_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRM_WP1. */
9940 #define BS_AIPS_PACRM_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP1. */
9941
9942 /*! @brief Read current value of the AIPS_PACRM_WP1 field. */
9943 #define BR_AIPS_PACRM_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP1))
9944
9945 /*! @brief Format value for bitfield AIPS_PACRM_WP1. */
9946 #define BF_AIPS_PACRM_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP1) & BM_AIPS_PACRM_WP1)
9947
9948 /*! @brief Set the WP1 field to a new value. */
9949 #define BW_AIPS_PACRM_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP1) = (v))
9950 /*@}*/
9951
9952 /*!
9953 * @name Register AIPS_PACRM, field SP1[26] (RW)
9954 *
9955 * Determines whether the peripheral requires supervisor privilege level for
9956 * access. When this field is set, the master privilege level must indicate the
9957 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
9958 * be set. If not, access terminates with an error response and no peripheral
9959 * access initiates.
9960 *
9961 * Values:
9962 * - 0 - This peripheral does not require supervisor privilege level for
9963 * accesses.
9964 * - 1 - This peripheral requires supervisor privilege level for accesses.
9965 */
9966 /*@{*/
9967 #define BP_AIPS_PACRM_SP1 (26U) /*!< Bit position for AIPS_PACRM_SP1. */
9968 #define BM_AIPS_PACRM_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRM_SP1. */
9969 #define BS_AIPS_PACRM_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP1. */
9970
9971 /*! @brief Read current value of the AIPS_PACRM_SP1 field. */
9972 #define BR_AIPS_PACRM_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP1))
9973
9974 /*! @brief Format value for bitfield AIPS_PACRM_SP1. */
9975 #define BF_AIPS_PACRM_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP1) & BM_AIPS_PACRM_SP1)
9976
9977 /*! @brief Set the SP1 field to a new value. */
9978 #define BW_AIPS_PACRM_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP1) = (v))
9979 /*@}*/
9980
9981 /*!
9982 * @name Register AIPS_PACRM, field TP0[28] (RW)
9983 *
9984 * Determines whether the peripheral allows accesses from an untrusted master.
9985 * When this bit is set and an access is attempted by an untrusted master, the
9986 * access terminates with an error response and no peripheral access initiates.
9987 *
9988 * Values:
9989 * - 0 - Accesses from an untrusted master are allowed.
9990 * - 1 - Accesses from an untrusted master are not allowed.
9991 */
9992 /*@{*/
9993 #define BP_AIPS_PACRM_TP0 (28U) /*!< Bit position for AIPS_PACRM_TP0. */
9994 #define BM_AIPS_PACRM_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRM_TP0. */
9995 #define BS_AIPS_PACRM_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRM_TP0. */
9996
9997 /*! @brief Read current value of the AIPS_PACRM_TP0 field. */
9998 #define BR_AIPS_PACRM_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP0))
9999
10000 /*! @brief Format value for bitfield AIPS_PACRM_TP0. */
10001 #define BF_AIPS_PACRM_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_TP0) & BM_AIPS_PACRM_TP0)
10002
10003 /*! @brief Set the TP0 field to a new value. */
10004 #define BW_AIPS_PACRM_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_TP0) = (v))
10005 /*@}*/
10006
10007 /*!
10008 * @name Register AIPS_PACRM, field WP0[29] (RW)
10009 *
10010 * Determines whether the peripheral allows write accesses. When this field is
10011 * set and a write access is attempted, access terminates with an error response
10012 * and no peripheral access initiates.
10013 *
10014 * Values:
10015 * - 0 - This peripheral allows write accesses.
10016 * - 1 - This peripheral is write protected.
10017 */
10018 /*@{*/
10019 #define BP_AIPS_PACRM_WP0 (29U) /*!< Bit position for AIPS_PACRM_WP0. */
10020 #define BM_AIPS_PACRM_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRM_WP0. */
10021 #define BS_AIPS_PACRM_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRM_WP0. */
10022
10023 /*! @brief Read current value of the AIPS_PACRM_WP0 field. */
10024 #define BR_AIPS_PACRM_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP0))
10025
10026 /*! @brief Format value for bitfield AIPS_PACRM_WP0. */
10027 #define BF_AIPS_PACRM_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_WP0) & BM_AIPS_PACRM_WP0)
10028
10029 /*! @brief Set the WP0 field to a new value. */
10030 #define BW_AIPS_PACRM_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_WP0) = (v))
10031 /*@}*/
10032
10033 /*!
10034 * @name Register AIPS_PACRM, field SP0[30] (RW)
10035 *
10036 * Determines whether the peripheral requires supervisor privilege level for
10037 * accesses. When this field is set, the master privilege level must indicate the
10038 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10039 * must be set. If not, access terminates with an error response and no peripheral
10040 * access initiates.
10041 *
10042 * Values:
10043 * - 0 - This peripheral does not require supervisor privilege level for
10044 * accesses.
10045 * - 1 - This peripheral requires supervisor privilege level for accesses.
10046 */
10047 /*@{*/
10048 #define BP_AIPS_PACRM_SP0 (30U) /*!< Bit position for AIPS_PACRM_SP0. */
10049 #define BM_AIPS_PACRM_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRM_SP0. */
10050 #define BS_AIPS_PACRM_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRM_SP0. */
10051
10052 /*! @brief Read current value of the AIPS_PACRM_SP0 field. */
10053 #define BR_AIPS_PACRM_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP0))
10054
10055 /*! @brief Format value for bitfield AIPS_PACRM_SP0. */
10056 #define BF_AIPS_PACRM_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRM_SP0) & BM_AIPS_PACRM_SP0)
10057
10058 /*! @brief Set the SP0 field to a new value. */
10059 #define BW_AIPS_PACRM_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRM_ADDR(x), BP_AIPS_PACRM_SP0) = (v))
10060 /*@}*/
10061
10062 /*******************************************************************************
10063 * HW_AIPS_PACRN - Peripheral Access Control Register
10064 ******************************************************************************/
10065
10066 /*!
10067 * @brief HW_AIPS_PACRN - Peripheral Access Control Register (RW)
10068 *
10069 * Reset value: 0x44444444U
10070 *
10071 * This section describes PACR registers E-P, which control peripheral slots
10072 * 32-127. See PACRPeripheral Access Control Register for the description of these
10073 * registers.
10074 */
10075 typedef union _hw_aips_pacrn
10076 {
10077 uint32_t U;
10078 struct _hw_aips_pacrn_bitfields
10079 {
10080 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
10081 uint32_t WP7 : 1; /*!< [1] Write Protect */
10082 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
10083 uint32_t RESERVED0 : 1; /*!< [3] */
10084 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
10085 uint32_t WP6 : 1; /*!< [5] Write Protect */
10086 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
10087 uint32_t RESERVED1 : 1; /*!< [7] */
10088 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
10089 uint32_t WP5 : 1; /*!< [9] Write Protect */
10090 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
10091 uint32_t RESERVED2 : 1; /*!< [11] */
10092 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
10093 uint32_t WP4 : 1; /*!< [13] Write Protect */
10094 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
10095 uint32_t RESERVED3 : 1; /*!< [15] */
10096 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
10097 uint32_t WP3 : 1; /*!< [17] Write Protect */
10098 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
10099 uint32_t RESERVED4 : 1; /*!< [19] */
10100 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
10101 uint32_t WP2 : 1; /*!< [21] Write Protect */
10102 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
10103 uint32_t RESERVED5 : 1; /*!< [23] */
10104 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
10105 uint32_t WP1 : 1; /*!< [25] Write Protect */
10106 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
10107 uint32_t RESERVED6 : 1; /*!< [27] */
10108 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
10109 uint32_t WP0 : 1; /*!< [29] Write Protect */
10110 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
10111 uint32_t RESERVED7 : 1; /*!< [31] */
10112 } B;
10113 } hw_aips_pacrn_t;
10114
10115 /*!
10116 * @name Constants and macros for entire AIPS_PACRN register
10117 */
10118 /*@{*/
10119 #define HW_AIPS_PACRN_ADDR(x) ((x) + 0x64U)
10120
10121 #define HW_AIPS_PACRN(x) (*(__IO hw_aips_pacrn_t *) HW_AIPS_PACRN_ADDR(x))
10122 #define HW_AIPS_PACRN_RD(x) (HW_AIPS_PACRN(x).U)
10123 #define HW_AIPS_PACRN_WR(x, v) (HW_AIPS_PACRN(x).U = (v))
10124 #define HW_AIPS_PACRN_SET(x, v) (HW_AIPS_PACRN_WR(x, HW_AIPS_PACRN_RD(x) | (v)))
10125 #define HW_AIPS_PACRN_CLR(x, v) (HW_AIPS_PACRN_WR(x, HW_AIPS_PACRN_RD(x) & ~(v)))
10126 #define HW_AIPS_PACRN_TOG(x, v) (HW_AIPS_PACRN_WR(x, HW_AIPS_PACRN_RD(x) ^ (v)))
10127 /*@}*/
10128
10129 /*
10130 * Constants & macros for individual AIPS_PACRN bitfields
10131 */
10132
10133 /*!
10134 * @name Register AIPS_PACRN, field TP7[0] (RW)
10135 *
10136 * Determines whether the peripheral allows accesses from an untrusted master.
10137 * When this field is set and an access is attempted by an untrusted master, the
10138 * access terminates with an error response and no peripheral access initiates.
10139 *
10140 * Values:
10141 * - 0 - Accesses from an untrusted master are allowed.
10142 * - 1 - Accesses from an untrusted master are not allowed.
10143 */
10144 /*@{*/
10145 #define BP_AIPS_PACRN_TP7 (0U) /*!< Bit position for AIPS_PACRN_TP7. */
10146 #define BM_AIPS_PACRN_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRN_TP7. */
10147 #define BS_AIPS_PACRN_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP7. */
10148
10149 /*! @brief Read current value of the AIPS_PACRN_TP7 field. */
10150 #define BR_AIPS_PACRN_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP7))
10151
10152 /*! @brief Format value for bitfield AIPS_PACRN_TP7. */
10153 #define BF_AIPS_PACRN_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP7) & BM_AIPS_PACRN_TP7)
10154
10155 /*! @brief Set the TP7 field to a new value. */
10156 #define BW_AIPS_PACRN_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP7) = (v))
10157 /*@}*/
10158
10159 /*!
10160 * @name Register AIPS_PACRN, field WP7[1] (RW)
10161 *
10162 * Determines whether the peripheral allows write accesses. When this field is
10163 * set and a write access is attempted, access terminates with an error response
10164 * and no peripheral access initiates.
10165 *
10166 * Values:
10167 * - 0 - This peripheral allows write accesses.
10168 * - 1 - This peripheral is write protected.
10169 */
10170 /*@{*/
10171 #define BP_AIPS_PACRN_WP7 (1U) /*!< Bit position for AIPS_PACRN_WP7. */
10172 #define BM_AIPS_PACRN_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRN_WP7. */
10173 #define BS_AIPS_PACRN_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP7. */
10174
10175 /*! @brief Read current value of the AIPS_PACRN_WP7 field. */
10176 #define BR_AIPS_PACRN_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP7))
10177
10178 /*! @brief Format value for bitfield AIPS_PACRN_WP7. */
10179 #define BF_AIPS_PACRN_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP7) & BM_AIPS_PACRN_WP7)
10180
10181 /*! @brief Set the WP7 field to a new value. */
10182 #define BW_AIPS_PACRN_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP7) = (v))
10183 /*@}*/
10184
10185 /*!
10186 * @name Register AIPS_PACRN, field SP7[2] (RW)
10187 *
10188 * Determines whether the peripheral requires supervisor privilege level for
10189 * accesses. When this field is set, the master privilege level must indicate the
10190 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10191 * must be set. If not, access terminates with an error response and no peripheral
10192 * access initiates.
10193 *
10194 * Values:
10195 * - 0 - This peripheral does not require supervisor privilege level for
10196 * accesses.
10197 * - 1 - This peripheral requires supervisor privilege level for accesses.
10198 */
10199 /*@{*/
10200 #define BP_AIPS_PACRN_SP7 (2U) /*!< Bit position for AIPS_PACRN_SP7. */
10201 #define BM_AIPS_PACRN_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRN_SP7. */
10202 #define BS_AIPS_PACRN_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP7. */
10203
10204 /*! @brief Read current value of the AIPS_PACRN_SP7 field. */
10205 #define BR_AIPS_PACRN_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP7))
10206
10207 /*! @brief Format value for bitfield AIPS_PACRN_SP7. */
10208 #define BF_AIPS_PACRN_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP7) & BM_AIPS_PACRN_SP7)
10209
10210 /*! @brief Set the SP7 field to a new value. */
10211 #define BW_AIPS_PACRN_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP7) = (v))
10212 /*@}*/
10213
10214 /*!
10215 * @name Register AIPS_PACRN, field TP6[4] (RW)
10216 *
10217 * Determines whether the peripheral allows accesses from an untrusted master.
10218 * When this field is set and an access is attempted by an untrusted master, the
10219 * access terminates with an error response and no peripheral access initiates.
10220 *
10221 * Values:
10222 * - 0 - Accesses from an untrusted master are allowed.
10223 * - 1 - Accesses from an untrusted master are not allowed.
10224 */
10225 /*@{*/
10226 #define BP_AIPS_PACRN_TP6 (4U) /*!< Bit position for AIPS_PACRN_TP6. */
10227 #define BM_AIPS_PACRN_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRN_TP6. */
10228 #define BS_AIPS_PACRN_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP6. */
10229
10230 /*! @brief Read current value of the AIPS_PACRN_TP6 field. */
10231 #define BR_AIPS_PACRN_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP6))
10232
10233 /*! @brief Format value for bitfield AIPS_PACRN_TP6. */
10234 #define BF_AIPS_PACRN_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP6) & BM_AIPS_PACRN_TP6)
10235
10236 /*! @brief Set the TP6 field to a new value. */
10237 #define BW_AIPS_PACRN_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP6) = (v))
10238 /*@}*/
10239
10240 /*!
10241 * @name Register AIPS_PACRN, field WP6[5] (RW)
10242 *
10243 * Determines whether the peripheral allows write accesses. When this field is
10244 * set and a write access is attempted, access terminates with an error response
10245 * and no peripheral access initiates.
10246 *
10247 * Values:
10248 * - 0 - This peripheral allows write accesses.
10249 * - 1 - This peripheral is write protected.
10250 */
10251 /*@{*/
10252 #define BP_AIPS_PACRN_WP6 (5U) /*!< Bit position for AIPS_PACRN_WP6. */
10253 #define BM_AIPS_PACRN_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRN_WP6. */
10254 #define BS_AIPS_PACRN_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP6. */
10255
10256 /*! @brief Read current value of the AIPS_PACRN_WP6 field. */
10257 #define BR_AIPS_PACRN_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP6))
10258
10259 /*! @brief Format value for bitfield AIPS_PACRN_WP6. */
10260 #define BF_AIPS_PACRN_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP6) & BM_AIPS_PACRN_WP6)
10261
10262 /*! @brief Set the WP6 field to a new value. */
10263 #define BW_AIPS_PACRN_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP6) = (v))
10264 /*@}*/
10265
10266 /*!
10267 * @name Register AIPS_PACRN, field SP6[6] (RW)
10268 *
10269 * Determines whether the peripheral requires supervisor privilege level for
10270 * accesses. When this field is set, the master privilege level must indicate the
10271 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10272 * must be set. If not, access terminates with an error response and no peripheral
10273 * access initiates.
10274 *
10275 * Values:
10276 * - 0 - This peripheral does not require supervisor privilege level for
10277 * accesses.
10278 * - 1 - This peripheral requires supervisor privilege level for accesses.
10279 */
10280 /*@{*/
10281 #define BP_AIPS_PACRN_SP6 (6U) /*!< Bit position for AIPS_PACRN_SP6. */
10282 #define BM_AIPS_PACRN_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRN_SP6. */
10283 #define BS_AIPS_PACRN_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP6. */
10284
10285 /*! @brief Read current value of the AIPS_PACRN_SP6 field. */
10286 #define BR_AIPS_PACRN_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP6))
10287
10288 /*! @brief Format value for bitfield AIPS_PACRN_SP6. */
10289 #define BF_AIPS_PACRN_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP6) & BM_AIPS_PACRN_SP6)
10290
10291 /*! @brief Set the SP6 field to a new value. */
10292 #define BW_AIPS_PACRN_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP6) = (v))
10293 /*@}*/
10294
10295 /*!
10296 * @name Register AIPS_PACRN, field TP5[8] (RW)
10297 *
10298 * Determines whether the peripheral allows accesses from an untrusted master.
10299 * When this field is set and an access is attempted by an untrusted master, the
10300 * access terminates with an error response and no peripheral access initiates.
10301 *
10302 * Values:
10303 * - 0 - Accesses from an untrusted master are allowed.
10304 * - 1 - Accesses from an untrusted master are not allowed.
10305 */
10306 /*@{*/
10307 #define BP_AIPS_PACRN_TP5 (8U) /*!< Bit position for AIPS_PACRN_TP5. */
10308 #define BM_AIPS_PACRN_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRN_TP5. */
10309 #define BS_AIPS_PACRN_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP5. */
10310
10311 /*! @brief Read current value of the AIPS_PACRN_TP5 field. */
10312 #define BR_AIPS_PACRN_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP5))
10313
10314 /*! @brief Format value for bitfield AIPS_PACRN_TP5. */
10315 #define BF_AIPS_PACRN_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP5) & BM_AIPS_PACRN_TP5)
10316
10317 /*! @brief Set the TP5 field to a new value. */
10318 #define BW_AIPS_PACRN_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP5) = (v))
10319 /*@}*/
10320
10321 /*!
10322 * @name Register AIPS_PACRN, field WP5[9] (RW)
10323 *
10324 * Determines whether the peripheral allows write accesses. When this field is
10325 * set and a write access is attempted, access terminates with an error response
10326 * and no peripheral access initiates.
10327 *
10328 * Values:
10329 * - 0 - This peripheral allows write accesses.
10330 * - 1 - This peripheral is write protected.
10331 */
10332 /*@{*/
10333 #define BP_AIPS_PACRN_WP5 (9U) /*!< Bit position for AIPS_PACRN_WP5. */
10334 #define BM_AIPS_PACRN_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRN_WP5. */
10335 #define BS_AIPS_PACRN_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP5. */
10336
10337 /*! @brief Read current value of the AIPS_PACRN_WP5 field. */
10338 #define BR_AIPS_PACRN_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP5))
10339
10340 /*! @brief Format value for bitfield AIPS_PACRN_WP5. */
10341 #define BF_AIPS_PACRN_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP5) & BM_AIPS_PACRN_WP5)
10342
10343 /*! @brief Set the WP5 field to a new value. */
10344 #define BW_AIPS_PACRN_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP5) = (v))
10345 /*@}*/
10346
10347 /*!
10348 * @name Register AIPS_PACRN, field SP5[10] (RW)
10349 *
10350 * Determines whether the peripheral requires supervisor privilege level for
10351 * accesses. When this field is set, the master privilege level must indicate the
10352 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10353 * must be set. If not, access terminates with an error response and no peripheral
10354 * access initiates.
10355 *
10356 * Values:
10357 * - 0 - This peripheral does not require supervisor privilege level for
10358 * accesses.
10359 * - 1 - This peripheral requires supervisor privilege level for accesses.
10360 */
10361 /*@{*/
10362 #define BP_AIPS_PACRN_SP5 (10U) /*!< Bit position for AIPS_PACRN_SP5. */
10363 #define BM_AIPS_PACRN_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRN_SP5. */
10364 #define BS_AIPS_PACRN_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP5. */
10365
10366 /*! @brief Read current value of the AIPS_PACRN_SP5 field. */
10367 #define BR_AIPS_PACRN_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP5))
10368
10369 /*! @brief Format value for bitfield AIPS_PACRN_SP5. */
10370 #define BF_AIPS_PACRN_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP5) & BM_AIPS_PACRN_SP5)
10371
10372 /*! @brief Set the SP5 field to a new value. */
10373 #define BW_AIPS_PACRN_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP5) = (v))
10374 /*@}*/
10375
10376 /*!
10377 * @name Register AIPS_PACRN, field TP4[12] (RW)
10378 *
10379 * Determines whether the peripheral allows accesses from an untrusted master.
10380 * When this bit is set and an access is attempted by an untrusted master, the
10381 * access terminates with an error response and no peripheral access initiates.
10382 *
10383 * Values:
10384 * - 0 - Accesses from an untrusted master are allowed.
10385 * - 1 - Accesses from an untrusted master are not allowed.
10386 */
10387 /*@{*/
10388 #define BP_AIPS_PACRN_TP4 (12U) /*!< Bit position for AIPS_PACRN_TP4. */
10389 #define BM_AIPS_PACRN_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRN_TP4. */
10390 #define BS_AIPS_PACRN_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP4. */
10391
10392 /*! @brief Read current value of the AIPS_PACRN_TP4 field. */
10393 #define BR_AIPS_PACRN_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP4))
10394
10395 /*! @brief Format value for bitfield AIPS_PACRN_TP4. */
10396 #define BF_AIPS_PACRN_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP4) & BM_AIPS_PACRN_TP4)
10397
10398 /*! @brief Set the TP4 field to a new value. */
10399 #define BW_AIPS_PACRN_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP4) = (v))
10400 /*@}*/
10401
10402 /*!
10403 * @name Register AIPS_PACRN, field WP4[13] (RW)
10404 *
10405 * Determines whether the peripheral allows write accesses. When this field is
10406 * set and a write access is attempted, access terminates with an error response
10407 * and no peripheral access initiates.
10408 *
10409 * Values:
10410 * - 0 - This peripheral allows write accesses.
10411 * - 1 - This peripheral is write protected.
10412 */
10413 /*@{*/
10414 #define BP_AIPS_PACRN_WP4 (13U) /*!< Bit position for AIPS_PACRN_WP4. */
10415 #define BM_AIPS_PACRN_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRN_WP4. */
10416 #define BS_AIPS_PACRN_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP4. */
10417
10418 /*! @brief Read current value of the AIPS_PACRN_WP4 field. */
10419 #define BR_AIPS_PACRN_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP4))
10420
10421 /*! @brief Format value for bitfield AIPS_PACRN_WP4. */
10422 #define BF_AIPS_PACRN_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP4) & BM_AIPS_PACRN_WP4)
10423
10424 /*! @brief Set the WP4 field to a new value. */
10425 #define BW_AIPS_PACRN_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP4) = (v))
10426 /*@}*/
10427
10428 /*!
10429 * @name Register AIPS_PACRN, field SP4[14] (RW)
10430 *
10431 * Determines whether the peripheral requires supervisor privilege level for
10432 * access. When this bit is set, the master privilege level must indicate the
10433 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
10434 * set. If not, access terminates with an error response and no peripheral access
10435 * initiates.
10436 *
10437 * Values:
10438 * - 0 - This peripheral does not require supervisor privilege level for
10439 * accesses.
10440 * - 1 - This peripheral requires supervisor privilege level for accesses.
10441 */
10442 /*@{*/
10443 #define BP_AIPS_PACRN_SP4 (14U) /*!< Bit position for AIPS_PACRN_SP4. */
10444 #define BM_AIPS_PACRN_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRN_SP4. */
10445 #define BS_AIPS_PACRN_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP4. */
10446
10447 /*! @brief Read current value of the AIPS_PACRN_SP4 field. */
10448 #define BR_AIPS_PACRN_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP4))
10449
10450 /*! @brief Format value for bitfield AIPS_PACRN_SP4. */
10451 #define BF_AIPS_PACRN_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP4) & BM_AIPS_PACRN_SP4)
10452
10453 /*! @brief Set the SP4 field to a new value. */
10454 #define BW_AIPS_PACRN_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP4) = (v))
10455 /*@}*/
10456
10457 /*!
10458 * @name Register AIPS_PACRN, field TP3[16] (RW)
10459 *
10460 * Determines whether the peripheral allows accesses from an untrusted master.
10461 * When this field is set and an access is attempted by an untrusted master, the
10462 * access terminates with an error response and no peripheral access initiates.
10463 *
10464 * Values:
10465 * - 0 - Accesses from an untrusted master are allowed.
10466 * - 1 - Accesses from an untrusted master are not allowed.
10467 */
10468 /*@{*/
10469 #define BP_AIPS_PACRN_TP3 (16U) /*!< Bit position for AIPS_PACRN_TP3. */
10470 #define BM_AIPS_PACRN_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRN_TP3. */
10471 #define BS_AIPS_PACRN_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP3. */
10472
10473 /*! @brief Read current value of the AIPS_PACRN_TP3 field. */
10474 #define BR_AIPS_PACRN_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP3))
10475
10476 /*! @brief Format value for bitfield AIPS_PACRN_TP3. */
10477 #define BF_AIPS_PACRN_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP3) & BM_AIPS_PACRN_TP3)
10478
10479 /*! @brief Set the TP3 field to a new value. */
10480 #define BW_AIPS_PACRN_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP3) = (v))
10481 /*@}*/
10482
10483 /*!
10484 * @name Register AIPS_PACRN, field WP3[17] (RW)
10485 *
10486 * Determines whether the peripheral allows write accesss. When this bit is set
10487 * and a write access is attempted, access terminates with an error response and
10488 * no peripheral access initiates.
10489 *
10490 * Values:
10491 * - 0 - This peripheral allows write accesses.
10492 * - 1 - This peripheral is write protected.
10493 */
10494 /*@{*/
10495 #define BP_AIPS_PACRN_WP3 (17U) /*!< Bit position for AIPS_PACRN_WP3. */
10496 #define BM_AIPS_PACRN_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRN_WP3. */
10497 #define BS_AIPS_PACRN_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP3. */
10498
10499 /*! @brief Read current value of the AIPS_PACRN_WP3 field. */
10500 #define BR_AIPS_PACRN_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP3))
10501
10502 /*! @brief Format value for bitfield AIPS_PACRN_WP3. */
10503 #define BF_AIPS_PACRN_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP3) & BM_AIPS_PACRN_WP3)
10504
10505 /*! @brief Set the WP3 field to a new value. */
10506 #define BW_AIPS_PACRN_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP3) = (v))
10507 /*@}*/
10508
10509 /*!
10510 * @name Register AIPS_PACRN, field SP3[18] (RW)
10511 *
10512 * Determines whether the peripheral requires supervisor privilege level for
10513 * accesses. When this field is set, the master privilege level must indicate the
10514 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10515 * must be set. If not, access terminates with an error response and no peripheral
10516 * access initiates.
10517 *
10518 * Values:
10519 * - 0 - This peripheral does not require supervisor privilege level for
10520 * accesses.
10521 * - 1 - This peripheral requires supervisor privilege level for accesses.
10522 */
10523 /*@{*/
10524 #define BP_AIPS_PACRN_SP3 (18U) /*!< Bit position for AIPS_PACRN_SP3. */
10525 #define BM_AIPS_PACRN_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRN_SP3. */
10526 #define BS_AIPS_PACRN_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP3. */
10527
10528 /*! @brief Read current value of the AIPS_PACRN_SP3 field. */
10529 #define BR_AIPS_PACRN_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP3))
10530
10531 /*! @brief Format value for bitfield AIPS_PACRN_SP3. */
10532 #define BF_AIPS_PACRN_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP3) & BM_AIPS_PACRN_SP3)
10533
10534 /*! @brief Set the SP3 field to a new value. */
10535 #define BW_AIPS_PACRN_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP3) = (v))
10536 /*@}*/
10537
10538 /*!
10539 * @name Register AIPS_PACRN, field TP2[20] (RW)
10540 *
10541 * Determines whether the peripheral allows accesses from an untrusted master.
10542 * When this bit is set and an access is attempted by an untrusted master, the
10543 * access terminates with an error response and no peripheral access initiates.
10544 *
10545 * Values:
10546 * - 0 - Accesses from an untrusted master are allowed.
10547 * - 1 - Accesses from an untrusted master are not allowed.
10548 */
10549 /*@{*/
10550 #define BP_AIPS_PACRN_TP2 (20U) /*!< Bit position for AIPS_PACRN_TP2. */
10551 #define BM_AIPS_PACRN_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRN_TP2. */
10552 #define BS_AIPS_PACRN_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP2. */
10553
10554 /*! @brief Read current value of the AIPS_PACRN_TP2 field. */
10555 #define BR_AIPS_PACRN_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP2))
10556
10557 /*! @brief Format value for bitfield AIPS_PACRN_TP2. */
10558 #define BF_AIPS_PACRN_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP2) & BM_AIPS_PACRN_TP2)
10559
10560 /*! @brief Set the TP2 field to a new value. */
10561 #define BW_AIPS_PACRN_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP2) = (v))
10562 /*@}*/
10563
10564 /*!
10565 * @name Register AIPS_PACRN, field WP2[21] (RW)
10566 *
10567 * Determines whether the peripheral allows write accesses. When this field is
10568 * set and a write access is attempted, access terminates with an error response
10569 * and no peripheral access initiates.
10570 *
10571 * Values:
10572 * - 0 - This peripheral allows write accesses.
10573 * - 1 - This peripheral is write protected.
10574 */
10575 /*@{*/
10576 #define BP_AIPS_PACRN_WP2 (21U) /*!< Bit position for AIPS_PACRN_WP2. */
10577 #define BM_AIPS_PACRN_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRN_WP2. */
10578 #define BS_AIPS_PACRN_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP2. */
10579
10580 /*! @brief Read current value of the AIPS_PACRN_WP2 field. */
10581 #define BR_AIPS_PACRN_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP2))
10582
10583 /*! @brief Format value for bitfield AIPS_PACRN_WP2. */
10584 #define BF_AIPS_PACRN_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP2) & BM_AIPS_PACRN_WP2)
10585
10586 /*! @brief Set the WP2 field to a new value. */
10587 #define BW_AIPS_PACRN_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP2) = (v))
10588 /*@}*/
10589
10590 /*!
10591 * @name Register AIPS_PACRN, field SP2[22] (RW)
10592 *
10593 * Determines whether the peripheral requires supervisor privilege level for
10594 * access. When this bit is set, the master privilege level must indicate the
10595 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
10596 * set. If not, access terminates with an error response and no peripheral access
10597 * initiates.
10598 *
10599 * Values:
10600 * - 0 - This peripheral does not require supervisor privilege level for
10601 * accesses.
10602 * - 1 - This peripheral requires supervisor privilege level for accesses.
10603 */
10604 /*@{*/
10605 #define BP_AIPS_PACRN_SP2 (22U) /*!< Bit position for AIPS_PACRN_SP2. */
10606 #define BM_AIPS_PACRN_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRN_SP2. */
10607 #define BS_AIPS_PACRN_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP2. */
10608
10609 /*! @brief Read current value of the AIPS_PACRN_SP2 field. */
10610 #define BR_AIPS_PACRN_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP2))
10611
10612 /*! @brief Format value for bitfield AIPS_PACRN_SP2. */
10613 #define BF_AIPS_PACRN_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP2) & BM_AIPS_PACRN_SP2)
10614
10615 /*! @brief Set the SP2 field to a new value. */
10616 #define BW_AIPS_PACRN_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP2) = (v))
10617 /*@}*/
10618
10619 /*!
10620 * @name Register AIPS_PACRN, field TP1[24] (RW)
10621 *
10622 * Determines whether the peripheral allows accesses from an untrusted master.
10623 * When this field is set and an access is attempted by an untrusted master, the
10624 * access terminates with an error response and no peripheral access initiates.
10625 *
10626 * Values:
10627 * - 0 - Accesses from an untrusted master are allowed.
10628 * - 1 - Accesses from an untrusted master are not allowed.
10629 */
10630 /*@{*/
10631 #define BP_AIPS_PACRN_TP1 (24U) /*!< Bit position for AIPS_PACRN_TP1. */
10632 #define BM_AIPS_PACRN_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRN_TP1. */
10633 #define BS_AIPS_PACRN_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP1. */
10634
10635 /*! @brief Read current value of the AIPS_PACRN_TP1 field. */
10636 #define BR_AIPS_PACRN_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP1))
10637
10638 /*! @brief Format value for bitfield AIPS_PACRN_TP1. */
10639 #define BF_AIPS_PACRN_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP1) & BM_AIPS_PACRN_TP1)
10640
10641 /*! @brief Set the TP1 field to a new value. */
10642 #define BW_AIPS_PACRN_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP1) = (v))
10643 /*@}*/
10644
10645 /*!
10646 * @name Register AIPS_PACRN, field WP1[25] (RW)
10647 *
10648 * Determines whether the peripheral allows write accesses. When this field is
10649 * set and a write access is attempted, access terminates with an error response
10650 * and no peripheral access initiates.
10651 *
10652 * Values:
10653 * - 0 - This peripheral allows write accesses.
10654 * - 1 - This peripheral is write protected.
10655 */
10656 /*@{*/
10657 #define BP_AIPS_PACRN_WP1 (25U) /*!< Bit position for AIPS_PACRN_WP1. */
10658 #define BM_AIPS_PACRN_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRN_WP1. */
10659 #define BS_AIPS_PACRN_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP1. */
10660
10661 /*! @brief Read current value of the AIPS_PACRN_WP1 field. */
10662 #define BR_AIPS_PACRN_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP1))
10663
10664 /*! @brief Format value for bitfield AIPS_PACRN_WP1. */
10665 #define BF_AIPS_PACRN_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP1) & BM_AIPS_PACRN_WP1)
10666
10667 /*! @brief Set the WP1 field to a new value. */
10668 #define BW_AIPS_PACRN_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP1) = (v))
10669 /*@}*/
10670
10671 /*!
10672 * @name Register AIPS_PACRN, field SP1[26] (RW)
10673 *
10674 * Determines whether the peripheral requires supervisor privilege level for
10675 * access. When this field is set, the master privilege level must indicate the
10676 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
10677 * be set. If not, access terminates with an error response and no peripheral
10678 * access initiates.
10679 *
10680 * Values:
10681 * - 0 - This peripheral does not require supervisor privilege level for
10682 * accesses.
10683 * - 1 - This peripheral requires supervisor privilege level for accesses.
10684 */
10685 /*@{*/
10686 #define BP_AIPS_PACRN_SP1 (26U) /*!< Bit position for AIPS_PACRN_SP1. */
10687 #define BM_AIPS_PACRN_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRN_SP1. */
10688 #define BS_AIPS_PACRN_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP1. */
10689
10690 /*! @brief Read current value of the AIPS_PACRN_SP1 field. */
10691 #define BR_AIPS_PACRN_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP1))
10692
10693 /*! @brief Format value for bitfield AIPS_PACRN_SP1. */
10694 #define BF_AIPS_PACRN_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP1) & BM_AIPS_PACRN_SP1)
10695
10696 /*! @brief Set the SP1 field to a new value. */
10697 #define BW_AIPS_PACRN_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP1) = (v))
10698 /*@}*/
10699
10700 /*!
10701 * @name Register AIPS_PACRN, field TP0[28] (RW)
10702 *
10703 * Determines whether the peripheral allows accesses from an untrusted master.
10704 * When this bit is set and an access is attempted by an untrusted master, the
10705 * access terminates with an error response and no peripheral access initiates.
10706 *
10707 * Values:
10708 * - 0 - Accesses from an untrusted master are allowed.
10709 * - 1 - Accesses from an untrusted master are not allowed.
10710 */
10711 /*@{*/
10712 #define BP_AIPS_PACRN_TP0 (28U) /*!< Bit position for AIPS_PACRN_TP0. */
10713 #define BM_AIPS_PACRN_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRN_TP0. */
10714 #define BS_AIPS_PACRN_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRN_TP0. */
10715
10716 /*! @brief Read current value of the AIPS_PACRN_TP0 field. */
10717 #define BR_AIPS_PACRN_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP0))
10718
10719 /*! @brief Format value for bitfield AIPS_PACRN_TP0. */
10720 #define BF_AIPS_PACRN_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_TP0) & BM_AIPS_PACRN_TP0)
10721
10722 /*! @brief Set the TP0 field to a new value. */
10723 #define BW_AIPS_PACRN_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_TP0) = (v))
10724 /*@}*/
10725
10726 /*!
10727 * @name Register AIPS_PACRN, field WP0[29] (RW)
10728 *
10729 * Determines whether the peripheral allows write accesses. When this field is
10730 * set and a write access is attempted, access terminates with an error response
10731 * and no peripheral access initiates.
10732 *
10733 * Values:
10734 * - 0 - This peripheral allows write accesses.
10735 * - 1 - This peripheral is write protected.
10736 */
10737 /*@{*/
10738 #define BP_AIPS_PACRN_WP0 (29U) /*!< Bit position for AIPS_PACRN_WP0. */
10739 #define BM_AIPS_PACRN_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRN_WP0. */
10740 #define BS_AIPS_PACRN_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRN_WP0. */
10741
10742 /*! @brief Read current value of the AIPS_PACRN_WP0 field. */
10743 #define BR_AIPS_PACRN_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP0))
10744
10745 /*! @brief Format value for bitfield AIPS_PACRN_WP0. */
10746 #define BF_AIPS_PACRN_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_WP0) & BM_AIPS_PACRN_WP0)
10747
10748 /*! @brief Set the WP0 field to a new value. */
10749 #define BW_AIPS_PACRN_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_WP0) = (v))
10750 /*@}*/
10751
10752 /*!
10753 * @name Register AIPS_PACRN, field SP0[30] (RW)
10754 *
10755 * Determines whether the peripheral requires supervisor privilege level for
10756 * accesses. When this field is set, the master privilege level must indicate the
10757 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10758 * must be set. If not, access terminates with an error response and no peripheral
10759 * access initiates.
10760 *
10761 * Values:
10762 * - 0 - This peripheral does not require supervisor privilege level for
10763 * accesses.
10764 * - 1 - This peripheral requires supervisor privilege level for accesses.
10765 */
10766 /*@{*/
10767 #define BP_AIPS_PACRN_SP0 (30U) /*!< Bit position for AIPS_PACRN_SP0. */
10768 #define BM_AIPS_PACRN_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRN_SP0. */
10769 #define BS_AIPS_PACRN_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRN_SP0. */
10770
10771 /*! @brief Read current value of the AIPS_PACRN_SP0 field. */
10772 #define BR_AIPS_PACRN_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP0))
10773
10774 /*! @brief Format value for bitfield AIPS_PACRN_SP0. */
10775 #define BF_AIPS_PACRN_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRN_SP0) & BM_AIPS_PACRN_SP0)
10776
10777 /*! @brief Set the SP0 field to a new value. */
10778 #define BW_AIPS_PACRN_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRN_ADDR(x), BP_AIPS_PACRN_SP0) = (v))
10779 /*@}*/
10780
10781 /*******************************************************************************
10782 * HW_AIPS_PACRO - Peripheral Access Control Register
10783 ******************************************************************************/
10784
10785 /*!
10786 * @brief HW_AIPS_PACRO - Peripheral Access Control Register (RW)
10787 *
10788 * Reset value: 0x44444444U
10789 *
10790 * This section describes PACR registers E-P, which control peripheral slots
10791 * 32-127. See PACRPeripheral Access Control Register for the description of these
10792 * registers.
10793 */
10794 typedef union _hw_aips_pacro
10795 {
10796 uint32_t U;
10797 struct _hw_aips_pacro_bitfields
10798 {
10799 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
10800 uint32_t WP7 : 1; /*!< [1] Write Protect */
10801 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
10802 uint32_t RESERVED0 : 1; /*!< [3] */
10803 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
10804 uint32_t WP6 : 1; /*!< [5] Write Protect */
10805 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
10806 uint32_t RESERVED1 : 1; /*!< [7] */
10807 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
10808 uint32_t WP5 : 1; /*!< [9] Write Protect */
10809 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
10810 uint32_t RESERVED2 : 1; /*!< [11] */
10811 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
10812 uint32_t WP4 : 1; /*!< [13] Write Protect */
10813 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
10814 uint32_t RESERVED3 : 1; /*!< [15] */
10815 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
10816 uint32_t WP3 : 1; /*!< [17] Write Protect */
10817 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
10818 uint32_t RESERVED4 : 1; /*!< [19] */
10819 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
10820 uint32_t WP2 : 1; /*!< [21] Write Protect */
10821 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
10822 uint32_t RESERVED5 : 1; /*!< [23] */
10823 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
10824 uint32_t WP1 : 1; /*!< [25] Write Protect */
10825 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
10826 uint32_t RESERVED6 : 1; /*!< [27] */
10827 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
10828 uint32_t WP0 : 1; /*!< [29] Write Protect */
10829 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
10830 uint32_t RESERVED7 : 1; /*!< [31] */
10831 } B;
10832 } hw_aips_pacro_t;
10833
10834 /*!
10835 * @name Constants and macros for entire AIPS_PACRO register
10836 */
10837 /*@{*/
10838 #define HW_AIPS_PACRO_ADDR(x) ((x) + 0x68U)
10839
10840 #define HW_AIPS_PACRO(x) (*(__IO hw_aips_pacro_t *) HW_AIPS_PACRO_ADDR(x))
10841 #define HW_AIPS_PACRO_RD(x) (HW_AIPS_PACRO(x).U)
10842 #define HW_AIPS_PACRO_WR(x, v) (HW_AIPS_PACRO(x).U = (v))
10843 #define HW_AIPS_PACRO_SET(x, v) (HW_AIPS_PACRO_WR(x, HW_AIPS_PACRO_RD(x) | (v)))
10844 #define HW_AIPS_PACRO_CLR(x, v) (HW_AIPS_PACRO_WR(x, HW_AIPS_PACRO_RD(x) & ~(v)))
10845 #define HW_AIPS_PACRO_TOG(x, v) (HW_AIPS_PACRO_WR(x, HW_AIPS_PACRO_RD(x) ^ (v)))
10846 /*@}*/
10847
10848 /*
10849 * Constants & macros for individual AIPS_PACRO bitfields
10850 */
10851
10852 /*!
10853 * @name Register AIPS_PACRO, field TP7[0] (RW)
10854 *
10855 * Determines whether the peripheral allows accesses from an untrusted master.
10856 * When this field is set and an access is attempted by an untrusted master, the
10857 * access terminates with an error response and no peripheral access initiates.
10858 *
10859 * Values:
10860 * - 0 - Accesses from an untrusted master are allowed.
10861 * - 1 - Accesses from an untrusted master are not allowed.
10862 */
10863 /*@{*/
10864 #define BP_AIPS_PACRO_TP7 (0U) /*!< Bit position for AIPS_PACRO_TP7. */
10865 #define BM_AIPS_PACRO_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRO_TP7. */
10866 #define BS_AIPS_PACRO_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP7. */
10867
10868 /*! @brief Read current value of the AIPS_PACRO_TP7 field. */
10869 #define BR_AIPS_PACRO_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP7))
10870
10871 /*! @brief Format value for bitfield AIPS_PACRO_TP7. */
10872 #define BF_AIPS_PACRO_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP7) & BM_AIPS_PACRO_TP7)
10873
10874 /*! @brief Set the TP7 field to a new value. */
10875 #define BW_AIPS_PACRO_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP7) = (v))
10876 /*@}*/
10877
10878 /*!
10879 * @name Register AIPS_PACRO, field WP7[1] (RW)
10880 *
10881 * Determines whether the peripheral allows write accesses. When this field is
10882 * set and a write access is attempted, access terminates with an error response
10883 * and no peripheral access initiates.
10884 *
10885 * Values:
10886 * - 0 - This peripheral allows write accesses.
10887 * - 1 - This peripheral is write protected.
10888 */
10889 /*@{*/
10890 #define BP_AIPS_PACRO_WP7 (1U) /*!< Bit position for AIPS_PACRO_WP7. */
10891 #define BM_AIPS_PACRO_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRO_WP7. */
10892 #define BS_AIPS_PACRO_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP7. */
10893
10894 /*! @brief Read current value of the AIPS_PACRO_WP7 field. */
10895 #define BR_AIPS_PACRO_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP7))
10896
10897 /*! @brief Format value for bitfield AIPS_PACRO_WP7. */
10898 #define BF_AIPS_PACRO_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP7) & BM_AIPS_PACRO_WP7)
10899
10900 /*! @brief Set the WP7 field to a new value. */
10901 #define BW_AIPS_PACRO_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP7) = (v))
10902 /*@}*/
10903
10904 /*!
10905 * @name Register AIPS_PACRO, field SP7[2] (RW)
10906 *
10907 * Determines whether the peripheral requires supervisor privilege level for
10908 * accesses. When this field is set, the master privilege level must indicate the
10909 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10910 * must be set. If not, access terminates with an error response and no peripheral
10911 * access initiates.
10912 *
10913 * Values:
10914 * - 0 - This peripheral does not require supervisor privilege level for
10915 * accesses.
10916 * - 1 - This peripheral requires supervisor privilege level for accesses.
10917 */
10918 /*@{*/
10919 #define BP_AIPS_PACRO_SP7 (2U) /*!< Bit position for AIPS_PACRO_SP7. */
10920 #define BM_AIPS_PACRO_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRO_SP7. */
10921 #define BS_AIPS_PACRO_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP7. */
10922
10923 /*! @brief Read current value of the AIPS_PACRO_SP7 field. */
10924 #define BR_AIPS_PACRO_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP7))
10925
10926 /*! @brief Format value for bitfield AIPS_PACRO_SP7. */
10927 #define BF_AIPS_PACRO_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP7) & BM_AIPS_PACRO_SP7)
10928
10929 /*! @brief Set the SP7 field to a new value. */
10930 #define BW_AIPS_PACRO_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP7) = (v))
10931 /*@}*/
10932
10933 /*!
10934 * @name Register AIPS_PACRO, field TP6[4] (RW)
10935 *
10936 * Determines whether the peripheral allows accesses from an untrusted master.
10937 * When this field is set and an access is attempted by an untrusted master, the
10938 * access terminates with an error response and no peripheral access initiates.
10939 *
10940 * Values:
10941 * - 0 - Accesses from an untrusted master are allowed.
10942 * - 1 - Accesses from an untrusted master are not allowed.
10943 */
10944 /*@{*/
10945 #define BP_AIPS_PACRO_TP6 (4U) /*!< Bit position for AIPS_PACRO_TP6. */
10946 #define BM_AIPS_PACRO_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRO_TP6. */
10947 #define BS_AIPS_PACRO_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP6. */
10948
10949 /*! @brief Read current value of the AIPS_PACRO_TP6 field. */
10950 #define BR_AIPS_PACRO_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP6))
10951
10952 /*! @brief Format value for bitfield AIPS_PACRO_TP6. */
10953 #define BF_AIPS_PACRO_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP6) & BM_AIPS_PACRO_TP6)
10954
10955 /*! @brief Set the TP6 field to a new value. */
10956 #define BW_AIPS_PACRO_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP6) = (v))
10957 /*@}*/
10958
10959 /*!
10960 * @name Register AIPS_PACRO, field WP6[5] (RW)
10961 *
10962 * Determines whether the peripheral allows write accesses. When this field is
10963 * set and a write access is attempted, access terminates with an error response
10964 * and no peripheral access initiates.
10965 *
10966 * Values:
10967 * - 0 - This peripheral allows write accesses.
10968 * - 1 - This peripheral is write protected.
10969 */
10970 /*@{*/
10971 #define BP_AIPS_PACRO_WP6 (5U) /*!< Bit position for AIPS_PACRO_WP6. */
10972 #define BM_AIPS_PACRO_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRO_WP6. */
10973 #define BS_AIPS_PACRO_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP6. */
10974
10975 /*! @brief Read current value of the AIPS_PACRO_WP6 field. */
10976 #define BR_AIPS_PACRO_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP6))
10977
10978 /*! @brief Format value for bitfield AIPS_PACRO_WP6. */
10979 #define BF_AIPS_PACRO_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP6) & BM_AIPS_PACRO_WP6)
10980
10981 /*! @brief Set the WP6 field to a new value. */
10982 #define BW_AIPS_PACRO_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP6) = (v))
10983 /*@}*/
10984
10985 /*!
10986 * @name Register AIPS_PACRO, field SP6[6] (RW)
10987 *
10988 * Determines whether the peripheral requires supervisor privilege level for
10989 * accesses. When this field is set, the master privilege level must indicate the
10990 * supervisor access attribute, and the MPRx[MPLn] control field for the master
10991 * must be set. If not, access terminates with an error response and no peripheral
10992 * access initiates.
10993 *
10994 * Values:
10995 * - 0 - This peripheral does not require supervisor privilege level for
10996 * accesses.
10997 * - 1 - This peripheral requires supervisor privilege level for accesses.
10998 */
10999 /*@{*/
11000 #define BP_AIPS_PACRO_SP6 (6U) /*!< Bit position for AIPS_PACRO_SP6. */
11001 #define BM_AIPS_PACRO_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRO_SP6. */
11002 #define BS_AIPS_PACRO_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP6. */
11003
11004 /*! @brief Read current value of the AIPS_PACRO_SP6 field. */
11005 #define BR_AIPS_PACRO_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP6))
11006
11007 /*! @brief Format value for bitfield AIPS_PACRO_SP6. */
11008 #define BF_AIPS_PACRO_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP6) & BM_AIPS_PACRO_SP6)
11009
11010 /*! @brief Set the SP6 field to a new value. */
11011 #define BW_AIPS_PACRO_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP6) = (v))
11012 /*@}*/
11013
11014 /*!
11015 * @name Register AIPS_PACRO, field TP5[8] (RW)
11016 *
11017 * Determines whether the peripheral allows accesses from an untrusted master.
11018 * When this field is set and an access is attempted by an untrusted master, the
11019 * access terminates with an error response and no peripheral access initiates.
11020 *
11021 * Values:
11022 * - 0 - Accesses from an untrusted master are allowed.
11023 * - 1 - Accesses from an untrusted master are not allowed.
11024 */
11025 /*@{*/
11026 #define BP_AIPS_PACRO_TP5 (8U) /*!< Bit position for AIPS_PACRO_TP5. */
11027 #define BM_AIPS_PACRO_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRO_TP5. */
11028 #define BS_AIPS_PACRO_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP5. */
11029
11030 /*! @brief Read current value of the AIPS_PACRO_TP5 field. */
11031 #define BR_AIPS_PACRO_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP5))
11032
11033 /*! @brief Format value for bitfield AIPS_PACRO_TP5. */
11034 #define BF_AIPS_PACRO_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP5) & BM_AIPS_PACRO_TP5)
11035
11036 /*! @brief Set the TP5 field to a new value. */
11037 #define BW_AIPS_PACRO_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP5) = (v))
11038 /*@}*/
11039
11040 /*!
11041 * @name Register AIPS_PACRO, field WP5[9] (RW)
11042 *
11043 * Determines whether the peripheral allows write accesses. When this field is
11044 * set and a write access is attempted, access terminates with an error response
11045 * and no peripheral access initiates.
11046 *
11047 * Values:
11048 * - 0 - This peripheral allows write accesses.
11049 * - 1 - This peripheral is write protected.
11050 */
11051 /*@{*/
11052 #define BP_AIPS_PACRO_WP5 (9U) /*!< Bit position for AIPS_PACRO_WP5. */
11053 #define BM_AIPS_PACRO_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRO_WP5. */
11054 #define BS_AIPS_PACRO_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP5. */
11055
11056 /*! @brief Read current value of the AIPS_PACRO_WP5 field. */
11057 #define BR_AIPS_PACRO_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP5))
11058
11059 /*! @brief Format value for bitfield AIPS_PACRO_WP5. */
11060 #define BF_AIPS_PACRO_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP5) & BM_AIPS_PACRO_WP5)
11061
11062 /*! @brief Set the WP5 field to a new value. */
11063 #define BW_AIPS_PACRO_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP5) = (v))
11064 /*@}*/
11065
11066 /*!
11067 * @name Register AIPS_PACRO, field SP5[10] (RW)
11068 *
11069 * Determines whether the peripheral requires supervisor privilege level for
11070 * accesses. When this field is set, the master privilege level must indicate the
11071 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11072 * must be set. If not, access terminates with an error response and no peripheral
11073 * access initiates.
11074 *
11075 * Values:
11076 * - 0 - This peripheral does not require supervisor privilege level for
11077 * accesses.
11078 * - 1 - This peripheral requires supervisor privilege level for accesses.
11079 */
11080 /*@{*/
11081 #define BP_AIPS_PACRO_SP5 (10U) /*!< Bit position for AIPS_PACRO_SP5. */
11082 #define BM_AIPS_PACRO_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRO_SP5. */
11083 #define BS_AIPS_PACRO_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP5. */
11084
11085 /*! @brief Read current value of the AIPS_PACRO_SP5 field. */
11086 #define BR_AIPS_PACRO_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP5))
11087
11088 /*! @brief Format value for bitfield AIPS_PACRO_SP5. */
11089 #define BF_AIPS_PACRO_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP5) & BM_AIPS_PACRO_SP5)
11090
11091 /*! @brief Set the SP5 field to a new value. */
11092 #define BW_AIPS_PACRO_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP5) = (v))
11093 /*@}*/
11094
11095 /*!
11096 * @name Register AIPS_PACRO, field TP4[12] (RW)
11097 *
11098 * Determines whether the peripheral allows accesses from an untrusted master.
11099 * When this bit is set and an access is attempted by an untrusted master, the
11100 * access terminates with an error response and no peripheral access initiates.
11101 *
11102 * Values:
11103 * - 0 - Accesses from an untrusted master are allowed.
11104 * - 1 - Accesses from an untrusted master are not allowed.
11105 */
11106 /*@{*/
11107 #define BP_AIPS_PACRO_TP4 (12U) /*!< Bit position for AIPS_PACRO_TP4. */
11108 #define BM_AIPS_PACRO_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRO_TP4. */
11109 #define BS_AIPS_PACRO_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP4. */
11110
11111 /*! @brief Read current value of the AIPS_PACRO_TP4 field. */
11112 #define BR_AIPS_PACRO_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP4))
11113
11114 /*! @brief Format value for bitfield AIPS_PACRO_TP4. */
11115 #define BF_AIPS_PACRO_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP4) & BM_AIPS_PACRO_TP4)
11116
11117 /*! @brief Set the TP4 field to a new value. */
11118 #define BW_AIPS_PACRO_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP4) = (v))
11119 /*@}*/
11120
11121 /*!
11122 * @name Register AIPS_PACRO, field WP4[13] (RW)
11123 *
11124 * Determines whether the peripheral allows write accesses. When this field is
11125 * set and a write access is attempted, access terminates with an error response
11126 * and no peripheral access initiates.
11127 *
11128 * Values:
11129 * - 0 - This peripheral allows write accesses.
11130 * - 1 - This peripheral is write protected.
11131 */
11132 /*@{*/
11133 #define BP_AIPS_PACRO_WP4 (13U) /*!< Bit position for AIPS_PACRO_WP4. */
11134 #define BM_AIPS_PACRO_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRO_WP4. */
11135 #define BS_AIPS_PACRO_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP4. */
11136
11137 /*! @brief Read current value of the AIPS_PACRO_WP4 field. */
11138 #define BR_AIPS_PACRO_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP4))
11139
11140 /*! @brief Format value for bitfield AIPS_PACRO_WP4. */
11141 #define BF_AIPS_PACRO_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP4) & BM_AIPS_PACRO_WP4)
11142
11143 /*! @brief Set the WP4 field to a new value. */
11144 #define BW_AIPS_PACRO_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP4) = (v))
11145 /*@}*/
11146
11147 /*!
11148 * @name Register AIPS_PACRO, field SP4[14] (RW)
11149 *
11150 * Determines whether the peripheral requires supervisor privilege level for
11151 * access. When this bit is set, the master privilege level must indicate the
11152 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
11153 * set. If not, access terminates with an error response and no peripheral access
11154 * initiates.
11155 *
11156 * Values:
11157 * - 0 - This peripheral does not require supervisor privilege level for
11158 * accesses.
11159 * - 1 - This peripheral requires supervisor privilege level for accesses.
11160 */
11161 /*@{*/
11162 #define BP_AIPS_PACRO_SP4 (14U) /*!< Bit position for AIPS_PACRO_SP4. */
11163 #define BM_AIPS_PACRO_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRO_SP4. */
11164 #define BS_AIPS_PACRO_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP4. */
11165
11166 /*! @brief Read current value of the AIPS_PACRO_SP4 field. */
11167 #define BR_AIPS_PACRO_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP4))
11168
11169 /*! @brief Format value for bitfield AIPS_PACRO_SP4. */
11170 #define BF_AIPS_PACRO_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP4) & BM_AIPS_PACRO_SP4)
11171
11172 /*! @brief Set the SP4 field to a new value. */
11173 #define BW_AIPS_PACRO_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP4) = (v))
11174 /*@}*/
11175
11176 /*!
11177 * @name Register AIPS_PACRO, field TP3[16] (RW)
11178 *
11179 * Determines whether the peripheral allows accesses from an untrusted master.
11180 * When this field is set and an access is attempted by an untrusted master, the
11181 * access terminates with an error response and no peripheral access initiates.
11182 *
11183 * Values:
11184 * - 0 - Accesses from an untrusted master are allowed.
11185 * - 1 - Accesses from an untrusted master are not allowed.
11186 */
11187 /*@{*/
11188 #define BP_AIPS_PACRO_TP3 (16U) /*!< Bit position for AIPS_PACRO_TP3. */
11189 #define BM_AIPS_PACRO_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRO_TP3. */
11190 #define BS_AIPS_PACRO_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP3. */
11191
11192 /*! @brief Read current value of the AIPS_PACRO_TP3 field. */
11193 #define BR_AIPS_PACRO_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP3))
11194
11195 /*! @brief Format value for bitfield AIPS_PACRO_TP3. */
11196 #define BF_AIPS_PACRO_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP3) & BM_AIPS_PACRO_TP3)
11197
11198 /*! @brief Set the TP3 field to a new value. */
11199 #define BW_AIPS_PACRO_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP3) = (v))
11200 /*@}*/
11201
11202 /*!
11203 * @name Register AIPS_PACRO, field WP3[17] (RW)
11204 *
11205 * Determines whether the peripheral allows write accesss. When this bit is set
11206 * and a write access is attempted, access terminates with an error response and
11207 * no peripheral access initiates.
11208 *
11209 * Values:
11210 * - 0 - This peripheral allows write accesses.
11211 * - 1 - This peripheral is write protected.
11212 */
11213 /*@{*/
11214 #define BP_AIPS_PACRO_WP3 (17U) /*!< Bit position for AIPS_PACRO_WP3. */
11215 #define BM_AIPS_PACRO_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRO_WP3. */
11216 #define BS_AIPS_PACRO_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP3. */
11217
11218 /*! @brief Read current value of the AIPS_PACRO_WP3 field. */
11219 #define BR_AIPS_PACRO_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP3))
11220
11221 /*! @brief Format value for bitfield AIPS_PACRO_WP3. */
11222 #define BF_AIPS_PACRO_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP3) & BM_AIPS_PACRO_WP3)
11223
11224 /*! @brief Set the WP3 field to a new value. */
11225 #define BW_AIPS_PACRO_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP3) = (v))
11226 /*@}*/
11227
11228 /*!
11229 * @name Register AIPS_PACRO, field SP3[18] (RW)
11230 *
11231 * Determines whether the peripheral requires supervisor privilege level for
11232 * accesses. When this field is set, the master privilege level must indicate the
11233 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11234 * must be set. If not, access terminates with an error response and no peripheral
11235 * access initiates.
11236 *
11237 * Values:
11238 * - 0 - This peripheral does not require supervisor privilege level for
11239 * accesses.
11240 * - 1 - This peripheral requires supervisor privilege level for accesses.
11241 */
11242 /*@{*/
11243 #define BP_AIPS_PACRO_SP3 (18U) /*!< Bit position for AIPS_PACRO_SP3. */
11244 #define BM_AIPS_PACRO_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRO_SP3. */
11245 #define BS_AIPS_PACRO_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP3. */
11246
11247 /*! @brief Read current value of the AIPS_PACRO_SP3 field. */
11248 #define BR_AIPS_PACRO_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP3))
11249
11250 /*! @brief Format value for bitfield AIPS_PACRO_SP3. */
11251 #define BF_AIPS_PACRO_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP3) & BM_AIPS_PACRO_SP3)
11252
11253 /*! @brief Set the SP3 field to a new value. */
11254 #define BW_AIPS_PACRO_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP3) = (v))
11255 /*@}*/
11256
11257 /*!
11258 * @name Register AIPS_PACRO, field TP2[20] (RW)
11259 *
11260 * Determines whether the peripheral allows accesses from an untrusted master.
11261 * When this bit is set and an access is attempted by an untrusted master, the
11262 * access terminates with an error response and no peripheral access initiates.
11263 *
11264 * Values:
11265 * - 0 - Accesses from an untrusted master are allowed.
11266 * - 1 - Accesses from an untrusted master are not allowed.
11267 */
11268 /*@{*/
11269 #define BP_AIPS_PACRO_TP2 (20U) /*!< Bit position for AIPS_PACRO_TP2. */
11270 #define BM_AIPS_PACRO_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRO_TP2. */
11271 #define BS_AIPS_PACRO_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP2. */
11272
11273 /*! @brief Read current value of the AIPS_PACRO_TP2 field. */
11274 #define BR_AIPS_PACRO_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP2))
11275
11276 /*! @brief Format value for bitfield AIPS_PACRO_TP2. */
11277 #define BF_AIPS_PACRO_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP2) & BM_AIPS_PACRO_TP2)
11278
11279 /*! @brief Set the TP2 field to a new value. */
11280 #define BW_AIPS_PACRO_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP2) = (v))
11281 /*@}*/
11282
11283 /*!
11284 * @name Register AIPS_PACRO, field WP2[21] (RW)
11285 *
11286 * Determines whether the peripheral allows write accesses. When this field is
11287 * set and a write access is attempted, access terminates with an error response
11288 * and no peripheral access initiates.
11289 *
11290 * Values:
11291 * - 0 - This peripheral allows write accesses.
11292 * - 1 - This peripheral is write protected.
11293 */
11294 /*@{*/
11295 #define BP_AIPS_PACRO_WP2 (21U) /*!< Bit position for AIPS_PACRO_WP2. */
11296 #define BM_AIPS_PACRO_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRO_WP2. */
11297 #define BS_AIPS_PACRO_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP2. */
11298
11299 /*! @brief Read current value of the AIPS_PACRO_WP2 field. */
11300 #define BR_AIPS_PACRO_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP2))
11301
11302 /*! @brief Format value for bitfield AIPS_PACRO_WP2. */
11303 #define BF_AIPS_PACRO_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP2) & BM_AIPS_PACRO_WP2)
11304
11305 /*! @brief Set the WP2 field to a new value. */
11306 #define BW_AIPS_PACRO_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP2) = (v))
11307 /*@}*/
11308
11309 /*!
11310 * @name Register AIPS_PACRO, field SP2[22] (RW)
11311 *
11312 * Determines whether the peripheral requires supervisor privilege level for
11313 * access. When this bit is set, the master privilege level must indicate the
11314 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
11315 * set. If not, access terminates with an error response and no peripheral access
11316 * initiates.
11317 *
11318 * Values:
11319 * - 0 - This peripheral does not require supervisor privilege level for
11320 * accesses.
11321 * - 1 - This peripheral requires supervisor privilege level for accesses.
11322 */
11323 /*@{*/
11324 #define BP_AIPS_PACRO_SP2 (22U) /*!< Bit position for AIPS_PACRO_SP2. */
11325 #define BM_AIPS_PACRO_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRO_SP2. */
11326 #define BS_AIPS_PACRO_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP2. */
11327
11328 /*! @brief Read current value of the AIPS_PACRO_SP2 field. */
11329 #define BR_AIPS_PACRO_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP2))
11330
11331 /*! @brief Format value for bitfield AIPS_PACRO_SP2. */
11332 #define BF_AIPS_PACRO_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP2) & BM_AIPS_PACRO_SP2)
11333
11334 /*! @brief Set the SP2 field to a new value. */
11335 #define BW_AIPS_PACRO_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP2) = (v))
11336 /*@}*/
11337
11338 /*!
11339 * @name Register AIPS_PACRO, field TP1[24] (RW)
11340 *
11341 * Determines whether the peripheral allows accesses from an untrusted master.
11342 * When this field is set and an access is attempted by an untrusted master, the
11343 * access terminates with an error response and no peripheral access initiates.
11344 *
11345 * Values:
11346 * - 0 - Accesses from an untrusted master are allowed.
11347 * - 1 - Accesses from an untrusted master are not allowed.
11348 */
11349 /*@{*/
11350 #define BP_AIPS_PACRO_TP1 (24U) /*!< Bit position for AIPS_PACRO_TP1. */
11351 #define BM_AIPS_PACRO_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRO_TP1. */
11352 #define BS_AIPS_PACRO_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP1. */
11353
11354 /*! @brief Read current value of the AIPS_PACRO_TP1 field. */
11355 #define BR_AIPS_PACRO_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP1))
11356
11357 /*! @brief Format value for bitfield AIPS_PACRO_TP1. */
11358 #define BF_AIPS_PACRO_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP1) & BM_AIPS_PACRO_TP1)
11359
11360 /*! @brief Set the TP1 field to a new value. */
11361 #define BW_AIPS_PACRO_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP1) = (v))
11362 /*@}*/
11363
11364 /*!
11365 * @name Register AIPS_PACRO, field WP1[25] (RW)
11366 *
11367 * Determines whether the peripheral allows write accesses. When this field is
11368 * set and a write access is attempted, access terminates with an error response
11369 * and no peripheral access initiates.
11370 *
11371 * Values:
11372 * - 0 - This peripheral allows write accesses.
11373 * - 1 - This peripheral is write protected.
11374 */
11375 /*@{*/
11376 #define BP_AIPS_PACRO_WP1 (25U) /*!< Bit position for AIPS_PACRO_WP1. */
11377 #define BM_AIPS_PACRO_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRO_WP1. */
11378 #define BS_AIPS_PACRO_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP1. */
11379
11380 /*! @brief Read current value of the AIPS_PACRO_WP1 field. */
11381 #define BR_AIPS_PACRO_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP1))
11382
11383 /*! @brief Format value for bitfield AIPS_PACRO_WP1. */
11384 #define BF_AIPS_PACRO_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP1) & BM_AIPS_PACRO_WP1)
11385
11386 /*! @brief Set the WP1 field to a new value. */
11387 #define BW_AIPS_PACRO_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP1) = (v))
11388 /*@}*/
11389
11390 /*!
11391 * @name Register AIPS_PACRO, field SP1[26] (RW)
11392 *
11393 * Determines whether the peripheral requires supervisor privilege level for
11394 * access. When this field is set, the master privilege level must indicate the
11395 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
11396 * be set. If not, access terminates with an error response and no peripheral
11397 * access initiates.
11398 *
11399 * Values:
11400 * - 0 - This peripheral does not require supervisor privilege level for
11401 * accesses.
11402 * - 1 - This peripheral requires supervisor privilege level for accesses.
11403 */
11404 /*@{*/
11405 #define BP_AIPS_PACRO_SP1 (26U) /*!< Bit position for AIPS_PACRO_SP1. */
11406 #define BM_AIPS_PACRO_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRO_SP1. */
11407 #define BS_AIPS_PACRO_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP1. */
11408
11409 /*! @brief Read current value of the AIPS_PACRO_SP1 field. */
11410 #define BR_AIPS_PACRO_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP1))
11411
11412 /*! @brief Format value for bitfield AIPS_PACRO_SP1. */
11413 #define BF_AIPS_PACRO_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP1) & BM_AIPS_PACRO_SP1)
11414
11415 /*! @brief Set the SP1 field to a new value. */
11416 #define BW_AIPS_PACRO_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP1) = (v))
11417 /*@}*/
11418
11419 /*!
11420 * @name Register AIPS_PACRO, field TP0[28] (RW)
11421 *
11422 * Determines whether the peripheral allows accesses from an untrusted master.
11423 * When this bit is set and an access is attempted by an untrusted master, the
11424 * access terminates with an error response and no peripheral access initiates.
11425 *
11426 * Values:
11427 * - 0 - Accesses from an untrusted master are allowed.
11428 * - 1 - Accesses from an untrusted master are not allowed.
11429 */
11430 /*@{*/
11431 #define BP_AIPS_PACRO_TP0 (28U) /*!< Bit position for AIPS_PACRO_TP0. */
11432 #define BM_AIPS_PACRO_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRO_TP0. */
11433 #define BS_AIPS_PACRO_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRO_TP0. */
11434
11435 /*! @brief Read current value of the AIPS_PACRO_TP0 field. */
11436 #define BR_AIPS_PACRO_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP0))
11437
11438 /*! @brief Format value for bitfield AIPS_PACRO_TP0. */
11439 #define BF_AIPS_PACRO_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_TP0) & BM_AIPS_PACRO_TP0)
11440
11441 /*! @brief Set the TP0 field to a new value. */
11442 #define BW_AIPS_PACRO_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_TP0) = (v))
11443 /*@}*/
11444
11445 /*!
11446 * @name Register AIPS_PACRO, field WP0[29] (RW)
11447 *
11448 * Determines whether the peripheral allows write accesses. When this field is
11449 * set and a write access is attempted, access terminates with an error response
11450 * and no peripheral access initiates.
11451 *
11452 * Values:
11453 * - 0 - This peripheral allows write accesses.
11454 * - 1 - This peripheral is write protected.
11455 */
11456 /*@{*/
11457 #define BP_AIPS_PACRO_WP0 (29U) /*!< Bit position for AIPS_PACRO_WP0. */
11458 #define BM_AIPS_PACRO_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRO_WP0. */
11459 #define BS_AIPS_PACRO_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRO_WP0. */
11460
11461 /*! @brief Read current value of the AIPS_PACRO_WP0 field. */
11462 #define BR_AIPS_PACRO_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP0))
11463
11464 /*! @brief Format value for bitfield AIPS_PACRO_WP0. */
11465 #define BF_AIPS_PACRO_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_WP0) & BM_AIPS_PACRO_WP0)
11466
11467 /*! @brief Set the WP0 field to a new value. */
11468 #define BW_AIPS_PACRO_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_WP0) = (v))
11469 /*@}*/
11470
11471 /*!
11472 * @name Register AIPS_PACRO, field SP0[30] (RW)
11473 *
11474 * Determines whether the peripheral requires supervisor privilege level for
11475 * accesses. When this field is set, the master privilege level must indicate the
11476 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11477 * must be set. If not, access terminates with an error response and no peripheral
11478 * access initiates.
11479 *
11480 * Values:
11481 * - 0 - This peripheral does not require supervisor privilege level for
11482 * accesses.
11483 * - 1 - This peripheral requires supervisor privilege level for accesses.
11484 */
11485 /*@{*/
11486 #define BP_AIPS_PACRO_SP0 (30U) /*!< Bit position for AIPS_PACRO_SP0. */
11487 #define BM_AIPS_PACRO_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRO_SP0. */
11488 #define BS_AIPS_PACRO_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRO_SP0. */
11489
11490 /*! @brief Read current value of the AIPS_PACRO_SP0 field. */
11491 #define BR_AIPS_PACRO_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP0))
11492
11493 /*! @brief Format value for bitfield AIPS_PACRO_SP0. */
11494 #define BF_AIPS_PACRO_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRO_SP0) & BM_AIPS_PACRO_SP0)
11495
11496 /*! @brief Set the SP0 field to a new value. */
11497 #define BW_AIPS_PACRO_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRO_ADDR(x), BP_AIPS_PACRO_SP0) = (v))
11498 /*@}*/
11499
11500 /*******************************************************************************
11501 * HW_AIPS_PACRP - Peripheral Access Control Register
11502 ******************************************************************************/
11503
11504 /*!
11505 * @brief HW_AIPS_PACRP - Peripheral Access Control Register (RW)
11506 *
11507 * Reset value: 0x44444444U
11508 *
11509 * This section describes PACR registers E-P, which control peripheral slots
11510 * 32-127. See PACRPeripheral Access Control Register for the description of these
11511 * registers.
11512 */
11513 typedef union _hw_aips_pacrp
11514 {
11515 uint32_t U;
11516 struct _hw_aips_pacrp_bitfields
11517 {
11518 uint32_t TP7 : 1; /*!< [0] Trusted Protect */
11519 uint32_t WP7 : 1; /*!< [1] Write Protect */
11520 uint32_t SP7 : 1; /*!< [2] Supervisor Protect */
11521 uint32_t RESERVED0 : 1; /*!< [3] */
11522 uint32_t TP6 : 1; /*!< [4] Trusted Protect */
11523 uint32_t WP6 : 1; /*!< [5] Write Protect */
11524 uint32_t SP6 : 1; /*!< [6] Supervisor Protect */
11525 uint32_t RESERVED1 : 1; /*!< [7] */
11526 uint32_t TP5 : 1; /*!< [8] Trusted Protect */
11527 uint32_t WP5 : 1; /*!< [9] Write Protect */
11528 uint32_t SP5 : 1; /*!< [10] Supervisor Protect */
11529 uint32_t RESERVED2 : 1; /*!< [11] */
11530 uint32_t TP4 : 1; /*!< [12] Trusted Protect */
11531 uint32_t WP4 : 1; /*!< [13] Write Protect */
11532 uint32_t SP4 : 1; /*!< [14] Supervisor Protect */
11533 uint32_t RESERVED3 : 1; /*!< [15] */
11534 uint32_t TP3 : 1; /*!< [16] Trusted Protect */
11535 uint32_t WP3 : 1; /*!< [17] Write Protect */
11536 uint32_t SP3 : 1; /*!< [18] Supervisor Protect */
11537 uint32_t RESERVED4 : 1; /*!< [19] */
11538 uint32_t TP2 : 1; /*!< [20] Trusted Protect */
11539 uint32_t WP2 : 1; /*!< [21] Write Protect */
11540 uint32_t SP2 : 1; /*!< [22] Supervisor Protect */
11541 uint32_t RESERVED5 : 1; /*!< [23] */
11542 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
11543 uint32_t WP1 : 1; /*!< [25] Write Protect */
11544 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
11545 uint32_t RESERVED6 : 1; /*!< [27] */
11546 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
11547 uint32_t WP0 : 1; /*!< [29] Write Protect */
11548 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
11549 uint32_t RESERVED7 : 1; /*!< [31] */
11550 } B;
11551 } hw_aips_pacrp_t;
11552
11553 /*!
11554 * @name Constants and macros for entire AIPS_PACRP register
11555 */
11556 /*@{*/
11557 #define HW_AIPS_PACRP_ADDR(x) ((x) + 0x6CU)
11558
11559 #define HW_AIPS_PACRP(x) (*(__IO hw_aips_pacrp_t *) HW_AIPS_PACRP_ADDR(x))
11560 #define HW_AIPS_PACRP_RD(x) (HW_AIPS_PACRP(x).U)
11561 #define HW_AIPS_PACRP_WR(x, v) (HW_AIPS_PACRP(x).U = (v))
11562 #define HW_AIPS_PACRP_SET(x, v) (HW_AIPS_PACRP_WR(x, HW_AIPS_PACRP_RD(x) | (v)))
11563 #define HW_AIPS_PACRP_CLR(x, v) (HW_AIPS_PACRP_WR(x, HW_AIPS_PACRP_RD(x) & ~(v)))
11564 #define HW_AIPS_PACRP_TOG(x, v) (HW_AIPS_PACRP_WR(x, HW_AIPS_PACRP_RD(x) ^ (v)))
11565 /*@}*/
11566
11567 /*
11568 * Constants & macros for individual AIPS_PACRP bitfields
11569 */
11570
11571 /*!
11572 * @name Register AIPS_PACRP, field TP7[0] (RW)
11573 *
11574 * Determines whether the peripheral allows accesses from an untrusted master.
11575 * When this field is set and an access is attempted by an untrusted master, the
11576 * access terminates with an error response and no peripheral access initiates.
11577 *
11578 * Values:
11579 * - 0 - Accesses from an untrusted master are allowed.
11580 * - 1 - Accesses from an untrusted master are not allowed.
11581 */
11582 /*@{*/
11583 #define BP_AIPS_PACRP_TP7 (0U) /*!< Bit position for AIPS_PACRP_TP7. */
11584 #define BM_AIPS_PACRP_TP7 (0x00000001U) /*!< Bit mask for AIPS_PACRP_TP7. */
11585 #define BS_AIPS_PACRP_TP7 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP7. */
11586
11587 /*! @brief Read current value of the AIPS_PACRP_TP7 field. */
11588 #define BR_AIPS_PACRP_TP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP7))
11589
11590 /*! @brief Format value for bitfield AIPS_PACRP_TP7. */
11591 #define BF_AIPS_PACRP_TP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP7) & BM_AIPS_PACRP_TP7)
11592
11593 /*! @brief Set the TP7 field to a new value. */
11594 #define BW_AIPS_PACRP_TP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP7) = (v))
11595 /*@}*/
11596
11597 /*!
11598 * @name Register AIPS_PACRP, field WP7[1] (RW)
11599 *
11600 * Determines whether the peripheral allows write accesses. When this field is
11601 * set and a write access is attempted, access terminates with an error response
11602 * and no peripheral access initiates.
11603 *
11604 * Values:
11605 * - 0 - This peripheral allows write accesses.
11606 * - 1 - This peripheral is write protected.
11607 */
11608 /*@{*/
11609 #define BP_AIPS_PACRP_WP7 (1U) /*!< Bit position for AIPS_PACRP_WP7. */
11610 #define BM_AIPS_PACRP_WP7 (0x00000002U) /*!< Bit mask for AIPS_PACRP_WP7. */
11611 #define BS_AIPS_PACRP_WP7 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP7. */
11612
11613 /*! @brief Read current value of the AIPS_PACRP_WP7 field. */
11614 #define BR_AIPS_PACRP_WP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP7))
11615
11616 /*! @brief Format value for bitfield AIPS_PACRP_WP7. */
11617 #define BF_AIPS_PACRP_WP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP7) & BM_AIPS_PACRP_WP7)
11618
11619 /*! @brief Set the WP7 field to a new value. */
11620 #define BW_AIPS_PACRP_WP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP7) = (v))
11621 /*@}*/
11622
11623 /*!
11624 * @name Register AIPS_PACRP, field SP7[2] (RW)
11625 *
11626 * Determines whether the peripheral requires supervisor privilege level for
11627 * accesses. When this field is set, the master privilege level must indicate the
11628 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11629 * must be set. If not, access terminates with an error response and no peripheral
11630 * access initiates.
11631 *
11632 * Values:
11633 * - 0 - This peripheral does not require supervisor privilege level for
11634 * accesses.
11635 * - 1 - This peripheral requires supervisor privilege level for accesses.
11636 */
11637 /*@{*/
11638 #define BP_AIPS_PACRP_SP7 (2U) /*!< Bit position for AIPS_PACRP_SP7. */
11639 #define BM_AIPS_PACRP_SP7 (0x00000004U) /*!< Bit mask for AIPS_PACRP_SP7. */
11640 #define BS_AIPS_PACRP_SP7 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP7. */
11641
11642 /*! @brief Read current value of the AIPS_PACRP_SP7 field. */
11643 #define BR_AIPS_PACRP_SP7(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP7))
11644
11645 /*! @brief Format value for bitfield AIPS_PACRP_SP7. */
11646 #define BF_AIPS_PACRP_SP7(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP7) & BM_AIPS_PACRP_SP7)
11647
11648 /*! @brief Set the SP7 field to a new value. */
11649 #define BW_AIPS_PACRP_SP7(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP7) = (v))
11650 /*@}*/
11651
11652 /*!
11653 * @name Register AIPS_PACRP, field TP6[4] (RW)
11654 *
11655 * Determines whether the peripheral allows accesses from an untrusted master.
11656 * When this field is set and an access is attempted by an untrusted master, the
11657 * access terminates with an error response and no peripheral access initiates.
11658 *
11659 * Values:
11660 * - 0 - Accesses from an untrusted master are allowed.
11661 * - 1 - Accesses from an untrusted master are not allowed.
11662 */
11663 /*@{*/
11664 #define BP_AIPS_PACRP_TP6 (4U) /*!< Bit position for AIPS_PACRP_TP6. */
11665 #define BM_AIPS_PACRP_TP6 (0x00000010U) /*!< Bit mask for AIPS_PACRP_TP6. */
11666 #define BS_AIPS_PACRP_TP6 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP6. */
11667
11668 /*! @brief Read current value of the AIPS_PACRP_TP6 field. */
11669 #define BR_AIPS_PACRP_TP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP6))
11670
11671 /*! @brief Format value for bitfield AIPS_PACRP_TP6. */
11672 #define BF_AIPS_PACRP_TP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP6) & BM_AIPS_PACRP_TP6)
11673
11674 /*! @brief Set the TP6 field to a new value. */
11675 #define BW_AIPS_PACRP_TP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP6) = (v))
11676 /*@}*/
11677
11678 /*!
11679 * @name Register AIPS_PACRP, field WP6[5] (RW)
11680 *
11681 * Determines whether the peripheral allows write accesses. When this field is
11682 * set and a write access is attempted, access terminates with an error response
11683 * and no peripheral access initiates.
11684 *
11685 * Values:
11686 * - 0 - This peripheral allows write accesses.
11687 * - 1 - This peripheral is write protected.
11688 */
11689 /*@{*/
11690 #define BP_AIPS_PACRP_WP6 (5U) /*!< Bit position for AIPS_PACRP_WP6. */
11691 #define BM_AIPS_PACRP_WP6 (0x00000020U) /*!< Bit mask for AIPS_PACRP_WP6. */
11692 #define BS_AIPS_PACRP_WP6 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP6. */
11693
11694 /*! @brief Read current value of the AIPS_PACRP_WP6 field. */
11695 #define BR_AIPS_PACRP_WP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP6))
11696
11697 /*! @brief Format value for bitfield AIPS_PACRP_WP6. */
11698 #define BF_AIPS_PACRP_WP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP6) & BM_AIPS_PACRP_WP6)
11699
11700 /*! @brief Set the WP6 field to a new value. */
11701 #define BW_AIPS_PACRP_WP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP6) = (v))
11702 /*@}*/
11703
11704 /*!
11705 * @name Register AIPS_PACRP, field SP6[6] (RW)
11706 *
11707 * Determines whether the peripheral requires supervisor privilege level for
11708 * accesses. When this field is set, the master privilege level must indicate the
11709 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11710 * must be set. If not, access terminates with an error response and no peripheral
11711 * access initiates.
11712 *
11713 * Values:
11714 * - 0 - This peripheral does not require supervisor privilege level for
11715 * accesses.
11716 * - 1 - This peripheral requires supervisor privilege level for accesses.
11717 */
11718 /*@{*/
11719 #define BP_AIPS_PACRP_SP6 (6U) /*!< Bit position for AIPS_PACRP_SP6. */
11720 #define BM_AIPS_PACRP_SP6 (0x00000040U) /*!< Bit mask for AIPS_PACRP_SP6. */
11721 #define BS_AIPS_PACRP_SP6 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP6. */
11722
11723 /*! @brief Read current value of the AIPS_PACRP_SP6 field. */
11724 #define BR_AIPS_PACRP_SP6(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP6))
11725
11726 /*! @brief Format value for bitfield AIPS_PACRP_SP6. */
11727 #define BF_AIPS_PACRP_SP6(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP6) & BM_AIPS_PACRP_SP6)
11728
11729 /*! @brief Set the SP6 field to a new value. */
11730 #define BW_AIPS_PACRP_SP6(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP6) = (v))
11731 /*@}*/
11732
11733 /*!
11734 * @name Register AIPS_PACRP, field TP5[8] (RW)
11735 *
11736 * Determines whether the peripheral allows accesses from an untrusted master.
11737 * When this field is set and an access is attempted by an untrusted master, the
11738 * access terminates with an error response and no peripheral access initiates.
11739 *
11740 * Values:
11741 * - 0 - Accesses from an untrusted master are allowed.
11742 * - 1 - Accesses from an untrusted master are not allowed.
11743 */
11744 /*@{*/
11745 #define BP_AIPS_PACRP_TP5 (8U) /*!< Bit position for AIPS_PACRP_TP5. */
11746 #define BM_AIPS_PACRP_TP5 (0x00000100U) /*!< Bit mask for AIPS_PACRP_TP5. */
11747 #define BS_AIPS_PACRP_TP5 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP5. */
11748
11749 /*! @brief Read current value of the AIPS_PACRP_TP5 field. */
11750 #define BR_AIPS_PACRP_TP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP5))
11751
11752 /*! @brief Format value for bitfield AIPS_PACRP_TP5. */
11753 #define BF_AIPS_PACRP_TP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP5) & BM_AIPS_PACRP_TP5)
11754
11755 /*! @brief Set the TP5 field to a new value. */
11756 #define BW_AIPS_PACRP_TP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP5) = (v))
11757 /*@}*/
11758
11759 /*!
11760 * @name Register AIPS_PACRP, field WP5[9] (RW)
11761 *
11762 * Determines whether the peripheral allows write accesses. When this field is
11763 * set and a write access is attempted, access terminates with an error response
11764 * and no peripheral access initiates.
11765 *
11766 * Values:
11767 * - 0 - This peripheral allows write accesses.
11768 * - 1 - This peripheral is write protected.
11769 */
11770 /*@{*/
11771 #define BP_AIPS_PACRP_WP5 (9U) /*!< Bit position for AIPS_PACRP_WP5. */
11772 #define BM_AIPS_PACRP_WP5 (0x00000200U) /*!< Bit mask for AIPS_PACRP_WP5. */
11773 #define BS_AIPS_PACRP_WP5 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP5. */
11774
11775 /*! @brief Read current value of the AIPS_PACRP_WP5 field. */
11776 #define BR_AIPS_PACRP_WP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP5))
11777
11778 /*! @brief Format value for bitfield AIPS_PACRP_WP5. */
11779 #define BF_AIPS_PACRP_WP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP5) & BM_AIPS_PACRP_WP5)
11780
11781 /*! @brief Set the WP5 field to a new value. */
11782 #define BW_AIPS_PACRP_WP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP5) = (v))
11783 /*@}*/
11784
11785 /*!
11786 * @name Register AIPS_PACRP, field SP5[10] (RW)
11787 *
11788 * Determines whether the peripheral requires supervisor privilege level for
11789 * accesses. When this field is set, the master privilege level must indicate the
11790 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11791 * must be set. If not, access terminates with an error response and no peripheral
11792 * access initiates.
11793 *
11794 * Values:
11795 * - 0 - This peripheral does not require supervisor privilege level for
11796 * accesses.
11797 * - 1 - This peripheral requires supervisor privilege level for accesses.
11798 */
11799 /*@{*/
11800 #define BP_AIPS_PACRP_SP5 (10U) /*!< Bit position for AIPS_PACRP_SP5. */
11801 #define BM_AIPS_PACRP_SP5 (0x00000400U) /*!< Bit mask for AIPS_PACRP_SP5. */
11802 #define BS_AIPS_PACRP_SP5 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP5. */
11803
11804 /*! @brief Read current value of the AIPS_PACRP_SP5 field. */
11805 #define BR_AIPS_PACRP_SP5(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP5))
11806
11807 /*! @brief Format value for bitfield AIPS_PACRP_SP5. */
11808 #define BF_AIPS_PACRP_SP5(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP5) & BM_AIPS_PACRP_SP5)
11809
11810 /*! @brief Set the SP5 field to a new value. */
11811 #define BW_AIPS_PACRP_SP5(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP5) = (v))
11812 /*@}*/
11813
11814 /*!
11815 * @name Register AIPS_PACRP, field TP4[12] (RW)
11816 *
11817 * Determines whether the peripheral allows accesses from an untrusted master.
11818 * When this bit is set and an access is attempted by an untrusted master, the
11819 * access terminates with an error response and no peripheral access initiates.
11820 *
11821 * Values:
11822 * - 0 - Accesses from an untrusted master are allowed.
11823 * - 1 - Accesses from an untrusted master are not allowed.
11824 */
11825 /*@{*/
11826 #define BP_AIPS_PACRP_TP4 (12U) /*!< Bit position for AIPS_PACRP_TP4. */
11827 #define BM_AIPS_PACRP_TP4 (0x00001000U) /*!< Bit mask for AIPS_PACRP_TP4. */
11828 #define BS_AIPS_PACRP_TP4 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP4. */
11829
11830 /*! @brief Read current value of the AIPS_PACRP_TP4 field. */
11831 #define BR_AIPS_PACRP_TP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP4))
11832
11833 /*! @brief Format value for bitfield AIPS_PACRP_TP4. */
11834 #define BF_AIPS_PACRP_TP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP4) & BM_AIPS_PACRP_TP4)
11835
11836 /*! @brief Set the TP4 field to a new value. */
11837 #define BW_AIPS_PACRP_TP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP4) = (v))
11838 /*@}*/
11839
11840 /*!
11841 * @name Register AIPS_PACRP, field WP4[13] (RW)
11842 *
11843 * Determines whether the peripheral allows write accesses. When this field is
11844 * set and a write access is attempted, access terminates with an error response
11845 * and no peripheral access initiates.
11846 *
11847 * Values:
11848 * - 0 - This peripheral allows write accesses.
11849 * - 1 - This peripheral is write protected.
11850 */
11851 /*@{*/
11852 #define BP_AIPS_PACRP_WP4 (13U) /*!< Bit position for AIPS_PACRP_WP4. */
11853 #define BM_AIPS_PACRP_WP4 (0x00002000U) /*!< Bit mask for AIPS_PACRP_WP4. */
11854 #define BS_AIPS_PACRP_WP4 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP4. */
11855
11856 /*! @brief Read current value of the AIPS_PACRP_WP4 field. */
11857 #define BR_AIPS_PACRP_WP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP4))
11858
11859 /*! @brief Format value for bitfield AIPS_PACRP_WP4. */
11860 #define BF_AIPS_PACRP_WP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP4) & BM_AIPS_PACRP_WP4)
11861
11862 /*! @brief Set the WP4 field to a new value. */
11863 #define BW_AIPS_PACRP_WP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP4) = (v))
11864 /*@}*/
11865
11866 /*!
11867 * @name Register AIPS_PACRP, field SP4[14] (RW)
11868 *
11869 * Determines whether the peripheral requires supervisor privilege level for
11870 * access. When this bit is set, the master privilege level must indicate the
11871 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
11872 * set. If not, access terminates with an error response and no peripheral access
11873 * initiates.
11874 *
11875 * Values:
11876 * - 0 - This peripheral does not require supervisor privilege level for
11877 * accesses.
11878 * - 1 - This peripheral requires supervisor privilege level for accesses.
11879 */
11880 /*@{*/
11881 #define BP_AIPS_PACRP_SP4 (14U) /*!< Bit position for AIPS_PACRP_SP4. */
11882 #define BM_AIPS_PACRP_SP4 (0x00004000U) /*!< Bit mask for AIPS_PACRP_SP4. */
11883 #define BS_AIPS_PACRP_SP4 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP4. */
11884
11885 /*! @brief Read current value of the AIPS_PACRP_SP4 field. */
11886 #define BR_AIPS_PACRP_SP4(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP4))
11887
11888 /*! @brief Format value for bitfield AIPS_PACRP_SP4. */
11889 #define BF_AIPS_PACRP_SP4(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP4) & BM_AIPS_PACRP_SP4)
11890
11891 /*! @brief Set the SP4 field to a new value. */
11892 #define BW_AIPS_PACRP_SP4(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP4) = (v))
11893 /*@}*/
11894
11895 /*!
11896 * @name Register AIPS_PACRP, field TP3[16] (RW)
11897 *
11898 * Determines whether the peripheral allows accesses from an untrusted master.
11899 * When this field is set and an access is attempted by an untrusted master, the
11900 * access terminates with an error response and no peripheral access initiates.
11901 *
11902 * Values:
11903 * - 0 - Accesses from an untrusted master are allowed.
11904 * - 1 - Accesses from an untrusted master are not allowed.
11905 */
11906 /*@{*/
11907 #define BP_AIPS_PACRP_TP3 (16U) /*!< Bit position for AIPS_PACRP_TP3. */
11908 #define BM_AIPS_PACRP_TP3 (0x00010000U) /*!< Bit mask for AIPS_PACRP_TP3. */
11909 #define BS_AIPS_PACRP_TP3 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP3. */
11910
11911 /*! @brief Read current value of the AIPS_PACRP_TP3 field. */
11912 #define BR_AIPS_PACRP_TP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP3))
11913
11914 /*! @brief Format value for bitfield AIPS_PACRP_TP3. */
11915 #define BF_AIPS_PACRP_TP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP3) & BM_AIPS_PACRP_TP3)
11916
11917 /*! @brief Set the TP3 field to a new value. */
11918 #define BW_AIPS_PACRP_TP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP3) = (v))
11919 /*@}*/
11920
11921 /*!
11922 * @name Register AIPS_PACRP, field WP3[17] (RW)
11923 *
11924 * Determines whether the peripheral allows write accesss. When this bit is set
11925 * and a write access is attempted, access terminates with an error response and
11926 * no peripheral access initiates.
11927 *
11928 * Values:
11929 * - 0 - This peripheral allows write accesses.
11930 * - 1 - This peripheral is write protected.
11931 */
11932 /*@{*/
11933 #define BP_AIPS_PACRP_WP3 (17U) /*!< Bit position for AIPS_PACRP_WP3. */
11934 #define BM_AIPS_PACRP_WP3 (0x00020000U) /*!< Bit mask for AIPS_PACRP_WP3. */
11935 #define BS_AIPS_PACRP_WP3 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP3. */
11936
11937 /*! @brief Read current value of the AIPS_PACRP_WP3 field. */
11938 #define BR_AIPS_PACRP_WP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP3))
11939
11940 /*! @brief Format value for bitfield AIPS_PACRP_WP3. */
11941 #define BF_AIPS_PACRP_WP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP3) & BM_AIPS_PACRP_WP3)
11942
11943 /*! @brief Set the WP3 field to a new value. */
11944 #define BW_AIPS_PACRP_WP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP3) = (v))
11945 /*@}*/
11946
11947 /*!
11948 * @name Register AIPS_PACRP, field SP3[18] (RW)
11949 *
11950 * Determines whether the peripheral requires supervisor privilege level for
11951 * accesses. When this field is set, the master privilege level must indicate the
11952 * supervisor access attribute, and the MPRx[MPLn] control field for the master
11953 * must be set. If not, access terminates with an error response and no peripheral
11954 * access initiates.
11955 *
11956 * Values:
11957 * - 0 - This peripheral does not require supervisor privilege level for
11958 * accesses.
11959 * - 1 - This peripheral requires supervisor privilege level for accesses.
11960 */
11961 /*@{*/
11962 #define BP_AIPS_PACRP_SP3 (18U) /*!< Bit position for AIPS_PACRP_SP3. */
11963 #define BM_AIPS_PACRP_SP3 (0x00040000U) /*!< Bit mask for AIPS_PACRP_SP3. */
11964 #define BS_AIPS_PACRP_SP3 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP3. */
11965
11966 /*! @brief Read current value of the AIPS_PACRP_SP3 field. */
11967 #define BR_AIPS_PACRP_SP3(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP3))
11968
11969 /*! @brief Format value for bitfield AIPS_PACRP_SP3. */
11970 #define BF_AIPS_PACRP_SP3(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP3) & BM_AIPS_PACRP_SP3)
11971
11972 /*! @brief Set the SP3 field to a new value. */
11973 #define BW_AIPS_PACRP_SP3(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP3) = (v))
11974 /*@}*/
11975
11976 /*!
11977 * @name Register AIPS_PACRP, field TP2[20] (RW)
11978 *
11979 * Determines whether the peripheral allows accesses from an untrusted master.
11980 * When this bit is set and an access is attempted by an untrusted master, the
11981 * access terminates with an error response and no peripheral access initiates.
11982 *
11983 * Values:
11984 * - 0 - Accesses from an untrusted master are allowed.
11985 * - 1 - Accesses from an untrusted master are not allowed.
11986 */
11987 /*@{*/
11988 #define BP_AIPS_PACRP_TP2 (20U) /*!< Bit position for AIPS_PACRP_TP2. */
11989 #define BM_AIPS_PACRP_TP2 (0x00100000U) /*!< Bit mask for AIPS_PACRP_TP2. */
11990 #define BS_AIPS_PACRP_TP2 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP2. */
11991
11992 /*! @brief Read current value of the AIPS_PACRP_TP2 field. */
11993 #define BR_AIPS_PACRP_TP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP2))
11994
11995 /*! @brief Format value for bitfield AIPS_PACRP_TP2. */
11996 #define BF_AIPS_PACRP_TP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP2) & BM_AIPS_PACRP_TP2)
11997
11998 /*! @brief Set the TP2 field to a new value. */
11999 #define BW_AIPS_PACRP_TP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP2) = (v))
12000 /*@}*/
12001
12002 /*!
12003 * @name Register AIPS_PACRP, field WP2[21] (RW)
12004 *
12005 * Determines whether the peripheral allows write accesses. When this field is
12006 * set and a write access is attempted, access terminates with an error response
12007 * and no peripheral access initiates.
12008 *
12009 * Values:
12010 * - 0 - This peripheral allows write accesses.
12011 * - 1 - This peripheral is write protected.
12012 */
12013 /*@{*/
12014 #define BP_AIPS_PACRP_WP2 (21U) /*!< Bit position for AIPS_PACRP_WP2. */
12015 #define BM_AIPS_PACRP_WP2 (0x00200000U) /*!< Bit mask for AIPS_PACRP_WP2. */
12016 #define BS_AIPS_PACRP_WP2 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP2. */
12017
12018 /*! @brief Read current value of the AIPS_PACRP_WP2 field. */
12019 #define BR_AIPS_PACRP_WP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP2))
12020
12021 /*! @brief Format value for bitfield AIPS_PACRP_WP2. */
12022 #define BF_AIPS_PACRP_WP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP2) & BM_AIPS_PACRP_WP2)
12023
12024 /*! @brief Set the WP2 field to a new value. */
12025 #define BW_AIPS_PACRP_WP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP2) = (v))
12026 /*@}*/
12027
12028 /*!
12029 * @name Register AIPS_PACRP, field SP2[22] (RW)
12030 *
12031 * Determines whether the peripheral requires supervisor privilege level for
12032 * access. When this bit is set, the master privilege level must indicate the
12033 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
12034 * set. If not, access terminates with an error response and no peripheral access
12035 * initiates.
12036 *
12037 * Values:
12038 * - 0 - This peripheral does not require supervisor privilege level for
12039 * accesses.
12040 * - 1 - This peripheral requires supervisor privilege level for accesses.
12041 */
12042 /*@{*/
12043 #define BP_AIPS_PACRP_SP2 (22U) /*!< Bit position for AIPS_PACRP_SP2. */
12044 #define BM_AIPS_PACRP_SP2 (0x00400000U) /*!< Bit mask for AIPS_PACRP_SP2. */
12045 #define BS_AIPS_PACRP_SP2 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP2. */
12046
12047 /*! @brief Read current value of the AIPS_PACRP_SP2 field. */
12048 #define BR_AIPS_PACRP_SP2(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP2))
12049
12050 /*! @brief Format value for bitfield AIPS_PACRP_SP2. */
12051 #define BF_AIPS_PACRP_SP2(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP2) & BM_AIPS_PACRP_SP2)
12052
12053 /*! @brief Set the SP2 field to a new value. */
12054 #define BW_AIPS_PACRP_SP2(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP2) = (v))
12055 /*@}*/
12056
12057 /*!
12058 * @name Register AIPS_PACRP, field TP1[24] (RW)
12059 *
12060 * Determines whether the peripheral allows accesses from an untrusted master.
12061 * When this field is set and an access is attempted by an untrusted master, the
12062 * access terminates with an error response and no peripheral access initiates.
12063 *
12064 * Values:
12065 * - 0 - Accesses from an untrusted master are allowed.
12066 * - 1 - Accesses from an untrusted master are not allowed.
12067 */
12068 /*@{*/
12069 #define BP_AIPS_PACRP_TP1 (24U) /*!< Bit position for AIPS_PACRP_TP1. */
12070 #define BM_AIPS_PACRP_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRP_TP1. */
12071 #define BS_AIPS_PACRP_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP1. */
12072
12073 /*! @brief Read current value of the AIPS_PACRP_TP1 field. */
12074 #define BR_AIPS_PACRP_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP1))
12075
12076 /*! @brief Format value for bitfield AIPS_PACRP_TP1. */
12077 #define BF_AIPS_PACRP_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP1) & BM_AIPS_PACRP_TP1)
12078
12079 /*! @brief Set the TP1 field to a new value. */
12080 #define BW_AIPS_PACRP_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP1) = (v))
12081 /*@}*/
12082
12083 /*!
12084 * @name Register AIPS_PACRP, field WP1[25] (RW)
12085 *
12086 * Determines whether the peripheral allows write accesses. When this field is
12087 * set and a write access is attempted, access terminates with an error response
12088 * and no peripheral access initiates.
12089 *
12090 * Values:
12091 * - 0 - This peripheral allows write accesses.
12092 * - 1 - This peripheral is write protected.
12093 */
12094 /*@{*/
12095 #define BP_AIPS_PACRP_WP1 (25U) /*!< Bit position for AIPS_PACRP_WP1. */
12096 #define BM_AIPS_PACRP_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRP_WP1. */
12097 #define BS_AIPS_PACRP_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP1. */
12098
12099 /*! @brief Read current value of the AIPS_PACRP_WP1 field. */
12100 #define BR_AIPS_PACRP_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP1))
12101
12102 /*! @brief Format value for bitfield AIPS_PACRP_WP1. */
12103 #define BF_AIPS_PACRP_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP1) & BM_AIPS_PACRP_WP1)
12104
12105 /*! @brief Set the WP1 field to a new value. */
12106 #define BW_AIPS_PACRP_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP1) = (v))
12107 /*@}*/
12108
12109 /*!
12110 * @name Register AIPS_PACRP, field SP1[26] (RW)
12111 *
12112 * Determines whether the peripheral requires supervisor privilege level for
12113 * access. When this field is set, the master privilege level must indicate the
12114 * supervisor access attribute, and the MPRx[MPLn] control field for the master must
12115 * be set. If not, access terminates with an error response and no peripheral
12116 * access initiates.
12117 *
12118 * Values:
12119 * - 0 - This peripheral does not require supervisor privilege level for
12120 * accesses.
12121 * - 1 - This peripheral requires supervisor privilege level for accesses.
12122 */
12123 /*@{*/
12124 #define BP_AIPS_PACRP_SP1 (26U) /*!< Bit position for AIPS_PACRP_SP1. */
12125 #define BM_AIPS_PACRP_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRP_SP1. */
12126 #define BS_AIPS_PACRP_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP1. */
12127
12128 /*! @brief Read current value of the AIPS_PACRP_SP1 field. */
12129 #define BR_AIPS_PACRP_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP1))
12130
12131 /*! @brief Format value for bitfield AIPS_PACRP_SP1. */
12132 #define BF_AIPS_PACRP_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP1) & BM_AIPS_PACRP_SP1)
12133
12134 /*! @brief Set the SP1 field to a new value. */
12135 #define BW_AIPS_PACRP_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP1) = (v))
12136 /*@}*/
12137
12138 /*!
12139 * @name Register AIPS_PACRP, field TP0[28] (RW)
12140 *
12141 * Determines whether the peripheral allows accesses from an untrusted master.
12142 * When this bit is set and an access is attempted by an untrusted master, the
12143 * access terminates with an error response and no peripheral access initiates.
12144 *
12145 * Values:
12146 * - 0 - Accesses from an untrusted master are allowed.
12147 * - 1 - Accesses from an untrusted master are not allowed.
12148 */
12149 /*@{*/
12150 #define BP_AIPS_PACRP_TP0 (28U) /*!< Bit position for AIPS_PACRP_TP0. */
12151 #define BM_AIPS_PACRP_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRP_TP0. */
12152 #define BS_AIPS_PACRP_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRP_TP0. */
12153
12154 /*! @brief Read current value of the AIPS_PACRP_TP0 field. */
12155 #define BR_AIPS_PACRP_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP0))
12156
12157 /*! @brief Format value for bitfield AIPS_PACRP_TP0. */
12158 #define BF_AIPS_PACRP_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_TP0) & BM_AIPS_PACRP_TP0)
12159
12160 /*! @brief Set the TP0 field to a new value. */
12161 #define BW_AIPS_PACRP_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_TP0) = (v))
12162 /*@}*/
12163
12164 /*!
12165 * @name Register AIPS_PACRP, field WP0[29] (RW)
12166 *
12167 * Determines whether the peripheral allows write accesses. When this field is
12168 * set and a write access is attempted, access terminates with an error response
12169 * and no peripheral access initiates.
12170 *
12171 * Values:
12172 * - 0 - This peripheral allows write accesses.
12173 * - 1 - This peripheral is write protected.
12174 */
12175 /*@{*/
12176 #define BP_AIPS_PACRP_WP0 (29U) /*!< Bit position for AIPS_PACRP_WP0. */
12177 #define BM_AIPS_PACRP_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRP_WP0. */
12178 #define BS_AIPS_PACRP_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRP_WP0. */
12179
12180 /*! @brief Read current value of the AIPS_PACRP_WP0 field. */
12181 #define BR_AIPS_PACRP_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP0))
12182
12183 /*! @brief Format value for bitfield AIPS_PACRP_WP0. */
12184 #define BF_AIPS_PACRP_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_WP0) & BM_AIPS_PACRP_WP0)
12185
12186 /*! @brief Set the WP0 field to a new value. */
12187 #define BW_AIPS_PACRP_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_WP0) = (v))
12188 /*@}*/
12189
12190 /*!
12191 * @name Register AIPS_PACRP, field SP0[30] (RW)
12192 *
12193 * Determines whether the peripheral requires supervisor privilege level for
12194 * accesses. When this field is set, the master privilege level must indicate the
12195 * supervisor access attribute, and the MPRx[MPLn] control field for the master
12196 * must be set. If not, access terminates with an error response and no peripheral
12197 * access initiates.
12198 *
12199 * Values:
12200 * - 0 - This peripheral does not require supervisor privilege level for
12201 * accesses.
12202 * - 1 - This peripheral requires supervisor privilege level for accesses.
12203 */
12204 /*@{*/
12205 #define BP_AIPS_PACRP_SP0 (30U) /*!< Bit position for AIPS_PACRP_SP0. */
12206 #define BM_AIPS_PACRP_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRP_SP0. */
12207 #define BS_AIPS_PACRP_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRP_SP0. */
12208
12209 /*! @brief Read current value of the AIPS_PACRP_SP0 field. */
12210 #define BR_AIPS_PACRP_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP0))
12211
12212 /*! @brief Format value for bitfield AIPS_PACRP_SP0. */
12213 #define BF_AIPS_PACRP_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRP_SP0) & BM_AIPS_PACRP_SP0)
12214
12215 /*! @brief Set the SP0 field to a new value. */
12216 #define BW_AIPS_PACRP_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRP_ADDR(x), BP_AIPS_PACRP_SP0) = (v))
12217 /*@}*/
12218
12219 /*******************************************************************************
12220 * HW_AIPS_PACRU - Peripheral Access Control Register
12221 ******************************************************************************/
12222
12223 /*!
12224 * @brief HW_AIPS_PACRU - Peripheral Access Control Register (RW)
12225 *
12226 * Reset value: 0x44000000U
12227 *
12228 * PACRU defines the access levels for the two global spaces.
12229 */
12230 typedef union _hw_aips_pacru
12231 {
12232 uint32_t U;
12233 struct _hw_aips_pacru_bitfields
12234 {
12235 uint32_t RESERVED0 : 24; /*!< [23:0] */
12236 uint32_t TP1 : 1; /*!< [24] Trusted Protect */
12237 uint32_t WP1 : 1; /*!< [25] Write Protect */
12238 uint32_t SP1 : 1; /*!< [26] Supervisor Protect */
12239 uint32_t RESERVED1 : 1; /*!< [27] */
12240 uint32_t TP0 : 1; /*!< [28] Trusted Protect */
12241 uint32_t WP0 : 1; /*!< [29] Write Protect */
12242 uint32_t SP0 : 1; /*!< [30] Supervisor Protect */
12243 uint32_t RESERVED2 : 1; /*!< [31] */
12244 } B;
12245 } hw_aips_pacru_t;
12246
12247 /*!
12248 * @name Constants and macros for entire AIPS_PACRU register
12249 */
12250 /*@{*/
12251 #define HW_AIPS_PACRU_ADDR(x) ((x) + 0x80U)
12252
12253 #define HW_AIPS_PACRU(x) (*(__IO hw_aips_pacru_t *) HW_AIPS_PACRU_ADDR(x))
12254 #define HW_AIPS_PACRU_RD(x) (HW_AIPS_PACRU(x).U)
12255 #define HW_AIPS_PACRU_WR(x, v) (HW_AIPS_PACRU(x).U = (v))
12256 #define HW_AIPS_PACRU_SET(x, v) (HW_AIPS_PACRU_WR(x, HW_AIPS_PACRU_RD(x) | (v)))
12257 #define HW_AIPS_PACRU_CLR(x, v) (HW_AIPS_PACRU_WR(x, HW_AIPS_PACRU_RD(x) & ~(v)))
12258 #define HW_AIPS_PACRU_TOG(x, v) (HW_AIPS_PACRU_WR(x, HW_AIPS_PACRU_RD(x) ^ (v)))
12259 /*@}*/
12260
12261 /*
12262 * Constants & macros for individual AIPS_PACRU bitfields
12263 */
12264
12265 /*!
12266 * @name Register AIPS_PACRU, field TP1[24] (RW)
12267 *
12268 * Determines whether the peripheral allows accesses from an untrusted master.
12269 * When this field is set and an access is attempted by an untrusted master, the
12270 * access terminates with an error response and no peripheral access initiates.
12271 *
12272 * Values:
12273 * - 0 - Accesses from an untrusted master are allowed.
12274 * - 1 - Accesses from an untrusted master are not allowed.
12275 */
12276 /*@{*/
12277 #define BP_AIPS_PACRU_TP1 (24U) /*!< Bit position for AIPS_PACRU_TP1. */
12278 #define BM_AIPS_PACRU_TP1 (0x01000000U) /*!< Bit mask for AIPS_PACRU_TP1. */
12279 #define BS_AIPS_PACRU_TP1 (1U) /*!< Bit field size in bits for AIPS_PACRU_TP1. */
12280
12281 /*! @brief Read current value of the AIPS_PACRU_TP1 field. */
12282 #define BR_AIPS_PACRU_TP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_TP1))
12283
12284 /*! @brief Format value for bitfield AIPS_PACRU_TP1. */
12285 #define BF_AIPS_PACRU_TP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRU_TP1) & BM_AIPS_PACRU_TP1)
12286
12287 /*! @brief Set the TP1 field to a new value. */
12288 #define BW_AIPS_PACRU_TP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_TP1) = (v))
12289 /*@}*/
12290
12291 /*!
12292 * @name Register AIPS_PACRU, field WP1[25] (RW)
12293 *
12294 * Determines whether the peripheral allows write accesss. When this bit is set
12295 * and a write access is attempted, access terminates with an error response and
12296 * no peripheral access initiates.
12297 *
12298 * Values:
12299 * - 0 - This peripheral allows write accesses.
12300 * - 1 - This peripheral is write protected.
12301 */
12302 /*@{*/
12303 #define BP_AIPS_PACRU_WP1 (25U) /*!< Bit position for AIPS_PACRU_WP1. */
12304 #define BM_AIPS_PACRU_WP1 (0x02000000U) /*!< Bit mask for AIPS_PACRU_WP1. */
12305 #define BS_AIPS_PACRU_WP1 (1U) /*!< Bit field size in bits for AIPS_PACRU_WP1. */
12306
12307 /*! @brief Read current value of the AIPS_PACRU_WP1 field. */
12308 #define BR_AIPS_PACRU_WP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_WP1))
12309
12310 /*! @brief Format value for bitfield AIPS_PACRU_WP1. */
12311 #define BF_AIPS_PACRU_WP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRU_WP1) & BM_AIPS_PACRU_WP1)
12312
12313 /*! @brief Set the WP1 field to a new value. */
12314 #define BW_AIPS_PACRU_WP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_WP1) = (v))
12315 /*@}*/
12316
12317 /*!
12318 * @name Register AIPS_PACRU, field SP1[26] (RW)
12319 *
12320 * Determines whether the peripheral requires supervisor privilege level for
12321 * accesses. When this field is set, the master privilege level must indicate the
12322 * supervisor access attribute, and the MPRx[MPLn] control field for the master
12323 * must be set. If not, access terminates with an error response and no peripheral
12324 * access initiates.
12325 *
12326 * Values:
12327 * - 0 - This peripheral does not require supervisor privilege level for
12328 * accesses.
12329 * - 1 - This peripheral requires supervisor privilege level for accesses.
12330 */
12331 /*@{*/
12332 #define BP_AIPS_PACRU_SP1 (26U) /*!< Bit position for AIPS_PACRU_SP1. */
12333 #define BM_AIPS_PACRU_SP1 (0x04000000U) /*!< Bit mask for AIPS_PACRU_SP1. */
12334 #define BS_AIPS_PACRU_SP1 (1U) /*!< Bit field size in bits for AIPS_PACRU_SP1. */
12335
12336 /*! @brief Read current value of the AIPS_PACRU_SP1 field. */
12337 #define BR_AIPS_PACRU_SP1(x) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_SP1))
12338
12339 /*! @brief Format value for bitfield AIPS_PACRU_SP1. */
12340 #define BF_AIPS_PACRU_SP1(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRU_SP1) & BM_AIPS_PACRU_SP1)
12341
12342 /*! @brief Set the SP1 field to a new value. */
12343 #define BW_AIPS_PACRU_SP1(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_SP1) = (v))
12344 /*@}*/
12345
12346 /*!
12347 * @name Register AIPS_PACRU, field TP0[28] (RW)
12348 *
12349 * Determines whether the peripheral allows accesses from an untrusted master.
12350 * When this field is set and an access is attempted by an untrusted master, the
12351 * access terminates with an error response and no peripheral access initiates.
12352 *
12353 * Values:
12354 * - 0 - Accesses from an untrusted master are allowed.
12355 * - 1 - Accesses from an untrusted master are not allowed.
12356 */
12357 /*@{*/
12358 #define BP_AIPS_PACRU_TP0 (28U) /*!< Bit position for AIPS_PACRU_TP0. */
12359 #define BM_AIPS_PACRU_TP0 (0x10000000U) /*!< Bit mask for AIPS_PACRU_TP0. */
12360 #define BS_AIPS_PACRU_TP0 (1U) /*!< Bit field size in bits for AIPS_PACRU_TP0. */
12361
12362 /*! @brief Read current value of the AIPS_PACRU_TP0 field. */
12363 #define BR_AIPS_PACRU_TP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_TP0))
12364
12365 /*! @brief Format value for bitfield AIPS_PACRU_TP0. */
12366 #define BF_AIPS_PACRU_TP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRU_TP0) & BM_AIPS_PACRU_TP0)
12367
12368 /*! @brief Set the TP0 field to a new value. */
12369 #define BW_AIPS_PACRU_TP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_TP0) = (v))
12370 /*@}*/
12371
12372 /*!
12373 * @name Register AIPS_PACRU, field WP0[29] (RW)
12374 *
12375 * Determines whether the peripheral allows write accesses. When this field is
12376 * set and a write access is attempted, access terminates with an error response
12377 * and no peripheral access initiates.
12378 *
12379 * Values:
12380 * - 0 - This peripheral allows write accesses.
12381 * - 1 - This peripheral is write protected.
12382 */
12383 /*@{*/
12384 #define BP_AIPS_PACRU_WP0 (29U) /*!< Bit position for AIPS_PACRU_WP0. */
12385 #define BM_AIPS_PACRU_WP0 (0x20000000U) /*!< Bit mask for AIPS_PACRU_WP0. */
12386 #define BS_AIPS_PACRU_WP0 (1U) /*!< Bit field size in bits for AIPS_PACRU_WP0. */
12387
12388 /*! @brief Read current value of the AIPS_PACRU_WP0 field. */
12389 #define BR_AIPS_PACRU_WP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_WP0))
12390
12391 /*! @brief Format value for bitfield AIPS_PACRU_WP0. */
12392 #define BF_AIPS_PACRU_WP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRU_WP0) & BM_AIPS_PACRU_WP0)
12393
12394 /*! @brief Set the WP0 field to a new value. */
12395 #define BW_AIPS_PACRU_WP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_WP0) = (v))
12396 /*@}*/
12397
12398 /*!
12399 * @name Register AIPS_PACRU, field SP0[30] (RW)
12400 *
12401 * Determines whether the peripheral requires supervisor privilege level for
12402 * access. When this bit is set, the master privilege level must indicate the
12403 * supervisor access attribute, and the MPRx[MPLn] control bit for the master must be
12404 * set. If not, access terminates with an error response and no peripheral access
12405 * initiates.
12406 *
12407 * Values:
12408 * - 0 - This peripheral does not require supervisor privilege level for
12409 * accesses.
12410 * - 1 - This peripheral requires supervisor privilege level for accesses.
12411 */
12412 /*@{*/
12413 #define BP_AIPS_PACRU_SP0 (30U) /*!< Bit position for AIPS_PACRU_SP0. */
12414 #define BM_AIPS_PACRU_SP0 (0x40000000U) /*!< Bit mask for AIPS_PACRU_SP0. */
12415 #define BS_AIPS_PACRU_SP0 (1U) /*!< Bit field size in bits for AIPS_PACRU_SP0. */
12416
12417 /*! @brief Read current value of the AIPS_PACRU_SP0 field. */
12418 #define BR_AIPS_PACRU_SP0(x) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_SP0))
12419
12420 /*! @brief Format value for bitfield AIPS_PACRU_SP0. */
12421 #define BF_AIPS_PACRU_SP0(v) ((uint32_t)((uint32_t)(v) << BP_AIPS_PACRU_SP0) & BM_AIPS_PACRU_SP0)
12422
12423 /*! @brief Set the SP0 field to a new value. */
12424 #define BW_AIPS_PACRU_SP0(x, v) (BITBAND_ACCESS32(HW_AIPS_PACRU_ADDR(x), BP_AIPS_PACRU_SP0) = (v))
12425 /*@}*/
12426
12427 /*******************************************************************************
12428 * hw_aips_t - module struct
12429 ******************************************************************************/
12430 /*!
12431 * @brief All AIPS module registers.
12432 */
12433 #pragma pack(1)
12434 typedef struct _hw_aips
12435 {
12436 __IO hw_aips_mpra_t MPRA; /*!< [0x0] Master Privilege Register A */
12437 uint8_t _reserved0[28];
12438 __IO hw_aips_pacra_t PACRA; /*!< [0x20] Peripheral Access Control Register */
12439 __IO hw_aips_pacrb_t PACRB; /*!< [0x24] Peripheral Access Control Register */
12440 __IO hw_aips_pacrc_t PACRC; /*!< [0x28] Peripheral Access Control Register */
12441 __IO hw_aips_pacrd_t PACRD; /*!< [0x2C] Peripheral Access Control Register */
12442 uint8_t _reserved1[16];
12443 __IO hw_aips_pacre_t PACRE; /*!< [0x40] Peripheral Access Control Register */
12444 __IO hw_aips_pacrf_t PACRF; /*!< [0x44] Peripheral Access Control Register */
12445 __IO hw_aips_pacrg_t PACRG; /*!< [0x48] Peripheral Access Control Register */
12446 __IO hw_aips_pacrh_t PACRH; /*!< [0x4C] Peripheral Access Control Register */
12447 __IO hw_aips_pacri_t PACRI; /*!< [0x50] Peripheral Access Control Register */
12448 __IO hw_aips_pacrj_t PACRJ; /*!< [0x54] Peripheral Access Control Register */
12449 __IO hw_aips_pacrk_t PACRK; /*!< [0x58] Peripheral Access Control Register */
12450 __IO hw_aips_pacrl_t PACRL; /*!< [0x5C] Peripheral Access Control Register */
12451 __IO hw_aips_pacrm_t PACRM; /*!< [0x60] Peripheral Access Control Register */
12452 __IO hw_aips_pacrn_t PACRN; /*!< [0x64] Peripheral Access Control Register */
12453 __IO hw_aips_pacro_t PACRO; /*!< [0x68] Peripheral Access Control Register */
12454 __IO hw_aips_pacrp_t PACRP; /*!< [0x6C] Peripheral Access Control Register */
12455 uint8_t _reserved2[16];
12456 __IO hw_aips_pacru_t PACRU; /*!< [0x80] Peripheral Access Control Register */
12457 } hw_aips_t;
12458 #pragma pack()
12459
12460 /*! @brief Macro to access all AIPS registers. */
12461 /*! @param x AIPS module instance base address. */
12462 /*! @return Reference (not a pointer) to the registers struct. To get a pointer to the struct,
12463 * use the '&' operator, like <code>&HW_AIPS(AIPS0_BASE)</code>. */
12464 #define HW_AIPS(x) (*(hw_aips_t *)(x))
12465
12466 #endif /* __HW_AIPS_REGISTERS_H__ */
12467 /* EOF */
Imprint / Impressum