Zephyr Project API
4.2.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Renesas Electronics Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
15
#ifndef ZEPHYR_INCLUDE_ARCH_RX_ERROR_H_
16
#define ZEPHYR_INCLUDE_ARCH_RX_ERROR_H_
17
18
#include <
stdbool.h
>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#define ARCH_EXCEPT(reason_p) \
25
do { \
26
arch_irq_unlock(0); \
27
__asm__ volatile("mov %[_reason], r1\n\t" \
28
"int #2\n\t" ::[_reason] "r"(reason_p) \
29
: "r1", "memory"); \
30
} while (false)
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
/* ZEPHYR_INCLUDE_ARCH_RX_ERROR_H_ */
stdbool.h
include
zephyr
arch
rx
error.h
Generated on Mon Aug 4 2025 08:56:49 for Zephyr Project API by
1.9.8