Download firmware/hal/interrupt.h from Snapkitty/phaser-ags: direct link, hf CLI and curl.
- Browser
- Download file 783 Bytes
-
https://huggingface.co/Snapkitty/phaser-ags/resolve/main/firmware/hal/interrupt.h
- Command line
-
hf download hf://Snapkitty/phaser-ags/firmware/hal/interrupt.h
-
curl -L -o interrupt.h https://huggingface.co/Snapkitty/phaser-ags/resolve/main/firmware/hal/interrupt.h
783 Bytes
| /* | |
| * HAL — Interrupt Controller driver for OMAP3530 AINTC | |
| * 96 interrupt lines, mapped to ARM IRQ/FIQ | |
| */ | |
| typedef void (*irq_handler_t)(uint8_t irq_num); | |
| void intc_init(void); | |
| void intc_enable_irq(uint8_t irq_num); | |
| void intc_disable_irq(uint8_t irq_num); | |
| void intc_set_irq_handler(uint8_t irq_num, irq_handler_t handler); | |
| uint8_t intc_get_active_irq(void); | |
| void intc_ack_irq(void); | |
| void intc_enable(void); | |
| void intc_disable(void); | |
| /* Called from ARM IRQ exception handler */ | |
| void intc_handle_irq(void); | |