Skip to content

Commit c46fc00

Browse files
committed
Add description of system_reset to power management page
1 parent 637105a commit c46fc00

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)](http://os-doc-builder.test.mbed.com/docs/v5.7/mbed-os-api-doxy/mbed__sleep_8h_source.html)

0 commit comments

Comments
 (0)