PageRenderTime 28ms CodeModel.GetById 31ms RepoModel.GetById 1ms app.codeStats 0ms

/zh-CN/win10/SupportedInterfaces.md

https://gitlab.com/mayakarya/content
Markdown | 306 lines | 274 code | 32 blank | 0 comment | 0 complexity | cfd82727fb70bcd08f6b6e27d434964b MD5 | raw file
  1. ---
  2. layout: default
  3. title: 硬件兼容性列表
  4. description: Windows 10 IoT 核心版支持各种外设接口和协议包括对诸如 I2CUARTUSB 等常见总线的支持
  5. keyword: windows iot, hardware, compatibility, interfaces
  6. permalink: /zh-cn/win10/SupportedInterfaces.htm
  7. lang: zh-CN
  8. ---
  9. <style>
  10. .MsVerified
  11. {
  12. margin: 0 auto;
  13. display: block;
  14. width: 45px;
  15. height: 40px;
  16. }
  17. a {cursor:pointer}
  18. h2
  19. {
  20. border-bottom: 1px solid #AAAAAA;
  21. padding-bottom: 10px;
  22. }
  23. .sectionControls
  24. {
  25. font-size:15px;
  26. float:right;
  27. position:relative;
  28. top:20px;
  29. }
  30. .sectionControls a
  31. {
  32. padding-left: 10px;
  33. }
  34. tr:nth-child(even) {background: #f2f2f2;}
  35. th {background: #f2f2f2;}
  36. td:nth-child(1)
  37. {
  38. width: 200px;
  39. }
  40. td:nth-child(2)
  41. {
  42. width: 40px;
  43. }
  44. td:nth-child(3)
  45. {
  46. width: 300px;
  47. }
  48. td:nth-child(4)
  49. {
  50. width: 200px;
  51. }
  52. td:nth-child(5)
  53. {
  54. width: 200px;
  55. }
  56. td:nth-child(6)
  57. {
  58. width: 100px;
  59. }
  60. .section {
  61. padding-left: 10px;
  62. }
  63. .searchbox
  64. {
  65. background-color: #f2f2f2;
  66. width: 600px;
  67. padding: 15px;
  68. }
  69. .searchbox a
  70. {
  71. padding-left: 20px;
  72. }
  73. .searchbox a:hover
  74. {
  75. text-decoration: underline;
  76. }
  77. .searchbox div
  78. {
  79. margin: 10px;
  80. }
  81. </style>
  82. # {{page.title}}
  83. Windows 10 IoT 核心版支持各种外设接口和协议包括对诸如 I2CUARTUSB 等常见总线的支持本页面列出已知受支持的外设并且是目前最新的 RTM 版本特定条目可能仅适用于预览版并将这些条目作出说明
  84. Windows 10 IoT 核心版设备上受支持的已知外设进行浏览搜索和筛选还可以在 GitHub 上通过单击参与链接来参与对此列表的编写
  85. 此列表并不详尽此页面上并未列出许多与 Windows 10 IoT 核心版兼容的其他外设我们鼓励你参与对此列表的编写以改善此资源
  86. 是否在查找有关受支持的硬件平台的信息 单击 \[此处\]\(https://msdn.microsoft.com/library/windows/hardware/dn914597(v=vs.85).aspx\) 以访问与 Windows 兼容的开发板列表。
  87. <div class="searchbox">
  88. <div id='javascriptWarn' class='javascriptWarn'>
  89. 只有启用 Javascript此页面才可以正常工作
  90. </div>
  91. <div class="searchTools" style="display:none">
  92. <div>
  93. <h3> 搜索和筛选 </h3>
  94. 按开发板类型筛选列表
  95. <select id="boardSelect" onchange="filterDeviceRows();">
  96. <option value=".">全部</option>
  97. <option value="RPI2">RPi2/RPi3</option>
  98. <option value="MBM">MBM</option>
  99. </select>
  100. </div>
  101. <div>
  102. 部件名称/型号搜索全部<b></b>列表
  103. <input id="filterInput" oninput="filterDeviceRows();"/>
  104. <button onClick="$('#filterInput')[0].value='';filterDeviceRows();">清除</button>
  105. </div>
  106. <div>
  107. <a onClick="showHideAll(false); return false;"> 隐藏所有部分 </a>
  108. <a onClick="showHideAll(true); return false;"> 显示所有部分</a>
  109. </div>
  110. </div>
  111. </div>
  112. <div class="SearchResultsSection" markdown="1" style="display:none">
  113. ## <a name="SearchResults" class="SearchResults" onClick="toggleSection('SearchResults');return false;">搜索结果</a>
  114. <div class="SearchResults" markdown="1">
  115. {:.table.table-bordered .SearchResults}
  116. 部件名称 / 编号 | 兼容的开发板 | 描述 | 注意事项 | 项目示例 |Microsoft 验证 |
  117. ----------------|-------------------|-------------|--------|------------------------------|------------------------------------|
  118. 结果 | 结果 | 结果 | 结果 | 结果 | 结果 |
  119. </div></div>
  120. <h2> <a onClick="toggleSection('USBDevices');return false;">USB 设备</a>
  121. <div class="sectionControls">
  122. <a class="sectionToggle" onClick="toggleSection('USBDevices');return false;">显示/隐藏</a>
  123. <a class="sectionContribute" onClick="contribute('USBDevices');return false;">参与</a>
  124. </div>
  125. </h2>
  126. <div class="USBDevices section" markdown="1">
  127. {% include_relative SupportedInterfaces/USBDevices.md %}
  128. </div>
  129. <h2> <a onClick="toggleSection('ArduinoPeripherals');return false;">Arduino 外设</a>
  130. <div class="sectionControls">
  131. <a class="sectionToggle" onClick="toggleSection('ArduinoPeripherals');return false;">显示/隐藏</a>
  132. <a class="sectionContribute" onClick="contribute('ArduinoPeripherals');return false;">参与</a>
  133. </div>
  134. </h2>
  135. <div class="ArduinoPeripherals section" markdown="1">
  136. {% include_relative SupportedInterfaces/ArduinoPeripherals.md %}
  137. </div>
  138. <h2> <a onClick="toggleSection('OtherDevices');return false;">其他硬件外设例如传感器IC</a>
  139. <div class="sectionControls">
  140. <a class="sectionToggle" onClick="toggleSection('OtherDevices');return false;">显示/隐藏</a>
  141. <a class="sectionContribute" onClick="contribute('OtherDevices');return false;">参与</a>
  142. </div>
  143. </h2>
  144. <div class="OtherDevices section" markdown="1">
  145. {% include_relative SupportedInterfaces/OtherDevices.md %}
  146. </div>
  147. <h2> <a onClick="toggleSection('Libraries');return false;">第三方软件库</a>
  148. <div class="sectionControls">
  149. <a class="sectionToggle" onClick="toggleSection('Libraries');return false;">显示/隐藏</a>
  150. <a class="sectionContribute" onClick="contribute('Libraries');return false;">参与</a>
  151. </div>
  152. </h2>
  153. <div class="Libraries section" markdown="1">
  154. {% include_relative SupportedInterfaces/Libraries.md %}
  155. </div>
  156. <h2> <a onClick="toggleSection('SupportedBusses');return false;">受支持的总线</a>
  157. <div class="sectionControls">
  158. <a class="sectionToggle" onClick="toggleSection('SupportedBusses');return false;">显示/隐藏</a>
  159. <a class="sectionContribute" onClick="contribute('SupportedBusses');return false;">参与</a>
  160. </div>
  161. </h2>
  162. <div class="SupportedBusses section" markdown="1">
  163. {% include_relative SupportedInterfaces/SupportedBusses.md %}
  164. </div>
  165. <script>
  166. function filterDeviceRows()
  167. {
  168. var selectedBoard = $("#boardSelect option:selected")[0].value;
  169. var boardColumn = 1; // compatible boards
  170. var searchColumn = 0; // model
  171. var searchString = $("#filterInput")[0].value;
  172. if (searchString=='') {searchString = '.';}
  173. var regExBoard = new RegExp(selectedBoard,"i");
  174. var regEx = new RegExp(searchString,"i");
  175. var rows = $(".devices tr");
  176. var searchResults = [];
  177. for (var rowNbr = 0; rowNbr < rows.length; rowNbr++){
  178. if (rows[rowNbr].rowIndex > 0)
  179. {
  180. if ( rows[rowNbr].cells[boardColumn].innerHTML.match(regExBoard))
  181. {
  182. if ( rows[rowNbr].cells[searchColumn].innerHTML.match(regEx))
  183. {
  184. searchResults.push(rows[rowNbr]);
  185. }
  186. rows[rowNbr].style.display = "";
  187. }
  188. else
  189. {
  190. rows[rowNbr].style.display = "none";
  191. }
  192. }
  193. }
  194. //Update search results
  195. if (searchString > '.' )
  196. {
  197. var searchTable = $('table.SearchResults')[0];
  198. // remove existing rows
  199. $('table.SearchResults tr').has('td').remove();
  200. // Add all found rows
  201. for (var rowNbr = 0; rowNbr < searchResults.length; rowNbr++){
  202. var row = searchTable.insertRow(searchTable.rows.length);
  203. for (cellNbr = 0; cellNbr < searchTable.rows[0].cells.length; cellNbr++) {
  204. var cell = row.insertCell(cellNbr);
  205. cell.innerHTML = searchResults[rowNbr].cells[cellNbr].innerHTML;
  206. }
  207. }
  208. $("div.SearchResultsSection").show();
  209. }
  210. else
  211. {
  212. $("div.SearchResultsSection").hide();
  213. }
  214. }
  215. function toggleSection(section) {
  216. $("."+section+".section").toggle('slow');
  217. }
  218. function changeSectionState(section, shouldShow) {
  219. var sectionObj = $("."+section+".section").filter(":visible");
  220. if (shouldShow && sectionObj == null)
  221. {
  222. toggleSection(section);
  223. }
  224. if (!shouldShow && sectionObj != null)
  225. {
  226. toggleSection(section);
  227. }
  228. }
  229. function showHideAll(shouldShow) {
  230. if (shouldShow)
  231. {
  232. $(".section").show('slow');
  233. } else {
  234. $(".section").hide('slow');
  235. }
  236. }
  237. function contribute(section) {
  238. var pagePath="{{site.repositoryurl}}{{page.path}}";
  239. var url = pagePath.replace("SupportedInterfaces", "SupportedInterfaces/" + section);
  240. var win = window.open(url, '_blank');
  241. win.focus();
  242. }
  243. window.onload = function() {
  244. $(".section").hide();
  245. $(".javascriptWarn").hide();
  246. $(".searchTools").show();
  247. if(window.location.hash) {
  248. $(location.hash).parent().show();
  249. window.scrollTo(0, $(location.hash).offset().top);
  250. }
  251. }
  252. </script>
  253. <!-- Reference Links -->
  254. [MSVerified]: {{site.baseurl}}/Resources/images/checkmark.svg "Microsoft 验证"
  255. \[ GitHub 上生成此列表\]{{site.repositoryurl}}{{ page.path }}
  256. [RPi2 or RPi3 Pin Mapping]: {{site.baseurl}}/{{page.lang}}/win10/samples/PinMappingsRPi2.htm#RPi2_I2C
  257. [MBM Pin Mapping]: {{site.baseurl}}/{{page.lang}}/win10/samples/PinMappingsMBM.htm#MBM_I2C
  258. [ZWave Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/ZWaveTutorial.htm
  259. [GpioOneWire Sample (DHT11)]: {{site.baseurl}}/{{page.lang}}/win10/samples/GpioOneWire.htm
  260. [I2C Accelerometer Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/I2CAccelerometer.htm#I2C_Accelerometer
  261. [I2C Port Explander Sample]: https://www.hackster.io/4803/i2c-port-expander-sample
  262. [Adafruit Starter Pack]: {{site.baseurl}}/{{page.lang}}/AdafruitKitContents.htm
  263. [//build 2014 - Piano]: https://www.hackster.io/windowsiot/build-2014-piano
  264. [SPI Display Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/SPIDisplay.htm
  265. [Shift Register Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/ShiftRegisterSample.htm
  266. [Serial Port Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/SerialSample.htm
  267. [Potentiometer Sensor Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/Potentiometer.htm
  268. [ADC Bus Providers]: {{site.msiotorgurl}}/BusProviders/tree/develop/ADC
  269. [PWM Bus Providers]: {{site.msiotorgurl}}/BusProviders/tree/develop/PWM
  270. [Alljoyn DSB Gpio C# Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/AlljoynDSB_ManagedGpioTutorial.htm
  271. [Wiring API]: {{site.baseurl}}/{{page.lang}}/win10/ArduinoWiringProjectGuide.htm
  272. [Weather Station Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/arduino-wiring/WeatherStation.htm
  273. [RGB Pixel Sample]: {{site.baseurl}}/{{page.lang}}/win10/samples/arduino-wiring/RGBPixel.htm
  274. [Home Security Camera Project]: {{site.baseurl}}/{{page.lang}}/win10/samples/WebCamSample.htm