arm/Core/Inc/retarget.h

26 lines
497 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
******************************************************************************
* @file retarget.h
* @brief Printf 重定向头文件
******************************************************************************
*/
#ifndef __RETARGET_H
#define __RETARGET_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief 初始化 ITM用于 SWO/printf 输出)
* @note 必须在使用 printf 之前调用
*/
void ITM_Init(void);
#ifdef __cplusplus
}
#endif
#endif /* __RETARGET_H */