1.5.2.4.3 SRV_RESET_HANDLER_RestartSytem Function
C
void SRV_RESET_HANDLER_RestartSystem(SRV_RESET_HANDLER_RESET_CAUSE resetType);
Summary
Trigger a system restart.
Description
This routine triggers a system restart. It can be invoked by the PRIME stack as well as by the application.
Precondition
The SRV_RESET_HANDLER_Initialize routine must have been called before.
Parameters
Param | Description |
---|---|
resetType | Type of reset |
Returns
None.
Example
int main()
{
SRV_RESET_HANDLER_RestartSystem(RESET_HANDLER_SOFTWARE_RESET);
}
Remarks
None.