mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-17 07:05:31 +08:00
18 lines
514 B
C
18 lines
514 B
C
/*
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H__
|
|
#define __DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H__
|
|
|
|
#define IRQ_TYPE_NONE 0
|
|
#define IRQ_TYPE_EDGE_RISING 1
|
|
#define IRQ_TYPE_EDGE_FALLING 2
|
|
#define IRQ_TYPE_EDGE_BOTH (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)
|
|
#define IRQ_TYPE_LEVEL_HIGH 4
|
|
#define IRQ_TYPE_LEVEL_LOW 8
|
|
|
|
#endif /* __DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H__ */
|