ARM cortex-m7 register : system control block



ARM : cortex-m7 system control block



CCR :





Table 4.12. Summary of the system control block registers
AddressNameType
Required
privilege
Reset
value
Description
0xE000E008ACTLRRWPrivileged0x00000000Auxiliary Control Register
0xE000ED00CPUIDROPrivileged
0x410FC270[a]
CPUID Base Register
0xE000ED04ICSRRW[b]Privileged0x00000000Interrupt Control and State Register
0xE000ED08VTORRWPrivilegedUnknownVector Table Offset Register
0xE000ED0CAIRCRRW[b]Privileged
0xFA050000
Application Interrupt and Reset Control Register
0xE000ED10SCRRWPrivileged0x00000000System Control Register
0xE000ED14CCRRWPrivileged0x00000200[a]Configuration and Control Register
0xE000ED18SHPR1RWPrivileged0x00000000System Handler Priority Register 1
0xE000ED1CSHPR2RWPrivileged0x00000000System Handler Priority Register 2
0xE000ED20SHPR3RWPrivileged0x00000000System Handler Priority Register 3
0xE000ED24SHCRSRWPrivileged0x00000000System Handler Control and State Register
0xE000ED28CFSRRWPrivileged0x00000000Configurable Fault Status Register
0xE000ED28MMSR[c]RWPrivileged0x00MemManage Fault Status Register
0xE000ED29BFSR[c]RWPrivileged0x00BusFault Status Register
0xE000ED2AUFSR[c]RWPrivileged0x0000UsageFault Status Register
0xE000ED2CHFSRRWPrivileged0x00000000HardFault Status Register
0xE000ED34MMARRWPrivilegedUnknown
0xE000ED38BFARRWPrivilegedUnknownBusFault Address Register
0xE000ED3CAFSRRAZ/WIPrivileged-Auxiliary Fault Status Register not implemented

====

CCR 


Table 4.20. CCR bit assignments
BitsNameTypeFunction
[31:19]--Reserved.
[18]BPRO
Always reads-as-one. It indicates branch prediction is enabled.
[17]ICRW
Enables L1 instruction cache. This bit is optional:
0
L1 instruction cache disabled.
1
L1 instruction cache enabled.
[16]DCRW
Enables L1data cache. This bit is optional:
0
L1 data cache disabled.
1
L1 data cache enabled.
[15:10]--Reserved.
[9]STKALIGNRO
Always reads-as-one. It indicates stack alignment on exception entry is 8-byte aligned.
On exception entry, the processor uses bit[9] of the stacked PSR to indicate the stack alignment. On return from the exception it uses this stacked bit to restore the correct stack alignment.
[8]BFHFNMIGNRW
Enables handlers with priority -1 or -2 to ignore data BusFaults caused by load and store instructions. This applies to the hard fault, NMI, and FAULTMASK escalated handlers:
0
Data bus faults caused by load and store instructions cause a lock-up.
1
Handlers running at priority -1 and -2 ignore data bus faults caused by load and store instructions.
Set this bit to 1 only when the handler and its data are in absolutely safe memory. The normal use of this bit is to probe system devices and bridges to detect control path problems and fix them.
[7:5]--Reserved.
[4]DIV_0_TRPRW
Enables faulting or halting when the processor executes an SDIV or UDIVinstruction with a divisor of 0:
0
Do not trap divide by 0.
1
Trap divide by 0.
When this bit is set to 0, a divide by zero returns a quotient of 0.
[3]UNALIGN_TRPRW
Enables unaligned access traps:
0
Do not trap unaligned halfword and word accesses.
1
Trap unaligned halfword and word accesses.
If this bit is set to 1, an unaligned access generates a UsageFault.
Unaligned LDMSTMLDRD, and STRDinstructions always fault irrespective of whether UNALIGN_TRP is set to 1.
[2]--Reserved.
[1]USERSETMPENDRW
Enables unprivileged software access to the STIR, see Software Trigger Interrupt Register:
0
Disable.
1
Enable.
[0]NONBASETHRDENARW
Indicates how the processor enters Thread mode:
0
Processor can enter Thread mode only when no exception is active.
1
Processor can enter Thread mode from any level under the control of an EXC_RETURN value, see Exception return.

留言

熱門文章