exti_workaround.h 416 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: BSD-2-Clause
  2. // Copyright (c) 2023 KBEmbedded
  3. #ifndef __EXTI_WORKAROUND_H__
  4. #define __EXTI_WORKAROUND_H__
  5. #include <furi.h>
  6. #include <furi_hal.h>
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. void *exti_workaround(const GpioPin *clk, void (*isr_callback)(void *context), void *context);
  11. void exti_workaround_undo(void *handle);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif // __EXTI_WORKAROUND_H__