File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 679
679
/* Cache Size Selection Register (Cortex-M7) */
680
680
681
681
#define NVIC_CSSELR_IND (1 << 0) /* Bit 0: Selects either instruction or data cache */
682
- # define NVIC_CSSELR_IND_ICACHE (0 << 0) /* 0=Instruction Cache */
683
- # define NVIC_CSSELR_IND_DCACHE (1 << 0) /* 1=Data Cache */
682
+ # define NVIC_CSSELR_IND_ICACHE (1 << 0) /* 0=Instruction Cache */
683
+ # define NVIC_CSSELR_IND_DCACHE (0 << 0) /* 1=Data Cache */
684
684
685
685
#define NVIC_CSSELR_LEVEL_SHIFT (1) /* Bit 1-3: Selects cache level */
686
686
#define NVIC_CSSELR_LEVEL_MASK (7 << NVIC_CSSELR_LEVEL_SHIFT)
Original file line number Diff line number Diff line change 778
778
/* Cache Size Selection Register */
779
779
780
780
#define NVIC_CSSELR_IND (1 << 0) /* Bit 0: Selects either instruction or data cache */
781
- # define NVIC_CSSELR_IND_ICACHE (0 << 0) /* 0=Instruction Cache */
782
- # define NVIC_CSSELR_IND_DCACHE (1 << 0) /* 1=Data Cache */
781
+ # define NVIC_CSSELR_IND_ICACHE (1 << 0) /* 0=Instruction Cache */
782
+ # define NVIC_CSSELR_IND_DCACHE (0 << 0) /* 1=Data Cache */
783
783
784
784
#define NVIC_CSSELR_LEVEL_SHIFT (1) /* Bit 1-3: Selects cache level */
785
785
#define NVIC_CSSELR_LEVEL_MASK (7 << NVIC_CSSELR_LEVEL_SHIFT)
You can’t perform that action at this time.
0 commit comments