5void libxr_fatal_error(
const char *file, uint32_t line,
bool in_isr)
7 volatile bool stop =
false;
12 *(
volatile int *)0 = 0;
static Callback libxr_fatal_error_callback_
已注册的致命错误回调函数。 Registered fatal error callback.
void Run(bool in_isr, PassArgs &&...args) const
执行回调函数,并传递参数。 Executes the callback function, passing the arguments.
static int Printf(const char *fmt,...)
Prints a formatted string to the write port (like printf).
static WritePort * write_
Write port instance. 写入端口。
static void Sleep(uint32_t milliseconds)
让线程进入休眠状态 Puts the thread to sleep