{"id":46400,"date":"2023-09-28T08:59:12","date_gmt":"2023-09-28T00:59:12","guid":{"rendered":"\/\/www.dealsbon.com\/?p=46400"},"modified":"2023-09-28T08:59:12","modified_gmt":"2023-09-28T00:59:12","slug":"uzmji","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/46400.html","title":{"rendered":"UART\u600e\u4e48\u63a5IIC"},"content":{"rendered":"
UART\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u5168\u901f\u65e0\u7ebf\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ee5\u5f02\u6b65\u65b9\u5f0f\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUART\u5982\u4f55\u63a5IIC\uff08Inter-Integrated Circuit\uff09\uff0c\u4ee5\u53ca\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u5b83\u4eec\u3002<\/p>\n
UART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u662f\u4e00\u79cd\u4e32\u884c\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ee5\u5f02\u6b65\u65b9\u5f0f\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002UART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u901a\u5e38\u7531\u4e24\u79cd\u4e0d\u540c\u7684\u7ebf\u7f06\u7ec4\u6210\uff1a\u4e00\u79cd\u662fUART\u7684RX\u548cTX\u7ebf\uff0c\u53e6\u4e00\u79cd\u662fIIC\u7684SDA\u548cSCL\u7ebf\u3002UART\u7684RX\u548cTX\u7ebf\u7528\u4e8e\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\uff0c\u800cIIC\u7684SDA\u548cSCL\u7ebf\u7528\u4e8e\u5728UART\u548cIIC\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002<\/p>\n
\u4f7f\u7528UART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u65f6\uff0c\u9700\u8981\u5148\u786e\u4fddUART\u548cIIC\u4e4b\u95f4\u7684\u7ebf\u7f06\u63a5\u53e3\u6b63\u786e\u8fde\u63a5\u3002\u786e\u4fddUART\u7684RX\u548cTX\u7ebf\u6b63\u786e\u63a5\u5165IIC\u7684SDA\u548cSCL\u7ebf\uff0c\u4ee5\u786e\u4fddUART\u548cIIC\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u6b63\u5e38\u3002<\/p>\n
UART\u7684RX\u548cTX\u7ebf\u662fUART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u5b83\u4eec\u5206\u522b\u7528\u4e8e\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\u3002RX\u7ebf\u7528\u4e8e\u63a5\u6536\u6570\u636e\uff0c\u800cTX\u7ebf\u7528\u4e8e\u53d1\u9001\u6570\u636e\u3002\u5982\u679cRX\u548cTX\u7ebf\u6ca1\u6709\u6b63\u786e\u63a5\u5165IIC\u7684SDA\u548cSCL\u7ebf\uff0c\u5219UART\u548cIIC\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u53ef\u80fd\u4f1a\u53d7\u5230\u5f71\u54cd\u3002<\/p>\n
IIC\u7684SDA\u548cSCL\u7ebf\u662fUART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u5b83\u4eec\u5206\u522b\u7528\u4e8e\u5728UART\u548cIIC\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002SDA\u7ebf\u7528\u4e8e\u4f20\u8f93\u6570\u636e\uff0c\u800cSCL\u7ebf\u7528\u4e8e\u540c\u6b65\u6570\u636e\u3002\u5982\u679cSDA\u548cSCL\u7ebf\u6ca1\u6709\u6b63\u786e\u63a5\u5165UART\u7684RX\u548cTX\u7ebf\uff0c\u5219UART\u548cIIC\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u53ef\u80fd\u4f1a\u53d7\u5230\u5f71\u54cd\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86UART\u5982\u4f55\u63a5IIC\uff0c\u4ee5\u53ca\u5982\u4f55\u6b63\u786e\u4f7f\u7528\u5b83\u4eec\u3002<\/strong>UART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u662f\u4e00\u79cd\u4e32\u884c\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ee5\u5f02\u6b65\u65b9\u5f0f\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002UART\u7684RX\u548cTX\u7ebf\u7528\u4e8e\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\uff0c\u800cIIC\u7684SDA\u548cSCL\u7ebf\u7528\u4e8e\u5728UART\u548cIIC\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002\u4f7f\u7528UART\u548cIIC\u4e4b\u95f4\u7684\u63a5\u53e3\u65f6\uff0c\u9700\u8981\u5148\u786e\u4fddUART\u548cIIC\u4e4b\u95f4\u7684\u7ebf\u7f06\u63a5\u53e3\u6b63\u786e\u8fde\u63a5\uff0c\u4ee5\u786e\u4fddUART\u548cIIC\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u6b63\u5e38\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u5168\u901f\u65e0\u7ebf\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ee5\u5f02\u6b65\u65b9\u5f0f\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[153],"class_list":["post-46400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-iic"],"_links":{"self":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/46400"}],"collection":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/comments?post=46400"}],"version-history":[{"count":0,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/46400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media?parent=46400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=46400"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=46400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}