Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
stm32_wkup_pins.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 STMicroelectronics
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
12
#ifndef ZEPHYR_INCLUDE_DRIVERS_MISC_STM32_WKUP_PINS_STM32_WKUP_PINS_H_
13
#define ZEPHYR_INCLUDE_DRIVERS_MISC_STM32_WKUP_PINS_STM32_WKUP_PINS_H_
14
15
#include <
zephyr/drivers/gpio.h
>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
28
int
stm32_pwr_wkup_pin_cfg_gpio
(
const
struct
gpio_dt_spec
*gpio);
29
34
void
stm32_pwr_wkup_pin_cfg_pupd
(
void
);
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* ZEPHYR_INCLUDE_DRIVERS_MISC_STM32_WKUP_PINS_STM32_WKUP_PINS_H_ */
gpio.h
Main header file for GPIO driver API.
stm32_pwr_wkup_pin_cfg_pupd
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 P...
stm32_pwr_wkup_pin_cfg_gpio
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_dt_spec
Container for GPIO pin information specified in devicetree.
Definition
gpio.h:296
zephyr
drivers
misc
stm32_wkup_pins
stm32_wkup_pins.h
Generated on
for Zephyr API by
1.17.0