mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
39 lines
657 B
C
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
|