µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
reset-hardware.c File Reference
#include <cmsis-plus/diag/trace.h>
#include <cmsis_device.h>

Go to the source code of this file.

Functions

void __reset_hardware (void)
 

Function Documentation

◆ __reset_hardware()

void __reset_hardware ( void  )

Definition at line 50 of file reset-hardware.c.

51{
52#if defined(DEBUG) || defined(OS_DISABLE_RESET_HARDWARE)
53 trace_printf ("__reset_hardware()");
54 while (1)
55 __WFI ();
56#else
57 NVIC_SystemReset ();
58 __builtin_unreachable ();
59#endif
60}
int trace_printf(const char *format,...)

References trace_printf().