|
Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Lightweight printf implementation for ARM Cortex-M systems. More...
#include <embedded_printf.hpp>
Static Public Member Functions | |
| static int | vsnprintf (char *buffer, std::size_t size, const char *format, va_list args) |
| Format string with arguments into buffer. | |
| static int | snprintf (char *buffer, std::size_t size, const char *format,...) |
| Format string with arguments into buffer. | |
Lightweight printf implementation for ARM Cortex-M systems.
Supports only essential format specifiers to minimize code size. Perfect for embedded logging where full printf is overkill.
Definition at line 45 of file embedded_printf.hpp.
|
inlinestatic |
Format string with arguments into buffer.
| buffer | Output buffer |
| size | Buffer size |
| format | Format string |
| ... | Variable arguments |
Definition at line 154 of file embedded_printf.hpp.
References vsnprintf().
|
inlinestatic |
Format string with arguments into buffer.
| buffer | Output buffer |
| size | Buffer size |
| format | Format string |
| args | Variable arguments |
Definition at line 56 of file embedded_printf.hpp.
Referenced by sbl::core::util::embedded_snprintf(), sbl::core::util::embedded_vsnprintf(), and snprintf().