244
SAM4CP [DATASHEET]
43051E–ATPL–08/14
12.12.2.2 Floating-point Context Control Register
Name:
FPCCR
Access:
Read/Write
The FPCCR sets or returns FPU control data.
ASPEN: Automatic Hardware State Preservation And Restoration
Enables CONTROL bit [2] setting on execution of a floating-point instruction. This results in an automatic hardware state
preservation and restoration, for floating-point context, on exception entry and exit.
0: Disable CONTROL bit [2] setting on execution of a floating-point instruction.
1: Enable CONTROL bit [2] setting on execution of a floating-point instruction.
LSPEN: Automatic Lazy State Preservation
0: Disable automatic lazy state preservation for floating-point context.
1: Enable automatic lazy state preservation for floating-point context.
MONRDY: Debug Monitor Ready
0: DebugMonitor is disabled or the priority did not permit to set MON_PEND when the floating-point stack frame was allocated.
1: DebugMonitor is enabled and the priority permitted to set MON_PEND when the floating-point stack frame was allocated.
BFRDY: Bus Fault Ready
0: BusFault is disabled or the priority did not permit to set the BusFault handler to the pending state when the floating-point stack
frame was allocated.
1: BusFault is enabled and the priority permitted to set the BusFault handler to the pending state when the floating-point stack
frame was allocated.
MMRDY: Memory Management Ready
0: MemManage is disabled or the priority did not permit to set the MemManage handler to the pending state when the floating-
point stack frame was allocated.
1: MemManage is enabled and the priority permitted to set the MemManage handler to the pending state when the floating-point
stack frame was allocated.
HFRDY: Hard Fault Ready
0: The priority did not permit to set the HardFault handler to the pending state when the floating-point stack frame was allocated.
1: The priority permitted to set the HardFault handler to the pending state when the floating-point stack frame was allocated.
31
30
29
28
27
26
25
24
ASPEN
LSPEN
–
23
22
21
20
19
18
17
16
–
15
14
13
12
–
11
10
9
8
MONRDY
7
–
6
5
4
3
2
–
1
0
BFRDY
MMRDY
HFRDY
THREAD
USER
LSPACT