STM32F10x_StdPeriph_Examples/CortexM3/Mode_Privilege/main.c File Reference

Main program body. More...

#include "stm32f10x.h"

Go to the source code of this file.

Defines

#define SP_MAIN   0x00
#define SP_PROCESS   0x02
#define SP_PROCESS_SIZE   0x200
#define THREAD_MODE_PRIVILEGED   0x00
#define THREAD_MODE_UNPRIVILEGED   0x01

Functions

int main (void)
 Main program.

Variables

__IO uint32_t CurrentStack = 0
__IO uint32_t Index = 0
__IO uint8_t PSPMemAlloc [SP_PROCESS_SIZE]
__IO uint32_t PSPValue = 0
__IO uint32_t ThreadMode = 0

Detailed Description

Main program body.

Author:
MCD Application Team
Version:
V3.4.0
Date:
10/15/2010

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2010 STMicroelectronics

Definition in file STM32F10x_StdPeriph_Examples/CortexM3/Mode_Privilege/main.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32