{"id":55926,"date":"2023-10-20T21:24:19","date_gmt":"2023-10-20T13:24:19","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=55926"},"modified":"2023-11-25T00:09:57","modified_gmt":"2023-11-24T16:09:57","slug":"izcgxkyhm","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/55926.html","title":{"rendered":"I2C\u4e3b\u4ece\u5173\u7cfb\u53ef\u4ee5\u6362\u5417\uff1f"},"content":{"rendered":"

  I2C\uff08Inter-Integrated Circuit\uff09\u662f\u4e00\u79cd\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u4e00\u4e2a\u4e3b\u8bbe\u5907\uff08master\uff09\u548c\u591a\u4e2a\u4ece\u8bbe\u5907\uff08slave\uff09\u3002\u4e3b\u4ece\u5173\u7cfb\u662f\u6307\u4e3b\u8bbe\u5907\u63a7\u5236\u4ece\u8bbe\u5907\u7684\u64cd\u4f5c\uff0c\u800c\u4ece\u8bbe\u5907\u53ea\u80fd\u63a5\u53d7\u4e3b\u8bbe\u5907\u7684\u6307\u4ee4\uff0c\u4e0d\u80fd\u4e3b\u52a8\u64cd\u4f5c\u3002\u672c\u6587\u5c06\u8ba8\u8bbaI2C\u4e3b\u4ece\u5173\u7cfb\u662f\u5426\u53ef\u4ee5\u6362\u5417\u3002<\/p>\n

I2C\u4e3b\u4ece\u5173\u7cfb\u7684\u57fa\u672c\u539f\u7406<\/h2>\n

  I2C\u4e3b\u4ece\u5173\u7cfb\u7684\u57fa\u672c\u539f\u7406\u662f\uff0c\u4e3b\u8bbe\u5907\u63a7\u5236\u4ece\u8bbe\u5907\u7684\u64cd\u4f5c\uff0c\u800c\u4ece\u8bbe\u5907\u53ea\u80fd\u63a5\u53d7\u4e3b\u8bbe\u5907\u7684\u6307\u4ee4\uff0c\u4e0d\u80fd\u4e3b\u52a8\u64cd\u4f5c\u3002I2C\u4e3b\u4ece\u5173\u7cfb\u7684\u57fa\u672c\u67b6\u6784\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n

\"I2C\u4e3b\u4ece\u5173\u7cfb\u67b6\u6784\u56fe\"<\/p>\n

  \u4ece\u56fe\u4e2d\u53ef\u4ee5\u770b\u51fa\uff0cI2C\u4e3b\u4ece\u5173\u7cfb\u7684\u57fa\u672c\u67b6\u6784\u662f\uff1a\u4e3b\u8bbe\u5907\u548c\u4ece\u8bbe\u5907\u4e4b\u95f4\u901a\u8fc7SDA\u548cSCL\u4fe1\u53f7\u7ebf\u8fde\u63a5\uff0c\u4e3b\u8bbe\u5907\u53d1\u51fa\u7684\u6307\u4ee4\u5c06\u901a\u8fc7SDA\u7ebf\u4f20\u8f93\u7ed9\u4ece\u8bbe\u5907\uff0c\u4ece\u8bbe\u5907\u63a5\u6536\u5230\u6307\u4ee4\u540e\u5c06\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\uff0c\u5e76\u5c06\u6267\u884c\u7ed3\u679c\u901a\u8fc7SDA\u7ebf\u4f20\u8f93\u7ed9\u4e3b\u8bbe\u5907\u3002<\/p>\n

I2C\u4e3b\u4ece\u5173\u7cfb\u53ef\u4ee5\u6362\u5417\uff1f<\/h2>\n

  I2C\u4e3b\u4ece\u5173\u7cfb\u53ef\u4ee5\u6539\u53d8<\/h3>\n

  I2C\u4e3b\u4ece\u5173\u7cfb\u662f\u53ef\u4ee5\u6539\u53d8\u7684\uff0c\u4e3b\u8bbe\u5907\u53ef\u4ee5\u6539\u53d8\u4ece\u8bbe\u5907\u7684\u64cd\u4f5c\u65b9\u5f0f\uff0c\u4ece\u8bbe\u5907\u4e5f\u53ef\u4ee5\u6539\u53d8\u81ea\u5df1\u7684\u64cd\u4f5c\u65b9\u5f0f\u3002<\/p>\n

  \u6539\u53d8I2C\u4e3b\u4ece\u5173\u7cfb\u7684\u65b9\u6cd5<\/h3>\n

  \u8981\u6539\u53d8I2C\u4e3b\u4ece\u5173\u7cfb\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u4e24\u79cd\u65b9\u6cd5\uff1a<\/p>\n

  1. \u4fee\u6539\u8bbe\u5907\u7684\u8f6f\u4ef6<\/strong><\/p>\n

  \u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u8bbe\u5907\u7684\u8f6f\u4ef6\uff0c\u6765\u6539\u53d8I2C\u4e3b\u4ece\u5173\u7cfb\u3002\u4e3b\u8bbe\u5907\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u81ea\u5df1\u7684\u8f6f\u4ef6\uff0c\u6765\u6539\u53d8\u4ece\u8bbe\u5907\u7684\u64cd\u4f5c\u65b9\u5f0f\uff1b\u4ece\u8bbe\u5907\u4e5f\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u81ea\u5df1\u7684\u8f6f\u4ef6\uff0c\u6765\u6539\u53d8\u81ea\u5df1\u7684\u64cd\u4f5c\u65b9\u5f0f\u3002<\/p>\n

  2. \u4fee\u6539\u8bbe\u5907\u7684\u786c\u4ef6<\/strong><\/p>\n

  \u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u8bbe\u5907\u7684\u786c\u4ef6\uff0c\u6765\u6539\u53d8I2C\u4e3b\u4ece\u5173\u7cfb\u3002\u4e3b\u8bbe\u5907\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u81ea\u5df1\u7684\u786c\u4ef6\uff0c\u6765\u6539\u53d8\u4ece\u8bbe\u5907\u7684\u64cd\u4f5c\u65b9\u5f0f\uff1b\u4ece\u8bbe\u5907\u4e5f\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u81ea\u5df1\u7684\u786c\u4ef6\uff0c\u6765\u6539\u53d8\u81ea\u5df1\u7684\u64cd\u4f5c\u65b9\u5f0f\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u8ba8\u8bba\u4e86I2C\u4e3b\u4ece\u5173\u7cfb\u53ef\u4ee5\u6362\u5417\u3002<\/strong>I2C\u4e3b\u4ece\u5173\u7cfb\u662f\u53ef\u4ee5\u6539\u53d8\u7684\uff0c\u4e3b\u8bbe\u5907\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u81ea\u5df1\u7684\u8f6f\u4ef6\u6216\u786c\u4ef6\uff0c\u6765\u6539\u53d8\u4ece\u8bbe\u5907\u7684\u64cd\u4f5c\u65b9\u5f0f\uff1b\u4ece\u8bbe\u5907\u4e5f\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u81ea\u5df1\u7684\u8f6f\u4ef6\u6216\u786c\u4ef6\uff0c\u6765\u6539\u53d8\u81ea\u5df1\u7684\u64cd\u4f5c\u65b9\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

I2C\uff08Inter-IntegratedCircuit\uff09\u662f\u4e00\u79cd\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u4e00\u4e2a\u4e3b\u8bbe\u5907\uff08master\uff09\u548c\u591a\u4e2a\u4ece\u8bbe\u5907\uff08slave\uff09\u3002\u4e3b\u4ece\u5173\u7cfb\u662f\u6307\u4e3b\u8bbe\u5907\u63a7\u5236\u4ece\u8bbe\u5907<\/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":[351,305],"class_list":["post-55926","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-i2c","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/55926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=55926"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/55926\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=55926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=55926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=55926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}