資源簡介
基于HAL庫的485串口配置,收發均使用DMA,解放CPU。通過xmodem實現數據包的發送和接收,數據長度可自定義。
代碼片段和文件信息
/**
??******************************************************************************
??*?@file???????????:?main.c
??*?@brief??????????:?Main?program?body
??******************************************************************************
??**?This?notice?applies?to?any?and?all?portions?of?this?file
??*?that?are?not?between?comment?pairs?USER?CODE?BEGIN?and
??*?USER?CODE?END.?Other?portions?of?this?file?whether?
??*?inserted?by?the?user?or?by?software?development?tools
??*?are?owned?by?their?respective?copyright?owners.
??*
??*?COPYRIGHT(c)?2018?STMicroelectronics
??*
??*?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
??*?are?permitted?provided?that?the?following?conditions?are?met:
??*???1.?Redistributions?of?source?code?must?retain?the?abov
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????588??2018-12-05?21:40??uart.h
?????文件???????8101??2018-12-06?10:49??xmodem.c
?????文件???????3919??2018-12-06?10:55??main.c
?????文件???????2963??2018-12-06?10:48??xmodem.h
?????文件???????3729??2018-12-06?11:16??uart.c
-----------?---------??----------?-----??----
????????????????19300????????????????????5
- 上一篇:基于labview的環境溫度采集系統
- 下一篇:機票預訂系統需求分析
評論
共有 條評論