gpio_test.h 357 B

1234567891011121314
  1. #pragma once
  2. #include <gui/view.h>
  3. typedef struct GpioTest GpioTest;
  4. typedef void (*GpioTestOkCallback)(InputType type, void* context);
  5. GpioTest* gpio_test_alloc();
  6. void gpio_test_free(GpioTest* gpio_test);
  7. View* gpio_test_get_view(GpioTest* gpio_test);
  8. void gpio_test_set_ok_callback(GpioTest* gpio_test, GpioTestOkCallback callback, void* context);