1 Star 2 Fork 2

Yuki Kurosawa / ohos-iot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
common.h 626 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
Yuki Kurosawa 提交于 2021-01-09 13:57 . Add UART Hex Test Code
//Standard C Library
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "malloc.h"
//OHOS Library
#include "ohos_init.h"
#include "cmsis_os2.h"
#include "wifiiot_errno.h"
#include "wifiiot_gpio.h"
#include "wifiiot_gpio_ex.h"
#include "wifiiot_adc.h"
#include "wifiiot_uart.h"
//Common Include
#define UART_TASK_STACK_SIZE 1024 * 8
#define UART_TASK_PRIO 25
#define UART_BUFF_SIZE 1000
#define UART_PORT WIFI_IOT_UART_IDX_0
//Common Function
unsigned int InitUART(const int baudRate, const WifiIotUartExtraAttr *extraAttr);
void PrintfUART(char* str);
unsigned char* ScanfUART(void);
C++
1
https://gitee.com/YukiKurosawa/ohos-iot.git
git@gitee.com:YukiKurosawa/ohos-iot.git
YukiKurosawa
ohos-iot
ohos-iot
master

搜索帮助