Fornax 使用文档
1. AIL
2. AOUT
3. AUDIO_CODEC
4. CACHE
5. CLOCK
6. DMA
7. EFUSE
8. FLASH
9. GPIO
10. I2C
11. I2S
12. IR
13. MMU
14. PMU
15. PSRAM
16. RTC
17. SDM
18. SNPU
19. SPI
20. TIMER
21. UART
22. WATCHDOG
23. MISC
Fornax 使用文档
»
Function gx_uart_write
查看页面源码
Function gx_uart_write
¶
int
gx_uart_write
(
int
port
,
const
unsigned
char
*
buf
,
int
len
)
¶
同步写指定长度的数据 以阻塞的方式写入 len
参数
port
-- 端口
buf
-- 需要写出的数据buf
len
-- 数据长度
返回
int 实际写出数据长度