/** ****************************************************************************** * @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 --------------------------------------------------------*/#defineEXAMPLE_RAM_ADDRESS_START(0x20000000UL)#defineEXAMPLE_RAM_SIZEMPU_REGION_SIZE_32KB#defineEXAMPLE_PERIPH_ADDRESS_START(0x40000000)#defineEXAMPLE_PERIPH_SIZEMPU_REGION_SIZE_512MB#defineEXAMPLE_FLASH_ADDRESS_START(0x08000000)#defineEXAMPLE_FLASH_SIZEMPU_REGION_SIZE_256KB#defineEXAMPLE_RAM_REGION_NUMBERMPU_REGION_NUMBER0#defineEXAMPLE_FLASH_REGION_NUMBERMPU_REGION_NUMBER1#defineEXAMPLE_PERIPH_REGION_NUMBERMPU_REGION_NUMBER2#defineportMPU_REGION_READ_WRITEMPU_REGION_FULL_ACCESS#defineportMPU_REGION_PRIVILEGED_READ_ONLYMPU_REGION_PRIV_RO#defineportMPU_REGION_READ_ONLYMPU_REGION_PRIV_RO_URO#defineportMPU_REGION_PRIVILEGED_READ_WRITEMPU_REGION_PRIV_RW13 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- */voidMPU_Config(void);voidMPU_AccessPermConfig(void);Exported functions/* ... */#endif/* __STM32_MPU_H */