Zephyr Project API  3.4.0
A Scalable Open Source RTOS
nmi.h
Go to the documentation of this file.
1
7/*
8 * Copyright (c) 2015 Intel Corporation
9 *
10 * SPDX-License-Identifier: Apache-2.0
11 */
12
13#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_NMI_H_
14#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_NMI_H_
15
16#ifndef _ASMLANGUAGE
17#ifdef CONFIG_RUNTIME_NMI
18extern void z_arm_nmi_init(void);
19extern void z_arm_nmi_set_handler(void (*pHandler)(void));
20#define NMI_INIT() z_arm_nmi_init()
21#else
22#define NMI_INIT()
23#endif
24#endif
25
26#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_NMI_H_ */