void Error_Handler(void)
Default error handler called by HAL on unrecoverable errors. Disables interrupts and enters an infini...
modeDevice_t
Device power/sleep mode selector.
void writeLog(const char *format,...)
Format and send a log message over UART (printf-style). Available only when WRITELOG is defined; comp...
void SystemClock_Config(void)
Re-configure all system clocks after waking from STOP or OFF mode. Called automatically during the st...
void writeLogVA(const char *format, va_list argList)
Format and send a log message using a va_list argument list. Used internally by writeLog(); can also ...
void setModeDevice(modeDevice_t mod)
set new device mode
void togle_LedOff(int off)
togle led
void writeLogNL(const char *buf)
Send a pre-formatted C string to the UART log followed by a newline.