input.h 302 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __INPUT_H
  2. #define __INPUT_H
  3. #include "io.h"
  4. extern din_t inputs[];
  5. //
  6. void in_init(din_t *input);
  7. //
  8. void in_exint_init(void);
  9. //
  10. void in_set(void);
  11. //
  12. void io_test(void);
  13. //
  14. void input_task(void *params);
  15. //
  16. void debounce(void);
  17. #endif // __INPUT_H