|
PebbleOS v4.47.0-888-g9fa910d13
|
Wakeup pins of the STM32H7 PWR, which wake the SoC from power-off. More...
Functions | |
| int | pbl_soc_stm32h7_wakeup_pin_set (uintptr_t port, uint32_t pin, bool on) |
| Let a GPIO line on a wakeup pin wake the SoC from power-off. | |
Wakeup pins of the STM32H7 PWR, which wake the SoC from power-off.
| int pbl_soc_stm32h7_wakeup_pin_set | ( | uintptr_t | port, |
| uint32_t | pin, | ||
| bool | on | ||
| ) |
Let a GPIO line on a wakeup pin wake the SoC from power-off.
At power-off, the pin wakes on the edge away from the level it is at, with the pull of its line.
| port | Registers of the GPIO port. |
| pin | Pin of the port. |
| on | Whether the line wakes the SoC. |
| 0 | On success. |
| -ENOTSUP | The line is not on a wakeup pin. |