 638f276308
			
		
	
	
		638f276308
		
			
		
	
	
	
	
		
			
			* gpio: rename gpio application * bq25896: add reading OTG config * furi-hal-power: add is_otg_enabled API * gpio: introduce new GPIO app, add OTG enable / disable * variable-item-list: add enter callback * gpio: add output test view and scene * gpio app: fix GpioItemTester -> GpioItemTest Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			357 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			357 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <gui/view.h>
 | |
| 
 | |
| typedef struct GpioTest GpioTest;
 | |
| typedef void (*GpioTestOkCallback)(InputType type, void* context);
 | |
| 
 | |
| GpioTest* gpio_test_alloc();
 | |
| 
 | |
| void gpio_test_free(GpioTest* gpio_test);
 | |
| 
 | |
| View* gpio_test_get_view(GpioTest* gpio_test);
 | |
| 
 | |
| void gpio_test_set_ok_callback(GpioTest* gpio_test, GpioTestOkCallback callback, void* context);
 |