1 #ifndef __HAL_INTC_H 2 #define __HAL_INTC_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #include <stdint.h> 9 #include <intc/intc.h> 10 #include <intc/platform-intc.h> 11 12 /* INTC HAL API return status */ 13 typedef enum { 14 HAL_INTC_STATUS_OK = 0, 15 HAL_INTC_STATUS_FAIL = -1, 16 } hal_intc_status_t; 17 18 19 hal_intc_status_t hal_intc_init(uint32_t irq_no); 20 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* __HAL_INTC_H */ 27