esp_intr_alloc.h 635 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /**
  7. * NOTE: this is not the original header file from the esp_hw_support component.
  8. * It is a stripped-down copy to support mocking.
  9. */
  10. #pragma once
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. /** Function prototype for interrupt handler function */
  15. typedef void (*intr_handler_t)(void *arg);
  16. /** Interrupt handler associated data structure */
  17. typedef struct intr_handle_data_t intr_handle_data_t;
  18. /** Handle to an interrupt handler */
  19. typedef intr_handle_data_t *intr_handle_t ;
  20. #ifdef __cplusplus
  21. }
  22. #endif