| * RX Interrupt Control Unit |
| * Copyright (c) 2019 Yoshinori Sato |
| * SPDX-License-Identifier: GPL-2.0-or-later |
| * This program is free software; you can redistribute it and/or modify it |
| * under the terms and conditions of the GNU General Public License, |
| * version 2 or later, as published by the Free Software Foundation. |
| * This program is distributed in the hope it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * You should have received a copy of the GNU General Public License along with |
| * this program. If not, see <http://www.gnu.org/licenses/>. |
| TRG_NEDGE = 1, /* Falling */ |
| TRG_PEDGE = 2, /* Raising */ |
| TRG_BEDGE = 3, /* Both */ |
| /* Software interrupt request */ |
| struct IRQSource src[NR_IRQS]; |
| uint8_t ier[NR_IRQS / 8]; |
| #define TYPE_RX_ICU "rx-icu" |
| OBJECT_DECLARE_SIMPLE_TYPE(RXICUState, RX_ICU) |
| #endif /* HW_INTC_RX_ICU_H */ |