int mfd_axp192_gpio_func_get(const struct device *dev, uint8_t gpio, enum axp192_gpio_func *func)
Read out current configuration of a specific GPIO pin.
int mfd_axp192_gpio_func_ctrl(const struct device *dev, const struct device *client_dev, uint8_t gpio, enum axp192_gpio_func func)
Request a GPIO pin to be configured to a specific function.
int mfd_axp192_gpio_pd_ctrl(const struct device *dev, uint8_t gpio, bool enable)
Enable pull-down on specified GPIO pin.
int mfd_axp192_gpio_pd_get(const struct device *dev, uint8_t gpio, bool *enabled)
Read out the current pull-down configuration of a specific GPIO.
static void func(void *arg1, void *arg2, void *arg3)
Definition main.c:26