参考代码

This commit is contained in:
LokLiang
2024-03-28 12:19:52 +08:00
commit 7b86aa3362
96 changed files with 19986 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#ifndef __IRQ_H__
#define __IRQ_H__
#ifdef __cplusplus
extern "C"
{
#endif
unsigned drv_irq_disable(void);
void drv_irq_enable(unsigned nest);
unsigned drv_irq_get_nest(void);
void drv_fiq_disable(void);
void drv_fiq_enable(void);
void drv_irq_hardfault_callback(void ((*cb)(void)));
#ifdef __cplusplus
}
#endif
#endif