Feat: lab 3 w/o adv 2
This commit is contained in:
@@ -2,16 +2,5 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define CORE0_TIMER_IRQ_CTRL ((volatile uint32_t *)0x40000040)
|
||||
#define CORE0_IRQ_SOURCE ((volatile uint32_t *)0x40000060)
|
||||
|
||||
enum :uint32_t {
|
||||
CNTPNSIRQ_INT = ((uint32_t)1 << 1),
|
||||
GPU_INT = ((uint32_t)1 << 8)
|
||||
};
|
||||
|
||||
void init_interrupt(void);
|
||||
void irq_handler(void);
|
||||
|
||||
void enable_interrupt(void);
|
||||
void disable_interrupt(void);
|
||||
|
||||
Reference in New Issue
Block a user