print.h 425 B

123456789101112131415161718192021
  1. #ifndef __LIB_KERNEL_PRINT_H
  2. #define __LIB_KERNEL_PRINT_H
  3. #include "stdint.h"
  4. /**
  5. * @brief 打印字符
  6. * @note 打印 ascii characters
  7. * @param char_ascii: ascii string
  8. * @retval None
  9. */
  10. void put_char(uint8_t char_ascii);
  11. /**
  12. * @brief 打印字符串
  13. * @note 调用 put_char 打印字符串
  14. * @param *message: 字符串地址
  15. * @retval None
  16. */
  17. void put_str(char *message);
  18. #endif // __LIB_KERNEL_PRINT_H