Skip to content

Commit 715fe0a

Browse files
committed
Add description of system_reset to power management page
1 parent 629f1b5 commit 715fe0a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/reference/api/platform/PowerManagement.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ These Mbed OS drivers can lock the deep sleep:
4444

4545
[![View code](https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/SleepManager_Example_1/)](https://os.mbed.com/teams/mbed_example/code/SleepManager_Example_1/file/e85412b4147e/main.cpp)
4646

47+
### System reset
48+
49+
Mbed OS provides a standardized call to power cycle the system:
50+
51+
```c++
52+
void system_reset();
53+
```
54+
55+
After the call the processor and most components will reset, but it will not affect the debug subsystem.
56+
4757
### Function reference
4858

4959
[![View code](https://www.mbed.com/embed/?type=library)](https://os-doc-builder.test.mbed.com/docs/development/mbed-os-api-doxy/group__platform__power__mgmt.html)

0 commit comments

Comments
 (0)