From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/Core_A/html/group__CMSIS__SP.html | 213 +++++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 docs/Core_A/html/group__CMSIS__SP.html (limited to 'docs/Core_A/html/group__CMSIS__SP.html') diff --git a/docs/Core_A/html/group__CMSIS__SP.html b/docs/Core_A/html/group__CMSIS__SP.html new file mode 100644 index 0000000..6b78427 --- /dev/null +++ b/docs/Core_A/html/group__CMSIS__SP.html @@ -0,0 +1,213 @@ + + + + + +Stack Pointer (SP/R13) +CMSIS-Core (Cortex-A): Stack Pointer (SP/R13) + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-Core (Cortex-A) +  Version 1.1.2 +
+
CMSIS-Core support for Cortex-A processor-based devices
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Stack Pointer (SP/R13)
+
+
+ +

The processor uses SP as a pointer to the active stack. +More...

+ + + + + + + + +

+Functions

__STATIC_INLINE __ASM void __set_SP (uint32_t stack)
 Set Stack Pointer. More...
 
__STATIC_INLINE __ASM void __set_SP_usr (uint32_t topOfProcStack)
 Set USR/SYS Stack Pointer. More...
 
+

Description

+

The Stack Pointer is banked per processor mode. Accessing the active stack pointer actually returns/modifies the stack pointer of the current processor execution mode.

+ + + + + + + + + + + + + + + + + + + +
Mode Actual SP
User/System SP_usr
Hypervisor SP_hyp
Supervisor SP_svc
Abort SP_abt
Undefined SP_und
Monitor SP_mon
IRQ SP_irq
FIQ SP_fiq
+

Consider __set_SP and __set_SP_usr to access this register.

+

Function Documentation

+ +
+
+ + + + + + + + +
__STATIC_INLINE __ASM void __set_SP (uint32_t stack)
+
+
Parameters
+ + +
[in]stackStack Pointer value to set
+
+
+

This function assigns the given value to the current stack pointer.

+ +
+
+ +
+
+ + + + + + + + +
__STATIC_INLINE __ASM void __set_SP_usr (uint32_t topOfProcStack)
+
+
Parameters
+ + +
[in]topOfProcStackUSR/SYS Stack Pointer value to set
+
+
+

This function assigns the given value to the User/System Stack Pointer (SP_usr).

+ +
+
+
+
+ + + + -- cgit