void HAL_RunMain(void)
Runs the main function provided to HAL_SetMain().
void HAL_SetMain(void *param, void(*mainFunc)(void *), void(*exitFunc)(void *))
Sets up the system to run the provided main loop in the main thread (e.g.
HAL_Bool HAL_HasMain(void)
Returns true if HAL_SetMain() has been called.
void HAL_ExitMain(void)
Causes HAL_RunMain() to exit.