1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00
RIOT/cpu/esp8266/include/irq_arch.h
2025-09-12 11:50:26 +02:00

39 lines
657 B
C

/*
* SPDX-FileCopyrightText: 2019 Gunar Schorcht
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @ingroup cpu_esp8266
* @{
*
* @file
* @brief Implementation of the kernels irq interface
*
* @author Gunar Schorcht <gunar@schorcht.net>
*
* @}
*/
#include "irq_arch_common.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Software interrupt types
*
* These definitions are used to distinguish different types of software
* interrupts in software interrupt handler.
*/
#define ETS_SOFT_INT_NONE 0
#define ETS_SOFT_INT_YIELD 1
#define ETS_SOFT_INT_HDL_MAC 2
#ifdef __cplusplus
}
#endif