1
0
forked from fsfw/fsfw

bin printer added

This commit is contained in:
2020-05-19 23:08:17 +02:00
parent e2e6ec28c0
commit 6961b5e866
2 changed files with 17 additions and 2 deletions

View File

@ -7,13 +7,15 @@ namespace printer {
enum class OutputType {
DEC,
HEX
HEX,
BIN
};
void print(const uint8_t* data, size_t size, OutputType type = OutputType::HEX,
bool printInfo = true, size_t maxCharPerLine = 12);
void printHex(const uint8_t* data, size_t size, size_t maxCharPerLine = 12);
void printDec(const uint8_t* data, size_t size, size_t maxCharPerLine = 12);
void printBin(const uint8_t* data, size_t size);
}
#endif /* FRAMEWORK_GLOBALFUNCTIONS_PRINTER_H_ */