|
LM3S2793 Datasheet, PDF (160/1194 Pages) Texas Instruments – Stellaris® LM3S2793 Microcontroller | |||
|
◁ |
Cortex-M3 Peripherals
Bit/Field
25
24
23:20
19
18
Name
DIV0
UNALIGN
reserved
NOCP
INVPC
Type
R/W1C
R/W1C
RO
R/W1C
R/W1C
Reset
0
0
0x00
0
0
Description
Divide-by-Zero Usage Fault
Value Description
0 No divide-by-zero fault has occurred, or divide-by-zero trapping
is not enabled.
1 The processor has executed an SDIV or UDIV instruction with
a divisor of 0.
When this bit is set, the PC value stacked for the exception return points
to the instruction that performed the divide by zero.
Trapping on divide-by-zero is enabled by setting the DIV0 bit in the
Configuration and Control (CFGCTRL) register (see page 150).
This bit is cleared by writing a 1 to it.
Unaligned Access Usage Fault
Value Description
0 No unaligned access fault has occurred, or unaligned access
trapping is not enabled.
1 The processor has made an unaligned memory access.
Unaligned LDM, STM, LDRD, and STRD instructions always fault
regardless of the configuration of this bit.
Trapping on unaligned access is enabled by setting the UNALIGNED bit
in the CFGCTRL register (see page 150).
This bit is cleared by writing a 1 to it.
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
No Coprocessor Usage Fault
Value Description
0 A usage fault has not been caused by attempting to access a
coprocessor.
1 The processor has attempted to access a coprocessor.
This bit is cleared by writing a 1 to it.
Invalid PC Load Usage Fault
Value Description
0 A usage fault has not been caused by attempting to load an
invalid PC value.
1 The processor has attempted an illegal load of EXC_RETURN
to the PC as a result of an invalid context or an invalid
EXC_RETURN value.
When this bit is set, the PC value stacked for the exception return points
to the instruction that tried to perform the illegal load of the PC.
This bit is cleared by writing a 1 to it.
160
January 20, 2012
Texas Instruments-Production Data
|
▷ |