blob: 9f9112c82109649d85ebaf002bc40d1b63735f9a [file] [log] [blame]
Andrzej Puzdrowski9a605b62020-03-16 13:34:30 +01001
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 */
14void cleanup_arm_nvic(void);
Ioannis Glaropoulos70af7082020-10-22 15:14:48 +020015
16#if defined(CONFIG_CPU_HAS_ARM_MPU)
17/**
18 * Cleanup all ARM MPU region configuration
19 */
20void z_arm_clear_arm_mpu_config(void);
21#endif
22
Andrzej Puzdrowski9a605b62020-03-16 13:34:30 +010023#endif