{"id":41725,"date":"2023-10-03T23:09:31","date_gmt":"2023-10-03T15:09:31","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41725"},"modified":"2023-10-03T23:09:31","modified_gmt":"2023-10-03T15:09:31","slug":"ubtlycspldgx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41725.html","title":{"rendered":"UART\u6ce2\u7279\u7387\u4e0e\u4f20\u8f93\u9891\u7387\u7684\u5173\u7cfb"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u53cc\u5411\u6570\u636e\u4f20\u8f93\u3002UART\u6ce2\u7279\u7387\u548c\u4f20\u8f93\u9891\u7387\u662fUART\u901a\u4fe1\u8fc7\u7a0b\u4e2d\u7684\u4e24\u4e2a\u91cd\u8981\u53c2\u6570\uff0c\u5b83\u4eec\u4e4b\u95f4\u5b58\u5728\u4e00\u5b9a\u7684\u5173\u7cfb\u3002\u672c\u6587\u5c06\u8ba8\u8bbaUART\u6ce2\u7279\u7387\u548c\u4f20\u8f93\u9891\u7387\u7684\u5173\u7cfb\uff0c\u4ee5\u53ca\u5982\u4f55\u6b63\u786e\u8bbe\u5b9a\u5b83\u4eec\u7684\u53c2\u6570\u3002<\/p>\n

UART\u6ce2\u7279\u7387<\/h2>\n

  UART\u6ce2\u7279\u7387\u662f\u6307UART\u8bbe\u5907\u5728\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u65f6\u4f7f\u7528\u7684\u4f20\u8f93\u901f\u7387\uff0c\u5b83\u662f\u4ee5\u6bd4\u7279\u6bcf\u79d2\uff08bps\uff09\u4e3a\u5355\u4f4d\u7684\uff0c\u5373\u6bcf\u79d2\u4f20\u8f93\u7684\u6bd4\u7279\u6570\u3002UART\u6ce2\u7279\u7387\u7684\u5927\u5c0f\u53d6\u51b3\u4e8eUART\u8bbe\u5907\u7684\u8f6f\u4ef6\u548c\u786c\u4ef6\u914d\u7f6e\uff0c\u901a\u5e38\u53ef\u4ee5\u4ece1200bps\u5230921600bps\u4e0d\u7b49\u3002<\/p>\n

\u4f20\u8f93\u9891\u7387<\/h2>\n

  \u4f20\u8f93\u9891\u7387\u662f\u6307UART\u8bbe\u5907\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u7684\u9891\u7387\uff0c\u5b83\u662f\u4ee5\u6bd4\u7279\u6bcf\u79d2\uff08bps\uff09\u4e3a\u5355\u4f4d\u7684\uff0c\u5373\u6bcf\u79d2\u4f20\u8f93\u7684\u6bd4\u7279\u6570\u3002\u4f20\u8f93\u9891\u7387\u7684\u5927\u5c0f\u53d6\u51b3\u4e8eUART\u8bbe\u5907\u7684\u8f6f\u4ef6\u548c\u786c\u4ef6\u914d\u7f6e\uff0c\u901a\u5e38\u53ef\u4ee5\u4ece1200bps\u5230921600bps\u4e0d\u7b49\u3002<\/p>\n

UART\u6ce2\u7279\u7387\u4e0e\u4f20\u8f93\u9891\u7387\u7684\u5173\u7cfb<\/h2>\n

  UART\u6ce2\u7279\u7387\u548c\u4f20\u8f93\u9891\u7387\u4e4b\u95f4\u5b58\u5728\u4e00\u5b9a\u7684\u5173\u7cfb\uff0c\u4f46\u5b83\u4eec\u4e4b\u95f4\u7684\u5173\u7cfb\u5e76\u4e0d\u5b8c\u5168\u4e00\u81f4\u3002UART\u6ce2\u7279\u7387\u662fUART\u8bbe\u5907\u5728\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u65f6\u4f7f\u7528\u7684\u4f20\u8f93\u901f\u7387\uff0c\u800c\u4f20\u8f93\u9891\u7387\u5219\u662f\u6307UART\u8bbe\u5907\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u7684\u9891\u7387\u3002<\/p>\n

  UART\u6ce2\u7279\u7387\u548c\u4f20\u8f93\u9891\u7387\u4e4b\u95f4\u7684\u5173\u7cfb\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u516c\u5f0f\u6765\u8868\u793a\uff1a<\/p>\n

  \u4f20\u8f93\u9891\u7387 = UART\u6ce2\u7279\u7387 \u00f7 8<\/p>\n

  \u7531\u4e8eUART\u8bbe\u5907\u6bcf\u6b21\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u90fd\u9700\u89818\u4e2a\u6bd4\u7279\uff0c\u56e0\u6b64\u4f20\u8f93\u9891\u7387\u8981\u6bd4UART\u6ce2\u7279\u7387\u4f4e8\u500d\u3002<\/p>\n

\u5982\u4f55\u6b63\u786e\u8bbe\u5b9aUART\u6ce2\u7279\u7387\u548c\u4f20\u8f93\u9891\u7387\u7684\u53c2\u6570<\/h2>\n

  \u8bbe\u7f6eUART\u6ce2\u7279\u7387<\/h3>\n

  \u8bbe\u7f6eUART\u6ce2\u7279\u7387\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n