void HAL_Reset(int type)
Entry | |
---|---|
type | Reset type: |
0 = Hard reset and turn the power off (i.e. just turn the power off) | |
1 = Hard reset and leave the power on | |
>1 = Reserved |
Exit | |
---|---|
- | This call does not return |
This resets the board depending on the value in type. Asking HAL_PlatformInfo will tell you if the hardware allows the power to be turned off by software, if it doesn’t then behaviour is per type = 1.
User software must always use SWI OS_Reset instead of calling this entry directly.