MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / Ft_printf

Function Ft_printf

bsp/ft2004/libraries/bsp/standlone/ft_printf.c:30–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void Ft_printf(const char *fmt, ...)
31{
32 va_list args;
33 size_t i;
34 size_t length;
35#ifdef NEED_CLOSE_ISR
36 IRQ_DISABLE();
37#endif
38 va_start(args, fmt);
39
40 length = Vsprintf_pFun(print_buffer, fmt, args);
41 va_end(args);
42 for (i = 0; i < length; i++)
43 {
44 outbyte(print_buffer[i]);
45 }
46
47#ifdef NEED_CLOSE_ISR
48 IRQ_ENABLE();
49#endif
50}
51
52char *Ft_itoa(int num, char *str, int radix)
53{

Callers 12

dump_hexFunction · 0.85
Ft_GenericTimer_DebugFunction · 0.85
Ft_DumpHexByteFunction · 0.85
Ft_DumpHexWordFunction · 0.85
Ft_setSpiMuxFunction · 0.85
FCan_SendByIrqFunction · 0.85
Ft_Gmac_Phy_DebugFunction · 0.85
FGmac_ErrorCheckFunction · 0.85
FGmac_IntrHandlerFunction · 0.85
FGmac_DMATxDescChainInitFunction · 0.85
AssertCallbackFunction · 0.85
rt_hw_board_initFunction · 0.85

Calls 1

outbyteFunction · 0.85

Tested by

no test coverage detected