distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp
Go to the documentation of this file.
1 
12 #ifndef SOURCE_ARCHITECTURE_ARM_ARMV6_M_ARMV7_M_ARMV6_M_ARMV7_M_EXCEPTIONSTACKFRAME_HPP_
13 #define SOURCE_ARCHITECTURE_ARM_ARMV6_M_ARMV7_M_ARMV6_M_ARMV7_M_EXCEPTIONSTACKFRAME_HPP_
14 
15 #include <cstdint>
16 
17 namespace distortos
18 {
19 
20 namespace architecture
21 {
22 
25 {
27  constexpr static uintptr_t defaultXpsr {0x01000000};
28 
30  void* r0;
32  void* r1;
34  void* r2;
36  void* r3;
38  void* r12;
40  void* lr;
42  void* pc;
44  void* xpsr;
45 };
46 
47 } // namespace architecture
48 
49 } // namespace distortos
50 
51 #endif // SOURCE_ARCHITECTURE_ARM_ARMV6_M_ARMV7_M_ARMV6_M_ARMV7_M_EXCEPTIONSTACKFRAME_HPP_
void * xpsr
xpsr register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:44
void * r3
r3 register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:36
void * r0
r0 register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:30
static constexpr uintptr_t defaultXpsr
default value of xPSR register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:27
void * r2
r2 register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:34
Top-level namespace of distortos project.
void * pc
pc register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:42
stack frame for ARMv6-M and ARMv7-M created by hardware on exception entry
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:24
void * lr
lr register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:40
void * r1
r1 register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:32
void * r12
r12 register
Definition: ARMv6-M-ARMv7-M-ExceptionStackFrame.hpp:38