Cfgctrl Register; Cfgctrl Register Field Descriptions - Texas Instruments CC3235 SimpleLink Series Technical Reference Manual

Wi-fi and internet of things
Hide thumbs Also See for CC3235 SimpleLink Series:
Table of Contents

Advertisement

Register Map
3.3.1.16 CFGCTRL Register (Offset = D14h) [reset = 200h]
CFGCTRL is shown in
Return to
Summary
The CFGCTRL register controls entry to Thread mode and enables:
The handlers for NMI, hard fault and faults escalated by the FAULTMASK register to ignore bus faults
Trapping of divide by zero and unaligned accesses
Access to the SWTRIG register by unprivileged software.
NOTE: This register can only be accessed from privileged mode.
31
30
23
22
15
14
7
6
RESERVED
R-0h
LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset
Bit
Field
31-10
RESERVED
9
STKALIGN
8
BFHFMIGN
7-5
RESERVED
4
DIV0
102
®
Cortex
-M4 Peripherals
Figure 3-16
and described in
Table.
Figure 3-16. CFGCTRL Register
29
28
RESERVED
21
20
RESERVED
13
12
RESERVED
R-0h
5
4
DIV0
R/W-0h
Table 3-19. CFGCTRL Register Field Descriptions
Type
Reset
R
0h
R/W
1h
R/W
0h
R
0h
R/W
0h
Copyright © 2019, Texas Instruments Incorporated
Table
3-19.
27
26
R-0h
19
18
R-0h
11
10
3
2
UNALIGNED
RESERVED
R/W-0h
R-0h
Description
Stack Alignment on Exception Entry
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.
0h = The stack is 4-byte aligned.
1h = The stack is 8-byte aligned.
Ignore Bus Fault in NMI and Fault
This bit enables handlers with priority -1 or -2 to ignore data bus
faults caused by load and store instructions. The setting of this bit
applies to the hard fault, NMI, and FAULTMASK-escalated handlers.
Set this bit 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.
0h = Data bus faults caused by load and store instructions cause a
lock-up.
1h = Handlers running at priority -1 and -2 ignore data bus faults
caused by load and store instructions.
Trap on Divide by 0
This bit enables faulting or halting when the processor executes an
SDIV or UDIV instruction with a divisor of 0.
0h = Do not trap on divide by 0. A divide by zero returns a quotient
of 0.
1h = Trap on divide by 0.
www.ti.com
25
24
17
16
9
8
STKALIGN
BFHFMIGN
R/W-1h
R/W-0h
1
0
MANIPEND
BASETHR
R/W-0h
R/W-0h
SWRU543 – January 2019
Submit Documentation Feedback

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cc3235sf simplelink

Table of Contents