You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
522 B

2 years ago
  1. /**
  2. * @file iflytop_no_os.h
  3. * @author zhaohe (h_zhaohe@163.com)
  4. * @brief
  5. * @version 0.1
  6. * @date 2023-07-11
  7. *
  8. * @copyright Copyright (c) 2023
  9. *
  10. */
  11. #pragma once
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include <stdbool.h>
  16. #include <stdio.h>
  17. #include "marco.h"
  18. //
  19. #include "chip.h"
  20. //
  21. #include "delay.h"
  22. //
  23. #include "log.h"
  24. //
  25. typedef struct {
  26. TIM_HandleTypeDef *delayhtim;
  27. UART_HandleTypeDef *debuguart;
  28. } iflytop_no_os_cfg_t;
  29. void iflytop_no_os_init(iflytop_no_os_cfg_t *os);
  30. #ifdef __cplusplus
  31. }
  32. #endif