XFusion API v1.3.0
载入中...
搜索中...
未找到
ex_init.h
浏览该文件的文档.
1
12#ifndef __EX_INIT_H__
13#define __EX_INIT_H__
14
15/* ==================== [Includes] ========================================== */
16
17#include "xf_utils.h"
18#include "xf_osal.h"
19#include "xf_hal.h"
20#include "xf_sys.h"
21#include "xf_ymodem.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* ==================== [Defines] =========================================== */
28
29#define MD5_MAX_LEN 16
30#define UART_NUM CONFIG_XF_YMODEM_EXAMPLE_UART_NUM
31#define UART_BAUDRATE CONFIG_XF_YMODEM_EXAMPLE_UART_BAUDRATE
32#define UART_TX_PIN CONFIG_XF_YMODEM_EXAMPLE_UART_TX_PIN
33#define UART_RX_PIN CONFIG_XF_YMODEM_EXAMPLE_UART_RX_PIN
34
35/* ==================== [Typedefs] ========================================== */
36
37/* ==================== [Global Prototypes] ================================= */
38
39void ex_init_xf_ymodem(void);
40xf_ymodem_t *ex_get_xf_ymodem(void);
41
42/* ==================== [Macros] ============================================ */
43
44#ifdef __cplusplus
45} /* extern "C" */
46#endif
47
48#endif /* __EX_INIT_H__ */
void ex_init_xf_ymodem(void)
xf_ymodem_t * ex_get_xf_ymodem(void)