Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Public APIs for STM32 PWR wake-up pins configuration. More...
#include <zephyr/drivers/gpio.h>
Go to the source code of this file.
Functions | |
int | stm32_pwr_wkup_pin_cfg_gpio (const struct gpio_dt_spec *gpio) |
Configure a GPIO pin as a source for STM32 PWR wake-up pins. | |
void | stm32_pwr_wkup_pin_cfg_pupd (void) |
Enable or Disable pull-up and pull-down configuration for GPIO Ports that are associated with STM32 PWR wake-up pins. | |
Public APIs for STM32 PWR wake-up pins configuration.
int stm32_pwr_wkup_pin_cfg_gpio | ( | const struct gpio_dt_spec * | gpio | ) |
Configure a GPIO pin as a source for STM32 PWR wake-up pins.
gpio | Container for GPIO pin information specified in devicetree |
void stm32_pwr_wkup_pin_cfg_pupd | ( | void | ) |
Enable or Disable pull-up and pull-down configuration for GPIO Ports that are associated with STM32 PWR wake-up pins.