Select one of the symbols to view example projects that use it.
 
Outline
#define __STM32_MPU_H
Includes
#include "stm32f4xx.h"
Exported constants
#define EXAMPLE_RAM_ADDRESS_START
#define EXAMPLE_RAM_SIZE
#define EXAMPLE_PERIPH_ADDRESS_START
#define EXAMPLE_PERIPH_SIZE
#define EXAMPLE_FLASH_ADDRESS_START
#define EXAMPLE_FLASH_SIZE
#define EXAMPLE_RAM_REGION_NUMBER
#define EXAMPLE_FLASH_REGION_NUMBER
#define EXAMPLE_PERIPH_REGION_NUMBER
#define portMPU_REGION_READ_WRITE
#define portMPU_REGION_PRIVILEGED_READ_ONLY
#define portMPU_REGION_READ_ONLY
#define portMPU_REGION_PRIVILEGED_READ_WRITE
Exported functions
MPU_Config();
MPU_AccessPermConfig();
Files
loading...
CodeScopeSTM32 Libraries and SamplesCORTEXM_MPUInc/stm32_mpu.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file Cortex/CORTEXM_MPU/Inc/stm32_mpu.h * @author MCD Application Team * @brief Header for stm32_mpu.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32_MPU_H #define __STM32_MPU_H /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx.h" Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ #define EXAMPLE_RAM_ADDRESS_START (0x20000000UL) #define EXAMPLE_RAM_SIZE MPU_REGION_SIZE_32KB #define EXAMPLE_PERIPH_ADDRESS_START (0x40000000) #define EXAMPLE_PERIPH_SIZE MPU_REGION_SIZE_512MB #define EXAMPLE_FLASH_ADDRESS_START (0x08000000) #define EXAMPLE_FLASH_SIZE MPU_REGION_SIZE_256KB #define EXAMPLE_RAM_REGION_NUMBER MPU_REGION_NUMBER0 #define EXAMPLE_FLASH_REGION_NUMBER MPU_REGION_NUMBER1 #define EXAMPLE_PERIPH_REGION_NUMBER MPU_REGION_NUMBER2 #define portMPU_REGION_READ_WRITE MPU_REGION_FULL_ACCESS #define portMPU_REGION_PRIVILEGED_READ_ONLY MPU_REGION_PRIV_RO #define portMPU_REGION_READ_ONLY MPU_REGION_PRIV_RO_URO #define portMPU_REGION_PRIVILEGED_READ_WRITE MPU_REGION_PRIV_RW 13 defines Exported constants/* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void MPU_Config(void); void MPU_AccessPermConfig(void); Exported functions /* ... */#endif /* __STM32_MPU_H */