12345678910111213141516171819202122232425262728 |
-
- #pragma once
- typedef struct {
- int gpio;
- int active;
- } monitor_gpio_t;
- extern void (*jack_handler_svc)(bool inserted);
- extern bool jack_inserted_svc(void);
- extern void (*spkfault_handler_svc)(bool inserted);
- extern bool spkfault_svc(void);
- extern float battery_value_svc(void);
- extern uint16_t battery_level_svc(void);
- extern monitor_gpio_t * get_spkfault_gpio();
- extern monitor_gpio_t * get_jack_insertion_gpio();
|