Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
log.h
00001 #include <stdarg.h> 00002 #include <time.h> 00003 #include <stdbool.h> 00004 #include <stdint.h> 00005 00006 extern bool LogUart; 00007 extern void LogInit(void (*tmFunction)(struct tm* ptm), int baud); //Set baud to 0 if no serial 00008 extern void LogMain(void); 00009 00010 extern void LogClear(void); 00011 00012 extern void LogChar(const char c); 00013 extern int Log(const char* snd); 00014 extern int LogV(const char *fmt, va_list argptr); 00015 extern int LogF(const char *fmt, ...); 00016 extern int LogTime(const char *snd); 00017 extern int LogTimeF(const char *fmt, ...); 00018 00019 extern void LogEnumerateStart(void); 00020 extern int LogEnumerate(void); 00021 extern void LogEnable(bool value); 00022 00023 extern void LogNibbleAsHex(int nibble); 00024 extern void LogByteAsHex(int value); 00025 extern void LogBytesAsHex(const uint8_t* bytes, int size);
Generated on Sat Jul 16 2022 01:31:25 by
1.7.2