Skip to content

Commit 6f7460d

Browse files
committed
Add description of system_reset to power management page
1 parent 40490e5 commit 6f7460d

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
@@ -56,6 +56,16 @@ void main()
5656
}
5757
```
5858

59+
### System reset
60+
61+
Mbed OS provides a standardized call to power cycle the system:
62+
63+
```c++
64+
void system_reset();
65+
```
66+
67+
After the call the processor and most components will reset, but it will not affect the debug subsystem.
68+
5969
### Function reference
6070

6171
[![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)