Updated SCB_AIRCR_PRIGROUP bit definitions to be more consistent with the style the library.
This commit is contained in:
parent
1c5dfd9d22
commit
c5e5c0fdab
@ -127,12 +127,13 @@
|
|||||||
#define SCB_AIRCR_ENDIANESS (1 << 15)
|
#define SCB_AIRCR_ENDIANESS (1 << 15)
|
||||||
/* Bits [14:11]: reserved - must be kept cleared */
|
/* Bits [14:11]: reserved - must be kept cleared */
|
||||||
/* PRIGROUP[10:8]: Interrupt priority grouping field */
|
/* PRIGROUP[10:8]: Interrupt priority grouping field */
|
||||||
#define SCB_AIRCR_PRIGROUP_LSB 8
|
#define SCB_AIRCR_PRIGROUP_GROUP16_NOSUB (0x3 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP16_NOSUB 0x3
|
#define SCB_AIRCR_PRIGROUP_GROUP8_SUB2 (0x4 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP8_SUB2 0x4
|
#define SCB_AIRCR_PRIGROUP_GROUP4_SUB4 (0x5 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP4_SUB4 0x5
|
#define SCB_AIRCR_PRIGROUP_GROUP2_SUB8 (0x6 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP2_SUB8 0x6
|
#define SCB_AIRCR_PRIGROUP_NOGROUP_SUB16 (0x7 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_NOGROUP_SUB16 0x7
|
#define SCB_AIRCR_PRIGROUP_MASK (0x7 << 8)
|
||||||
|
#define SCB_AIRCR_PRIGROUP_SHIFT 8
|
||||||
/* Bits [7:3]: reserved - must be kept cleared */
|
/* Bits [7:3]: reserved - must be kept cleared */
|
||||||
/* SYSRESETREQ System reset request */
|
/* SYSRESETREQ System reset request */
|
||||||
#define SCB_AIRCR_SYSRESETREQ (1 << 2)
|
#define SCB_AIRCR_SYSRESETREQ (1 << 2)
|
||||||
|
@ -127,12 +127,13 @@
|
|||||||
#define SCB_AIRCR_ENDIANESS (1 << 15)
|
#define SCB_AIRCR_ENDIANESS (1 << 15)
|
||||||
/* Bits [14:11]: reserved - must be kept cleared */
|
/* Bits [14:11]: reserved - must be kept cleared */
|
||||||
/* PRIGROUP[10:8]: Interrupt priority grouping field */
|
/* PRIGROUP[10:8]: Interrupt priority grouping field */
|
||||||
#define SCB_AIRCR_PRIGROUP_LSB 8
|
#define SCB_AIRCR_PRIGROUP_GROUP16_NOSUB (0x3 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP16_NOSUB 0x3
|
#define SCB_AIRCR_PRIGROUP_GROUP8_SUB2 (0x4 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP8_SUB2 0x4
|
#define SCB_AIRCR_PRIGROUP_GROUP4_SUB4 (0x5 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP4_SUB4 0x5
|
#define SCB_AIRCR_PRIGROUP_GROUP2_SUB8 (0x6 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP2_SUB8 0x6
|
#define SCB_AIRCR_PRIGROUP_NOGROUP_SUB16 (0x7 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_NOGROUP_SUB16 0x7
|
#define SCB_AIRCR_PRIGROUP_MASK (0x7 << 8)
|
||||||
|
#define SCB_AIRCR_PRIGROUP_SHIFT 8
|
||||||
/* Bits [7:3]: reserved - must be kept cleared */
|
/* Bits [7:3]: reserved - must be kept cleared */
|
||||||
/* SYSRESETREQ System reset request */
|
/* SYSRESETREQ System reset request */
|
||||||
#define SCB_AIRCR_SYSRESETREQ (1 << 2)
|
#define SCB_AIRCR_SYSRESETREQ (1 << 2)
|
||||||
|
@ -127,12 +127,13 @@
|
|||||||
#define SCB_AIRCR_ENDIANESS (1 << 15)
|
#define SCB_AIRCR_ENDIANESS (1 << 15)
|
||||||
/* Bits [14:11]: reserved - must be kept cleared */
|
/* Bits [14:11]: reserved - must be kept cleared */
|
||||||
/* PRIGROUP[10:8]: Interrupt priority grouping field */
|
/* PRIGROUP[10:8]: Interrupt priority grouping field */
|
||||||
#define SCB_AIRCR_PRIGROUP_LSB 8
|
#define SCB_AIRCR_PRIGROUP_GROUP16_NOSUB (0x3 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP16_NOSUB 0x3
|
#define SCB_AIRCR_PRIGROUP_GROUP8_SUB2 (0x4 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP8_SUB2 0x4
|
#define SCB_AIRCR_PRIGROUP_GROUP4_SUB4 (0x5 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP4_SUB4 0x5
|
#define SCB_AIRCR_PRIGROUP_GROUP2_SUB8 (0x6 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_GROUP2_SUB8 0x6
|
#define SCB_AIRCR_PRIGROUP_NOGROUP_SUB16 (0x7 << 8)
|
||||||
#define SCB_AIRCR_PRIGROUP_NOGROUP_SUB16 0x7
|
#define SCB_AIRCR_PRIGROUP_MASK (0x7 << 8)
|
||||||
|
#define SCB_AIRCR_PRIGROUP_SHIFT 8
|
||||||
/* Bits [7:3]: reserved - must be kept cleared */
|
/* Bits [7:3]: reserved - must be kept cleared */
|
||||||
/* SYSRESETREQ System reset request */
|
/* SYSRESETREQ System reset request */
|
||||||
#define SCB_AIRCR_SYSRESETREQ (1 << 2)
|
#define SCB_AIRCR_SYSRESETREQ (1 << 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user