openmv/lib/alif/Device/common/include/mpu_M55.h
iabdalkader daf2bb30da misc: Restructure repo.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-13 08:28:34 +02:00

71 lines
2.2 KiB
C

/* Copyright (C) 2022 Alif Semiconductor - All Rights Reserved.
* Use, distribution and modification of this code is permitted under the
* terms stated in the Alif Semiconductor Software License Agreement
*
* You should have received a copy of the Alif Semiconductor Software
* License Agreement with this file. If not, please write to:
* contact@alifsemi.com, or visit: https://alifsemi.com/license
*
*/
/**************************************************************************//**
* @file mpu_M55.h
* @author Sudhir Sreedharan
* @emial sudhir@alifsemi.com
* @version V1.0.0
* @date 14-December-2021
* @brief MPU header file
******************************************************************************/
/* Include Guard */
#ifndef MPU_M55_H
#define MPU_M55_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Public function prototypes ------------------------------------------------*/
/**
* @brief Clear all the MPU registers
* @note This function disables the MPU and clear
* all the existing regions.
* @param None
* @retval None
*/
void MPU_Clear_All_Regions(void);
/**
* @brief Load the MPU regions from the given table
* @note This function loads the region and also sets the
* attributes for the regions.
* User can override from application.
* @note This function will be invoked much early in the boot process
* and before the scatterload. User must ensure that this function
* is included in the primary load region.
* @param None
* @retval None
*/
void MPU_Load_Regions(void);
/**
* @brief Configure the MPU.
* @note This function disables the MPU and loads the regions
* from the table. Once it is loaded, MPU is enabled.
* User can override from application.
* @note This function will be invoked much early in the boot process
* and before the scatterload. User must ensure that this function
* is included in the primary load region.
* @param None
* @retval None
*/
void MPU_Setup(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* End Include Guard */
/************************ (C) COPYRIGHT ALIF SEMICONDUCTOR *****END OF FILE****/