hal_intc.h 396 B

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