Zephyr API Documentation
4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sw_nmi_table.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
7
#ifndef ZEPHYR_INCLUDE_ARCH_RX_SW_NMI_TABLE_H
8
#define ZEPHYR_INCLUDE_ARCH_RX_SW_NMI_TABLE_H
9
10
#include <
stdint.h
>
11
#include <soc.h>
12
13
#define NMI_TABLE_SIZE (5)
14
15
typedef
void (*
nmi_callback_t
)(
void
*arg);
16
17
struct
nmi_vector_entry
{
18
nmi_callback_t
callback
;
19
void
*
arg
;
20
};
21
22
extern
struct
nmi_vector_entry
_nmi_vector_table[
NMI_TABLE_SIZE
];
23
24
void
nmi_enable
(
uint8_t
nmi_vector,
nmi_callback_t
callback
,
void
*
arg
);
25
int
get_nmi_request
(
void
);
26
void
handle_nmi
(
uint8_t
nmi_vector);
27
28
#endif
/* ZEPHYR_INCLUDE_ARCH_RX_SW_NMI_TABLE_H */
stdint.h
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
nmi_vector_entry
Definition
sw_nmi_table.h:17
nmi_vector_entry::callback
nmi_callback_t callback
Definition
sw_nmi_table.h:18
nmi_vector_entry::arg
void * arg
Definition
sw_nmi_table.h:19
nmi_enable
void nmi_enable(uint8_t nmi_vector, nmi_callback_t callback, void *arg)
nmi_callback_t
void(* nmi_callback_t)(void *arg)
Definition
sw_nmi_table.h:15
NMI_TABLE_SIZE
#define NMI_TABLE_SIZE
Definition
sw_nmi_table.h:13
handle_nmi
void handle_nmi(uint8_t nmi_vector)
get_nmi_request
int get_nmi_request(void)
zephyr
arch
rx
sw_nmi_table.h
Generated on
for Zephyr API Documentation by
1.14.0