1 
2 /*
3  * Copyright (c) 2020 Nordic Semiconductor ASA
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 #ifndef H_ARM_CLEANUP_
9 #define H_ARM_CLEANUP_
10 
11 /**
12  * Cleanup interrupt priority and interupt enable registers.
13  */
14 void cleanup_arm_nvic(void);
15 
16 #if defined(CONFIG_CPU_HAS_ARM_MPU) || defined(CONFIG_CPU_HAS_NXP_MPU)
17 /**
18  * Cleanup all ARM MPU region configuration
19  */
20 void z_arm_clear_arm_mpu_config(void);
21 #endif
22 
23 #endif
24