{"id":77457,"date":"2024-01-13T22:27:21","date_gmt":"2024-01-13T14:27:21","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=77457"},"modified":"2024-01-13T22:27:21","modified_gmt":"2024-01-13T14:27:21","slug":"ucktxsyxd","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/77457.html","title":{"rendered":"UART\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u5fc3\u5f97"},"content":{"rendered":"
UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u4e32\u53e3\u901a\u4fe1\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u3001\u5355\u7247\u673a<\/a>\u7b49\u9886\u57df\u3002\u4e0b\u9762\u5c06\u5206\u4eab\u4e00\u4e9b\u5173\u4e8eUART\u4e32\u53e3\u901a\u4fe1\u7684\u5b9e\u9a8c\u5fc3\u5f97\u548c\u5e94\u7528\u6280\u5de7\u3002<\/p>\n \u5728\u8fdb\u884cUART\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u9700\u8981\u4e86\u89e3\u4e32\u53e3\u901a\u4fe1\u7684\u57fa\u672c\u539f\u7406\u3002UART\u4e32\u53e3\u901a\u4fe1\u4f7f\u7528\u4e24\u6839\u6570\u636e\u7ebf\uff08TX\u548cRX\uff09\u8fdb\u884c\u53cc\u5411\u901a\u4fe1\uff0c\u901a\u8fc7\u6ce2\u7279\u7387\uff08Baud Rate\uff09\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7b49\u53c2\u6570\u6765\u914d\u7f6e\u901a\u4fe1\u683c\u5f0f\u3002\u6b64\u5916\uff0c\u4e32\u53e3\u901a\u4fe1\u8fd8\u6d89\u53ca\u5230\u6570\u636e\u5e27\u7684\u53d1\u9001\u548c\u63a5\u6536\uff0c\u4ee5\u53ca\u6570\u636e\u7f13\u51b2\u533a\u7684\u5904\u7406\u7b49\u65b9\u9762\u3002<\/p>\n \u5728\u5b9e\u9a8c\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u6ce2\u7279\u7387\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u8f83\u4f4e\u7684\u6ce2\u7279\u7387\uff08\u59829600bps\uff09\u9002\u7528\u4e8e\u8fdc\u8ddd\u79bb\u901a\u4fe1\uff0c\u800c\u8f83\u9ad8\u7684\u6ce2\u7279\u7387\uff08\u5982115200bps\uff09\u9002\u7528\u4e8e\u77ed\u8ddd\u79bb\u9ad8\u901f\u901a\u4fe1\u3002<\/p>\n \u6570\u636e\u5e27\u683c\u5f0f\u5305\u62ec\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u548c\u6821\u9a8c\u4f4d\u7684\u8bbe\u7f6e\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u9009\u62e98\u4f4d\u6570\u636e\u4f4d\u30011\u4f4d\u505c\u6b62\u4f4d\u548c\u65e0\u6821\u9a8c\u4f4d\u7684\u914d\u7f6e\uff0c\u8fd9\u662fUART<\/a>\u901a\u4fe1\u4e2d\u6700\u5e38\u89c1\u7684\u8bbe\u7f6e\u3002<\/p>\n \u5728\u8fdb\u884c\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u5173\u952e\u70b9\uff0c\u5305\u62ec\u8f6f\u786c\u4ef6\u5e73\u53f0\u9009\u62e9\u3001\u901a\u4fe1\u7a33\u5b9a\u6027\u3001\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u3002<\/p>\n\u4e32\u53e3\u901a\u4fe1\u539f\u7406\u4ecb\u7ecd<\/h2>\n
\u6ce2\u7279\u7387\u7684\u9009\u62e9<\/h3>\n
\u6570\u636e\u5e27\u683c\u5f0f\u8bbe\u7f6e<\/h3>\n
\u4e32\u53e3\u901a\u4fe1\u5b9e\u9a8c\u5fc3\u5f97<\/h2>\n
\u9009\u62e9\u5408\u9002\u7684\u5f00\u53d1\u5e73\u53f0<\/h3>\n