2018-09-05 02:39:50 +02:00
|
|
|
/*
|
2019-09-05 13:35:58 +02:00
|
|
|
* Copyright (C) 2019 Gunar Schorcht
|
2018-09-05 02:39:50 +02:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup cpu_esp8266
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Implementation of the kernels irq interface
|
|
|
|
*
|
|
|
|
* @author Gunar Schorcht <gunar@schorcht.net>
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef IRQ_ARCH_H
|
|
|
|
#define IRQ_ARCH_H
|
|
|
|
|
2019-12-16 07:41:40 +01:00
|
|
|
#include "irq_arch_common.h"
|
2018-09-05 02:39:50 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-09-05 13:35:58 +02:00
|
|
|
/**
|
|
|
|
* @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
|
|
|
|
|
2018-09-05 02:39:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* IRQ_ARCH_H */
|