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
38 lines
522 B
/**
|
|
* @file iflytop_no_os.h
|
|
* @author zhaohe (h_zhaohe@163.com)
|
|
* @brief
|
|
* @version 0.1
|
|
* @date 2023-07-11
|
|
*
|
|
* @copyright Copyright (c) 2023
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
|
|
#include "marco.h"
|
|
//
|
|
#include "chip.h"
|
|
//
|
|
#include "delay.h"
|
|
//
|
|
#include "log.h"
|
|
//
|
|
typedef struct {
|
|
TIM_HandleTypeDef *delayhtim;
|
|
UART_HandleTypeDef *debuguart;
|
|
|
|
} iflytop_no_os_cfg_t;
|
|
|
|
void iflytop_no_os_init(iflytop_no_os_cfg_t *os);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|