{"id":44123,"date":"2023-09-29T20:17:32","date_gmt":"2023-09-29T12:17:32","guid":{"rendered":"\/\/www.viralrail.com\/?p=44123"},"modified":"2023-11-25T00:13:51","modified_gmt":"2023-11-24T16:13:51","slug":"iyzdctx","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/44123.html","title":{"rendered":"I2C\u4e00\u4e3b\u591a\u4ece\u901a\u4fe1"},"content":{"rendered":"

  I2C\uff08Inter-Integrated Circuit\uff09\u662f\u4e00\u79cd\u4e32\u884c\u603b\u7ebf\uff0c\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u4e00\u4e3b\u591a\u4ece\u7684\u901a\u4fe1\u3002\u5b83\u53ef\u4ee5\u5b9e\u73b0\u7b80\u5355\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u590d\u6742\u7684\u547d\u4ee4\u63a7\u5236\u3002I2C\u901a\u4fe1\u7684\u4f18\u70b9\u662f\u5b83\u53ef\u4ee5\u5c06\u591a\u4e2a\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u4e00\u4e3b\u591a\u4ece\u7684\u901a\u4fe1\uff0c\u53ef\u4ee5\u5b9e\u73b0\u7b80\u5355\u7684\u6570\u636e\u4f20\u8f93\uff0c\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u590d\u6742\u7684\u547d\u4ee4\u63a7\u5236\uff0c\u4e14\u901a\u4fe1\u7ebf\u8def\u7b80\u5355\uff0c\u6613\u4e8e\u5b89\u88c5\u548c\u7ef4\u62a4\u3002<\/p>\n

I2C\u7684\u5de5\u4f5c\u539f\u7406<\/h2>\n

  I2C\u7684\u5de5\u4f5c\u539f\u7406\u662f\uff0c\u4e3b\u8bbe\u5907\u53d1\u51fa\u4fe1\u53f7\uff0c\u4ece\u8bbe\u5907\u63a5\u6536\u4fe1\u53f7\uff0c\u7136\u540e\u6839\u636e\u4fe1\u53f7\u5185\u5bb9\u6765\u8fdb\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002I2C\u7684\u4fe1\u53f7\u7531\u4e24\u6761\u7ebf\u7ec4\u6210\uff0c\u5206\u522b\u4e3aSDA\uff08\u6570\u636e\u7ebf\uff09\u548cSCL\uff08\u65f6\u949f\u7ebf\uff09\uff0cSDA\u7528\u4e8e\u4f20\u8f93\u6570\u636e\uff0cSCL\u7528\u4e8e\u540c\u6b65\u4e24\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n

  I2C\u7684\u4f20\u8f93\u8fc7\u7a0b<\/h3>\n

  I2C\u7684\u4f20\u8f93\u8fc7\u7a0b\u7531\u4e09\u4e2a\u6b65\u9aa4\u7ec4\u6210\uff1aSTART\uff08\u5f00\u59cb\uff09\u3001DATA\uff08\u6570\u636e\u4f20\u8f93\uff09\u548cSTOP\uff08\u7ed3\u675f\uff09\u3002\u5728START\u6b65\u9aa4\u4e2d\uff0c\u4e3b\u8bbe\u5907\u53d1\u51fa\u4e00\u4e2a\u4fe1\u53f7\uff0c\u4ece\u8bbe\u5907\u63a5\u6536\u5230\u4fe1\u53f7\u540e\uff0c\u5f00\u59cb\u51c6\u5907\u63a5\u6536\u6570\u636e\uff1b\u5728DATA\u6b65\u9aa4\u4e2d\uff0c\u4e3b\u8bbe\u5907\u53d1\u51fa\u6570\u636e\uff0c\u4ece\u8bbe\u5907\u63a5\u6536\u6570\u636e\uff1b\u5728STOP\u6b65\u9aa4\u4e2d\uff0c\u4e3b\u8bbe\u5907\u53d1\u51fa\u7ed3\u675f\u4fe1\u53f7\uff0c\u4ece\u8bbe\u5907\u63a5\u6536\u5230\u7ed3\u675f\u4fe1\u53f7\u540e\uff0c\u7ed3\u675f\u672c\u6b21\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

  I2C\u7684\u5e94\u7528\u573a\u666f<\/h3>\n

  I2C\u7684\u5e94\u7528\u573a\u666f\u975e\u5e38\u5e7f\u6cdb\uff0c\u4e3b\u8981\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u8bbe\u5907\uff0c\u5b9e\u73b0\u590d\u6742\u7684\u63a7\u5236\u548c\u6570\u636e\u4f20\u8f93\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u4f20\u611f\u5668\uff0c\u5b9e\u73b0\u4f20\u611f\u5668\u6570\u636e\u7684\u91c7\u96c6\uff1b\u4e5f\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u5916\u8bbe\uff0c\u5b9e\u73b0\u5916\u8bbe\u7684\u63a7\u5236\u548c\u6570\u636e\u4f20\u8f93\u3002\u6b64\u5916\uff0cI2C\u8fd8\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u591a\u4e2a\u8bbe\u5907\uff0c\u5b9e\u73b0\u8fdc\u7a0b\u63a7\u5236\u548c\u6570\u636e\u4f20\u8f93\u3002<\/p>\n

I2C\u7684\u4f18\u70b9<\/h2>\n

  I2C\u7684\u4f18\u70b9\u4e3b\u8981\u6709\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n