mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 04:27:12 +03:00
add pc(a/f)85xx (untested) and write mode
Still no mutex
This commit is contained in:
@@ -43,7 +43,10 @@ struct gpio_exp_s* gpio_exp_expander(int gpio);
|
||||
/* For all functions below when <expander> is provided, GPIO's can be numbered from 0. If <expander>
|
||||
is NULL, then GPIO must start from base */
|
||||
struct gpio_exp_s* gpio_exp_set_direction(int gpio, gpio_mode_t mode, struct gpio_exp_s *expander);
|
||||
void gpio_exp_set_pull_mode(int gpio, gpio_pull_mode_t mode, struct gpio_exp_s *expander);
|
||||
int gpio_exp_get_level(int gpio, uint32_t age, struct gpio_exp_s *expander);
|
||||
void gpio_exp_set_level(int gpio, int level, struct gpio_exp_s *expander);
|
||||
|
||||
/* This can be called to enumerate modified GPIO since last read. Note that <enumerator>
|
||||
can be NULL to initialize all GPIOs */
|
||||
void gpio_exp_enumerate(gpio_exp_enumerator enumerator, struct gpio_exp_s *expander);
|
||||
|
||||
Reference in New Issue
Block a user