Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
irq_offload.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 Intel corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11#ifndef ZEPHYR_INCLUDE_IRQ_OFFLOAD_H_
12#define ZEPHYR_INCLUDE_IRQ_OFFLOAD_H_
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef void (*irq_offload_routine_t)(const void *parameter);
19
39void irq_offload(irq_offload_routine_t routine, const void *parameter);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* _SW_IRQ_H_ */
void irq_offload(irq_offload_routine_t routine, const void *parameter)
Run a function in interrupt context.
void(* irq_offload_routine_t)(const void *parameter)
Definition: irq_offload.h:18