MU Library
printf.hpp
Go to the documentation of this file.
1 // SPDX-License-Identifier: Apache-2.0
2 // Copyright 2024 XCENA Inc.
3 
4 #pragma once
5 
6 namespace mu
7 {
8 
19 int uartPrintf(const char* format, ...);
20 
31 int hostPrintf(const char* format, ...);
32 
33 } // namespace mu
34 
44 int printf_(const char* format, ...);
45 
57 int sprintf_(char* buffer, const char* format, ...);
Definition: assert.hpp:9
int hostPrintf(const char *format,...)
Print a formatted string to the host.
int uartPrintf(const char *format,...)
Print a formatted string to UART.
int printf_(const char *format,...)
Print a formatted string to UART (same as mu::uartPrintf).
int sprintf_(char *buffer, const char *format,...)
Print a formatted string to a buffer.