Files
xiuos/Ubiquitous/XiZi_IIoT/arch/risc-v/ch569w/arch_interrupt.h
T
2025-04-07 18:18:51 +08:00

13 lines
241 B
C

#ifndef ARCH_INTERRUPT_H__
#define ARCH_INTERRUPT_H__
#include "stdio.h"
#include <xizi.h>
#define ARCH_MAX_IRQ_NUM 36
#define ARCH_IRQ_NUM_OFFSET 0
int ArchEnableHwIrq(uint32_t irq_num);
int ArchDisableHwIrq(uint32_t irq_num);
#endif