cpu.s#2 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE eagle SYSTEM "eagle.dtd">
  3. <eagle version="7.2.0">
  4. <drawing>
  5. <settings>
  6. <setting alwaysvectorfont="no"/>
  7. <setting verticaltext="up"/>
  8. </settings>
  9. <grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="0.01" altunitdist="inch" altunit="inch"/>
  10. <layers>
  11. <layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/>
  12. <layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/>
  13. <layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/>
  14. <layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/>
  15. <layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/>
  16. <layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/>
  17. <layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/>
  18. <layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/>
  19. <layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/>
  20. <layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/>
  21. <layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/>
  22. <layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/>
  23. <layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/>
  24. <layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/>
  25. <layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/>
  26. <layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/>
  27. <layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/>
  28. <layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/>
  29. <layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/>
  30. <layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/>
  31. <layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/>
  32. <layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/>
  33. <layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/>
  34. <layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/>
  35. <layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/>
  36. <layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/>
  37. <layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/>
  38. <layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/>
  39. <layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/>
  40. <layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/>
  41. <layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/>
  42. <layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/>
  43. <layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/>
  44. <layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/>
  45. <layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/>
  46. <layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/>
  47. <layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/>
  48. <layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/>
  49. <layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/>
  50. <layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/>
  51. <layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/>
  52. <layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/>
  53. <layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/>
  54. <layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/>
  55. <layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/>
  56. <layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/>
  57. <layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/>
  58. <layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/>
  59. <layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/>
  60. <layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
  61. <layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/>
  62. <layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/>
  63. <layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/>
  64. <layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
  65. <layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
  66. <layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
  67. <layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
  68. <layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
  69. <layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
  70. <layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
  71. <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
  72. <layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
  73. <layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/>
  74. <layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/>
  75. <layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/>
  76. <layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
  77. <layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
  78. <layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/>
  79. </layers>
  80. <schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
  81. <libraries>
  82. <library name="stm32">
  83. <description>ST Cortex-M3 STM32F101/103 processor family in LQFP100, 64, 48 and VFQPFN36 pin versions</description>
  84. <packages>
  85. <package name="TQFP48">
  86. <wire x1="-3.375" y1="3.1" x2="-3.1" y2="3.375" width="0.254" layer="21"/>
  87. <wire x1="-3.1" y1="3.375" x2="3.1" y2="3.375" width="0.254" layer="21"/>
  88. <wire x1="3.1" y1="3.375" x2="3.375" y2="3.1" width="0.254" layer="21"/>
  89. <wire x1="3.375" y1="3.1" x2="3.375" y2="-3.1" width="0.254" layer="21"/>
  90. <wire x1="3.375" y1="-3.1" x2="3.1" y2="-3.375" width="0.254" layer="21"/>
  91. <wire x1="3.1" y1="-3.375" x2="-3.1" y2="-3.375" width="0.254" layer="21"/>
  92. <wire x1="-3.1" y1="-3.375" x2="-3.375" y2="-3.1" width="0.254" layer="21"/>
  93. <wire x1="-3.375" y1="-3.1" x2="-3.375" y2="3.1" width="0.254" layer="21"/>
  94. <circle x="-2" y="-2" radius="0.6" width="0.254" layer="21"/>
  95. <smd name="1" x="-2.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  96. <smd name="2" x="-2.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  97. <smd name="3" x="-1.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  98. <smd name="4" x="-1.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  99. <smd name="5" x="-0.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  100. <smd name="6" x="-0.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  101. <smd name="7" x="0.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  102. <smd name="8" x="0.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  103. <smd name="9" x="1.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  104. <smd name="10" x="1.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  105. <smd name="11" x="2.25" y="-4.5" dx="0.2" dy="1" layer="1"/>
  106. <smd name="12" x="2.75" y="-4.5" dx="0.2" dy="1" layer="1"/>
  107. <smd name="13" x="4.5" y="-2.75" dx="1" dy="0.2" layer="1"/>
  108. <smd name="14" x="4.5" y="-2.25" dx="1" dy="0.2" layer="1"/>
  109. <smd name="15" x="4.5" y="-1.75" dx="1" dy="0.2" layer="1"/>
  110. <smd name="16" x="4.5" y="-1.25" dx="1" dy="0.2" layer="1"/>
  111. <smd name="17" x="4.5" y="-0.75" dx="1" dy="0.2" layer="1"/>
  112. <smd name="18" x="4.5" y="-0.25" dx="1" dy="0.2" layer="1"/>
  113. <smd name="19" x="4.5" y="0.25" dx="1" dy="0.2" layer="1"/>
  114. <smd name="20" x="4.5" y="0.75" dx="1" dy="0.2" layer="1"/>
  115. <smd name="21" x="4.5" y="1.25" dx="1" dy="0.2" layer="1"/>
  116. <smd name="22" x="4.5" y="1.75" dx="1" dy="0.2" layer="1"/>
  117. <smd name="23" x="4.5" y="2.25" dx="1" dy="0.2" layer="1"/>
  118. <smd name="24" x="4.5" y="2.75" dx="1" dy="0.2" layer="1"/>
  119. <smd name="25" x="2.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  120. <smd name="26" x="2.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  121. <smd name="27" x="1.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  122. <smd name="28" x="1.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  123. <smd name="29" x="0.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  124. <smd name="30" x="0.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  125. <smd name="31" x="-0.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  126. <smd name="32" x="-0.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  127. <smd name="33" x="-1.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  128. <smd name="34" x="-1.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  129. <smd name="35" x="-2.25" y="4.5" dx="0.2" dy="1" layer="1"/>
  130. <smd name="36" x="-2.75" y="4.5" dx="0.2" dy="1" layer="1"/>
  131. <smd name="37" x="-4.5" y="2.75" dx="1" dy="0.2" layer="1"/>
  132. <smd name="38" x="-4.5" y="2.25" dx="1" dy="0.2" layer="1"/>
  133. <smd name="39" x="-4.5" y="1.75" dx="1" dy="0.2" layer="1"/>
  134. <smd name="40" x="-4.5" y="1.25" dx="1" dy="0.2" layer="1"/>
  135. <smd name="41" x="-4.5" y="0.75" dx="1" dy="0.2" layer="1"/>
  136. <smd name="42" x="-4.5" y="0.25" dx="1" dy="0.2" layer="1"/>
  137. <smd name="43" x="-4.5" y="-0.25" dx="1" dy="0.2" layer="1"/>
  138. <smd name="44" x="-4.5" y="-0.75" dx="1" dy="0.2" layer="1"/>
  139. <smd name="45" x="-4.5" y="-1.25" dx="1" dy="0.2" layer="1"/>
  140. <smd name="46" x="-4.5" y="-1.75" dx="1" dy="0.2" layer="1"/>
  141. <smd name="47" x="-4.5" y="-2.25" dx="1" dy="0.2" layer="1"/>
  142. <smd name="48" x="-4.5" y="-2.75" dx="1" dy="0.2" layer="1"/>
  143. <text x="-2.54" y="1.27" size="1.27" layer="25">&gt;NAME</text>
  144. <text x="-2.54" y="-1.27" size="1.27" layer="27">&gt;VALUE</text>
  145. <rectangle x1="-2.85" y1="-4.5" x2="-2.65" y2="-3.45" layer="51"/>
  146. <rectangle x1="-2.35" y1="-4.5" x2="-2.15" y2="-3.45" layer="51"/>
  147. <rectangle x1="-1.85" y1="-4.5" x2="-1.65" y2="-3.45" layer="51"/>
  148. <rectangle x1="-1.35" y1="-4.5" x2="-1.15" y2="-3.45" layer="51"/>
  149. <rectangle x1="-0.85" y1="-4.5" x2="-0.65" y2="-3.45" layer="51"/>
  150. <rectangle x1="-0.35" y1="-4.5" x2="-0.15" y2="-3.45" layer="51"/>
  151. <rectangle x1="0.15" y1="-4.5" x2="0.35" y2="-3.45" layer="51"/>
  152. <rectangle x1="0.65" y1="-4.5" x2="0.85" y2="-3.45" layer="51"/>
  153. <rectangle x1="1.15" y1="-4.5" x2="1.35" y2="-3.45" layer="51"/>
  154. <rectangle x1="1.65" y1="-4.5" x2="1.85" y2="-3.45" layer="51"/>
  155. <rectangle x1="2.15" y1="-4.5" x2="2.35" y2="-3.45" layer="51"/>
  156. <rectangle x1="2.65" y1="-4.5" x2="2.85" y2="-3.45" layer="51"/>
  157. <rectangle x1="3.45" y1="-2.85" x2="4.5" y2="-2.65" layer="51"/>
  158. <rectangle x1="3.45" y1="-2.35" x2="4.5" y2="-2.15" layer="51"/>
  159. <rectangle x1="3.45" y1="-1.85" x2="4.5" y2="-1.65" layer="51"/>
  160. <rectangle x1="3.45" y1="-1.35" x2="4.5" y2="-1.15" layer="51"/>
  161. <rectangle x1="3.45" y1="-0.85" x2="4.5" y2="-0.65" layer="51"/>
  162. <rectangle x1="3.45" y1="-0.35" x2="4.5" y2="-0.15" layer="51"/>
  163. <rectangle x1="3.45" y1="0.15" x2="4.5" y2="0.35" layer="51"/>
  164. <rectangle x1="3.45" y1="0.65" x2="4.5" y2="0.85" layer="51"/>
  165. <rectangle x1="3.45" y1="1.15" x2="4.5" y2="1.35" layer="51"/>
  166. <rectangle x1="3.45" y1="1.65" x2="4.5" y2="1.85" layer="51"/>
  167. <rectangle x1="3.45" y1="2.15" x2="4.5" y2="2.35" layer="51"/>
  168. <rectangle x1="3.45" y1="2.65" x2="4.5" y2="2.85" layer="51"/>
  169. <rectangle x1="2.65" y1="3.45" x2="2.85" y2="4.5" layer="51"/>
  170. <rectangle x1="2.15" y1="3.45" x2="2.35" y2="4.5" layer="51"/>
  171. <rectangle x1="1.65" y1="3.45" x2="1.85" y2="4.5" layer="51"/>
  172. <rectangle x1="1.15" y1="3.45" x2="1.35" y2="4.5" layer="51"/>
  173. <rectangle x1="0.65" y1="3.45" x2="0.85" y2="4.5" layer="51"/>
  174. <rectangle x1="0.15" y1="3.45" x2="0.35" y2="4.5" layer="51"/>
  175. <rectangle x1="-0.35" y1="3.45" x2="-0.15" y2="4.5" layer="51"/>
  176. <rectangle x1="-0.85" y1="3.45" x2="-0.65" y2="4.5" layer="51"/>
  177. <rectangle x1="-1.35" y1="3.45" x2="-1.15" y2="4.5" layer="51"/>
  178. <rectangle x1="-1.85" y1="3.45" x2="-1.65" y2="4.5" layer="51"/>
  179. <rectangle x1="-2.35" y1="3.45" x2="-2.15" y2="4.5" layer="51"/>
  180. <rectangle x1="-2.85" y1="3.45" x2="-2.65" y2="4.5" layer="51"/>
  181. <rectangle x1="-4.5" y1="2.65" x2="-3.45" y2="2.85" layer="51"/>
  182. <rectangle x1="-4.5" y1="2.15" x2="-3.45" y2="2.35" layer="51"/>
  183. <rectangle x1="-4.5" y1="1.65" x2="-3.45" y2="1.85" layer="51"/>
  184. <rectangle x1="-4.5" y1="1.15" x2="-3.45" y2="1.35" layer="51"/>
  185. <rectangle x1="-4.5" y1="0.65" x2="-3.45" y2="0.85" layer="51"/>
  186. <rectangle x1="-4.5" y1="0.15" x2="-3.45" y2="0.35" layer="51"/>
  187. <rectangle x1="-4.5" y1="-0.35" x2="-3.45" y2="-0.15" layer="51"/>
  188. <rectangle x1="-4.5" y1="-0.85" x2="-3.45" y2="-0.65" layer="51"/>
  189. <rectangle x1="-4.5" y1="-1.35" x2="-3.45" y2="-1.15" layer="51"/>
  190. <rectangle x1="-4.5" y1="-1.85" x2="-3.45" y2="-1.65" layer="51"/>
  191. <rectangle x1="-4.5" y1="-2.35" x2="-3.45" y2="-2.15" layer="51"/>
  192. <rectangle x1="-4.5" y1="-2.85" x2="-3.45" y2="-2.65" layer="51"/>
  193. </package>
  194. </packages>
  195. <symbols>
  196. <symbol name="PORT_A_L">
  197. <wire x1="7.62" y1="10.16" x2="-2.54" y2="10.16" width="0.254" layer="94"/>
  198. <wire x1="-2.54" y1="10.16" x2="-2.54" y2="-12.7" width="0.254" layer="94"/>
  199. <wire x1="-2.54" y1="-12.7" x2="7.62" y2="-12.7" width="0.254" layer="94"/>
  200. <text x="-2.54" y="10.16" size="1.27" layer="95">&gt;NAME</text>
  201. <pin name="PA0" x="-7.62" y="7.62" length="middle"/>
  202. <pin name="PA1" x="-7.62" y="5.08" length="middle"/>
  203. <pin name="PA2" x="-7.62" y="2.54" length="middle"/>
  204. <pin name="PA3" x="-7.62" y="0" length="middle"/>
  205. <pin name="PA4" x="-7.62" y="-2.54" length="middle"/>
  206. <pin name="PA5" x="-7.62" y="-5.08" length="middle"/>
  207. <pin name="PA6" x="-7.62" y="-7.62" length="middle"/>
  208. <pin name="PA7" x="-7.62" y="-10.16" length="middle"/>
  209. </symbol>
  210. <symbol name="PORT_A_H">
  211. <wire x1="7.62" y1="12.7" x2="-2.54" y2="12.7" width="0.254" layer="94"/>
  212. <wire x1="-2.54" y1="12.7" x2="-2.54" y2="-10.16" width="0.254" layer="94"/>
  213. <wire x1="-2.54" y1="-10.16" x2="7.62" y2="-10.16" width="0.254" layer="94"/>
  214. <text x="-2.54" y="12.7" size="1.27" layer="95">&gt;NAME</text>
  215. <pin name="PA8" x="-7.62" y="10.16" length="middle"/>
  216. <pin name="PA9" x="-7.62" y="7.62" length="middle"/>
  217. <pin name="PA10" x="-7.62" y="5.08" length="middle"/>
  218. <pin name="PA11" x="-7.62" y="2.54" length="middle"/>
  219. <pin name="PA12" x="-7.62" y="0" length="middle"/>
  220. <pin name="PA13" x="-7.62" y="-2.54" length="middle"/>
  221. <pin name="PA14" x="-7.62" y="-5.08" length="middle"/>
  222. <pin name="PA15" x="-7.62" y="-7.62" length="middle"/>
  223. </symbol>
  224. <symbol name="PORT_B_L">
  225. <wire x1="-5.08" y1="12.7" x2="5.08" y2="12.7" width="0.254" layer="94"/>
  226. <wire x1="5.08" y1="12.7" x2="5.08" y2="-10.16" width="0.254" layer="94"/>
  227. <wire x1="5.08" y1="-10.16" x2="-5.08" y2="-10.16" width="0.254" layer="94"/>
  228. <text x="-5.08" y="12.7" size="1.27" layer="95">&gt;NAME</text>
  229. <pin name="PB0" x="10.16" y="10.16" length="middle" rot="R180"/>
  230. <pin name="PB1" x="10.16" y="7.62" length="middle" rot="R180"/>
  231. <pin name="PB2" x="10.16" y="5.08" length="middle" rot="R180"/>
  232. <pin name="PB3" x="10.16" y="2.54" length="middle" rot="R180"/>
  233. <pin name="PB4" x="10.16" y="0" length="middle" rot="R180"/>
  234. <pin name="PB5" x="10.16" y="-2.54" length="middle" rot="R180"/>
  235. <pin name="PB6" x="10.16" y="-5.08" length="middle" rot="R180"/>
  236. <pin name="PB7" x="10.16" y="-7.62" length="middle" rot="R180"/>
  237. </symbol>
  238. <symbol name="PORT_B_H">
  239. <wire x1="-5.08" y1="10.16" x2="5.08" y2="10.16" width="0.254" layer="94"/>
  240. <wire x1="5.08" y1="10.16" x2="5.08" y2="-12.7" width="0.254" layer="94"/>
  241. <wire x1="5.08" y1="-12.7" x2="-5.08" y2="-12.7" width="0.254" layer="94"/>
  242. <text x="-5.08" y="10.16" size="1.27" layer="95">&gt;NAME</text>
  243. <pin name="PB8" x="10.16" y="7.62" length="middle" rot="R180"/>
  244. <pin name="PB9" x="10.16" y="5.08" length="middle" rot="R180"/>
  245. <pin name="PB10" x="10.16" y="2.54" length="middle" rot="R180"/>
  246. <pin name="PB11" x="10.16" y="0" length="middle" rot="R180"/>
  247. <pin name="PB12" x="10.16" y="-2.54" length="middle" rot="R180"/>
  248. <pin name="PB13" x="10.16" y="-5.08" length="middle" rot="R180"/>
  249. <pin name="PB14" x="10.16" y="-7.62" length="middle" rot="R180"/>
  250. <pin name="PB15" x="10.16" y="-10.16" length="middle" rot="R180"/>
  251. </symbol>
  252. <symbol name="VCC_VDD_S">
  253. <wire x1="5.08" y1="17.78" x2="-5.08" y2="17.78" width="0.254" layer="94"/>
  254. <wire x1="-5.08" y1="-17.78" x2="5.08" y2="-17.78" width="0.254" layer="94"/>
  255. <wire x1="-5.08" y1="17.78" x2="-5.08" y2="-17.78" width="0.254" layer="94"/>
  256. <text x="-5.08" y="17.78" size="1.27" layer="95">&gt;NAME</text>
  257. <pin name="VDD_1" x="-10.16" y="15.24" length="middle" direction="pwr"/>
  258. <pin name="VDD_2" x="-10.16" y="10.16" length="middle" direction="pwr"/>
  259. <pin name="VDD_3" x="-10.16" y="5.08" length="middle" direction="pwr"/>
  260. <pin name="VSS_1" x="-10.16" y="-5.08" length="middle" direction="pwr"/>
  261. <pin name="VSS_2" x="-10.16" y="-10.16" length="middle" direction="pwr"/>
  262. <pin name="VSS_3" x="-10.16" y="-15.24" length="middle" direction="pwr"/>
  263. </symbol>
  264. <symbol name="PORT_C_3">
  265. <wire x1="7.62" y1="5.08" x2="-2.54" y2="5.08" width="0.254" layer="94"/>
  266. <wire x1="-2.54" y1="5.08" x2="-2.54" y2="-5.08" width="0.254" layer="94"/>
  267. <wire x1="-2.54" y1="-5.08" x2="7.62" y2="-5.08" width="0.254" layer="94"/>
  268. <text x="-2.54" y="5.08" size="1.27" layer="95">&gt;NAME</text>
  269. <pin name="PC13" x="-7.62" y="2.54" length="middle"/>
  270. <pin name="PC14" x="-7.62" y="0" length="middle"/>
  271. <pin name="PC15" x="-7.62" y="-2.54" length="middle"/>
  272. </symbol>
  273. <symbol name="PORT_D_2">
  274. <wire x1="-7.62" y1="2.54" x2="2.54" y2="2.54" width="0.254" layer="94"/>
  275. <wire x1="2.54" y1="2.54" x2="2.54" y2="-5.08" width="0.254" layer="94"/>
  276. <wire x1="2.54" y1="-5.08" x2="-7.62" y2="-5.08" width="0.254" layer="94"/>
  277. <text x="-7.62" y="2.54" size="1.27" layer="95">&gt;NAME</text>
  278. <pin name="PD0/OSC&lt;=" x="7.62" y="0" length="middle" rot="R180"/>
  279. <pin name="PD1/OSC=&gt;" x="7.62" y="-2.54" length="middle" rot="R180"/>
  280. </symbol>
  281. <symbol name="BAT_AN_M">
  282. <wire x1="-5.08" y1="7.62" x2="5.08" y2="7.62" width="0.254" layer="94"/>
  283. <wire x1="5.08" y1="7.62" x2="5.08" y2="-7.62" width="0.254" layer="94"/>
  284. <wire x1="5.08" y1="-7.62" x2="-5.08" y2="-7.62" width="0.254" layer="94"/>
  285. <text x="-5.08" y="7.62" size="1.27" layer="95">&gt;NAME</text>
  286. <pin name="VBAT" x="10.16" y="5.08" length="middle" direction="pwr" rot="R180"/>
  287. <pin name="VSSA" x="10.16" y="0" length="middle" direction="pwr" rot="R180"/>
  288. <pin name="VDDA" x="10.16" y="-5.08" length="middle" direction="pwr" rot="R180"/>
  289. </symbol>
  290. <symbol name="BOOT_RST">
  291. <wire x1="-5.08" y1="5.08" x2="5.08" y2="5.08" width="0.254" layer="94"/>
  292. <wire x1="5.08" y1="5.08" x2="5.08" y2="-5.08" width="0.254" layer="94"/>
  293. <wire x1="5.08" y1="-5.08" x2="-5.08" y2="-5.08" width="0.254" layer="94"/>
  294. <text x="-5.08" y="-7.62" size="1.27" layer="95">&gt;VALUE</text>
  295. <text x="-5.08" y="5.08" size="1.27" layer="95">&gt;NAME</text>
  296. <pin name="NRST" x="10.16" y="2.54" length="middle" direction="in" function="dot" rot="R180"/>
  297. <pin name="BOOT0" x="10.16" y="-2.54" length="middle" direction="in" rot="R180"/>
  298. </symbol>
  299. </symbols>
  300. <devicesets>
  301. <deviceset name="STM32F10XCXT6" prefix="IC">
  302. <description>ST STM32F101/103 48pin LQFP</description>
  303. <gates>
  304. <gate name="PORTA_L" symbol="PORT_A_L" x="-12.7" y="38.1"/>
  305. <gate name="PORTA_H" symbol="PORT_A_H" x="-12.7" y="10.16"/>
  306. <gate name="PORTB_L" symbol="PORT_B_L" x="12.7" y="35.56"/>
  307. <gate name="PORTB_H" symbol="PORT_B_H" x="12.7" y="12.7"/>
  308. <gate name="POWER" symbol="VCC_VDD_S" x="-10.16" y="-20.32"/>
  309. <gate name="PORTC" symbol="PORT_C_3" x="-12.7" y="-45.72"/>
  310. <gate name="PORTD/OSC" symbol="PORT_D_2" x="15.24" y="-5.08"/>
  311. <gate name="AN_POWER" symbol="BAT_AN_M" x="12.7" y="-20.32"/>
  312. <gate name="RESET" symbol="BOOT_RST" x="12.7" y="-35.56"/>
  313. </gates>
  314. <devices>
  315. <device name="" package="TQFP48">
  316. <connects>
  317. <connect gate="AN_POWER" pin="VBAT" pad="1"/>
  318. <connect gate="AN_POWER" pin="VDDA" pad="9"/>
  319. <connect gate="AN_POWER" pin="VSSA" pad="8"/>
  320. <connect gate="PORTA_H" pin="PA10" pad="31"/>
  321. <connect gate="PORTA_H" pin="PA11" pad="32"/>
  322. <connect gate="PORTA_H" pin="PA12" pad="33"/>
  323. <connect gate="PORTA_H" pin="PA13" pad="34"/>
  324. <connect gate="PORTA_H" pin="PA14" pad="37"/>
  325. <connect gate="PORTA_H" pin="PA15" pad="38"/>
  326. <connect gate="PORTA_H" pin="PA8" pad="29"/>
  327. <connect gate="PORTA_H" pin="PA9" pad="30"/>
  328. <connect gate="PORTA_L" pin="PA0" pad="10"/>
  329. <connect gate="PORTA_L" pin="PA1" pad="11"/>
  330. <connect gate="PORTA_L" pin="PA2" pad="12"/>
  331. <connect gate="PORTA_L" pin="PA3" pad="13"/>
  332. <connect gate="PORTA_L" pin="PA4" pad="14"/>
  333. <connect gate="PORTA_L" pin="PA5" pad="15"/>
  334. <connect gate="PORTA_L" pin="PA6" pad="16"/>
  335. <connect gate="PORTA_L" pin="PA7" pad="17"/>
  336. <connect gate="PORTB_H" pin="PB10" pad="21"/>
  337. <connect gate="PORTB_H" pin="PB11" pad="22"/>
  338. <connect gate="PORTB_H" pin="PB12" pad="25"/>
  339. <connect gate="PORTB_H" pin="PB13" pad="26"/>
  340. <connect gate="PORTB_H" pin="PB14" pad="27"/>
  341. <connect gate="PORTB_H" pin="PB15" pad="28"/>
  342. <connect gate="PORTB_H" pin="PB8" pad="45"/>
  343. <connect gate="PORTB_H" pin="PB9" pad="46"/>
  344. <connect gate="PORTB_L" pin="PB0" pad="18"/>
  345. <connect gate="PORTB_L" pin="PB1" pad="19"/>
  346. <connect gate="PORTB_L" pin="PB2" pad="20"/>
  347. <connect gate="PORTB_L" pin="PB3" pad="39"/>
  348. <connect gate="PORTB_L" pin="PB4" pad="40"/>
  349. <connect gate="PORTB_L" pin="PB5" pad="41"/>
  350. <connect gate="PORTB_L" pin="PB6" pad="42"/>
  351. <connect gate="PORTB_L" pin="PB7" pad="43"/>
  352. <connect gate="PORTC" pin="PC13" pad="2"/>
  353. <connect gate="PORTC" pin="PC14" pad="3"/>
  354. <connect gate="PORTC" pin="PC15" pad="4"/>
  355. <connect gate="PORTD/OSC" pin="PD0/OSC&lt;=" pad="5"/>
  356. <connect gate="PORTD/OSC" pin="PD1/OSC=&gt;" pad="6"/>
  357. <connect gate="POWER" pin="VDD_1" pad="24"/>
  358. <connect gate="POWER" pin="VDD_2" pad="36"/>
  359. <connect gate="POWER" pin="VDD_3" pad="48"/>
  360. <connect gate="POWER" pin="VSS_1" pad="23"/>
  361. <connect gate="POWER" pin="VSS_2" pad="35"/>
  362. <connect gate="POWER" pin="VSS_3" pad="47"/>
  363. <connect gate="RESET" pin="BOOT0" pad="44"/>
  364. <connect gate="RESET" pin="NRST" pad="7"/>
  365. </connects>
  366. <technologies>
  367. <technology name=""/>
  368. </technologies>
  369. </device>
  370. </devices>
  371. </deviceset>
  372. </devicesets>
  373. </library>
  374. <library name="pinhead">
  375. <description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
  376. &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
  377. <packages>
  378. <package name="2X06">
  379. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  380. <wire x1="-7.62" y1="-1.905" x2="-6.985" y2="-2.54" width="0.1524" layer="21"/>
  381. <wire x1="-5.715" y1="-2.54" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  382. <wire x1="-5.08" y1="-1.905" x2="-4.445" y2="-2.54" width="0.1524" layer="21"/>
  383. <wire x1="-3.175" y1="-2.54" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  384. <wire x1="-2.54" y1="-1.905" x2="-1.905" y2="-2.54" width="0.1524" layer="21"/>
  385. <wire x1="-0.635" y1="-2.54" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  386. <wire x1="0" y1="-1.905" x2="0.635" y2="-2.54" width="0.1524" layer="21"/>
  387. <wire x1="1.905" y1="-2.54" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  388. <wire x1="2.54" y1="-1.905" x2="3.175" y2="-2.54" width="0.1524" layer="21"/>
  389. <wire x1="4.445" y1="-2.54" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  390. <wire x1="-7.62" y1="-1.905" x2="-7.62" y2="1.905" width="0.1524" layer="21"/>
  391. <wire x1="-7.62" y1="1.905" x2="-6.985" y2="2.54" width="0.1524" layer="21"/>
  392. <wire x1="-6.985" y1="2.54" x2="-5.715" y2="2.54" width="0.1524" layer="21"/>
  393. <wire x1="-5.715" y1="2.54" x2="-5.08" y2="1.905" width="0.1524" layer="21"/>
  394. <wire x1="-5.08" y1="1.905" x2="-4.445" y2="2.54" width="0.1524" layer="21"/>
  395. <wire x1="-4.445" y1="2.54" x2="-3.175" y2="2.54" width="0.1524" layer="21"/>
  396. <wire x1="-3.175" y1="2.54" x2="-2.54" y2="1.905" width="0.1524" layer="21"/>
  397. <wire x1="-2.54" y1="1.905" x2="-1.905" y2="2.54" width="0.1524" layer="21"/>
  398. <wire x1="-1.905" y1="2.54" x2="-0.635" y2="2.54" width="0.1524" layer="21"/>
  399. <wire x1="-0.635" y1="2.54" x2="0" y2="1.905" width="0.1524" layer="21"/>
  400. <wire x1="0" y1="1.905" x2="0.635" y2="2.54" width="0.1524" layer="21"/>
  401. <wire x1="0.635" y1="2.54" x2="1.905" y2="2.54" width="0.1524" layer="21"/>
  402. <wire x1="1.905" y1="2.54" x2="2.54" y2="1.905" width="0.1524" layer="21"/>
  403. <wire x1="2.54" y1="1.905" x2="3.175" y2="2.54" width="0.1524" layer="21"/>
  404. <wire x1="3.175" y1="2.54" x2="4.445" y2="2.54" width="0.1524" layer="21"/>
  405. <wire x1="4.445" y1="2.54" x2="5.08" y2="1.905" width="0.1524" layer="21"/>
  406. <wire x1="-5.08" y1="1.905" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  407. <wire x1="-2.54" y1="1.905" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  408. <wire x1="0" y1="1.905" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  409. <wire x1="2.54" y1="1.905" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  410. <wire x1="5.08" y1="1.905" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  411. <wire x1="3.175" y1="-2.54" x2="4.445" y2="-2.54" width="0.1524" layer="21"/>
  412. <wire x1="0.635" y1="-2.54" x2="1.905" y2="-2.54" width="0.1524" layer="21"/>
  413. <wire x1="-1.905" y1="-2.54" x2="-0.635" y2="-2.54" width="0.1524" layer="21"/>
  414. <wire x1="-4.445" y1="-2.54" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/>
  415. <wire x1="-6.985" y1="-2.54" x2="-5.715" y2="-2.54" width="0.1524" layer="21"/>
  416. <wire x1="5.08" y1="-1.905" x2="5.715" y2="-2.54" width="0.1524" layer="21"/>
  417. <wire x1="6.985" y1="-2.54" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  418. <wire x1="5.08" y1="1.905" x2="5.715" y2="2.54" width="0.1524" layer="21"/>
  419. <wire x1="5.715" y1="2.54" x2="6.985" y2="2.54" width="0.1524" layer="21"/>
  420. <wire x1="6.985" y1="2.54" x2="7.62" y2="1.905" width="0.1524" layer="21"/>
  421. <wire x1="7.62" y1="1.905" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  422. <wire x1="5.715" y1="-2.54" x2="6.985" y2="-2.54" width="0.1524" layer="21"/>
  423. <pad name="1" x="-6.35" y="-1.27" drill="1.016" shape="octagon"/>
  424. <pad name="2" x="-6.35" y="1.27" drill="1.016" shape="octagon"/>
  425. <pad name="3" x="-3.81" y="-1.27" drill="1.016" shape="octagon"/>
  426. <pad name="4" x="-3.81" y="1.27" drill="1.016" shape="octagon"/>
  427. <pad name="5" x="-1.27" y="-1.27" drill="1.016" shape="octagon"/>
  428. <pad name="6" x="-1.27" y="1.27" drill="1.016" shape="octagon"/>
  429. <pad name="7" x="1.27" y="-1.27" drill="1.016" shape="octagon"/>
  430. <pad name="8" x="1.27" y="1.27" drill="1.016" shape="octagon"/>
  431. <pad name="9" x="3.81" y="-1.27" drill="1.016" shape="octagon"/>
  432. <pad name="10" x="3.81" y="1.27" drill="1.016" shape="octagon"/>
  433. <pad name="11" x="6.35" y="-1.27" drill="1.016" shape="octagon"/>
  434. <pad name="12" x="6.35" y="1.27" drill="1.016" shape="octagon"/>
  435. <text x="-7.62" y="3.175" size="1.27" layer="25" ratio="10">&gt;NAME</text>
  436. <text x="-7.62" y="-4.445" size="1.27" layer="27">&gt;VALUE</text>
  437. <rectangle x1="-6.604" y1="-1.524" x2="-6.096" y2="-1.016" layer="51"/>
  438. <rectangle x1="-6.604" y1="1.016" x2="-6.096" y2="1.524" layer="51"/>
  439. <rectangle x1="-4.064" y1="1.016" x2="-3.556" y2="1.524" layer="51"/>
  440. <rectangle x1="-4.064" y1="-1.524" x2="-3.556" y2="-1.016" layer="51"/>
  441. <rectangle x1="-1.524" y1="1.016" x2="-1.016" y2="1.524" layer="51"/>
  442. <rectangle x1="-1.524" y1="-1.524" x2="-1.016" y2="-1.016" layer="51"/>
  443. <rectangle x1="1.016" y1="1.016" x2="1.524" y2="1.524" layer="51"/>
  444. <rectangle x1="3.556" y1="1.016" x2="4.064" y2="1.524" layer="51"/>
  445. <rectangle x1="1.016" y1="-1.524" x2="1.524" y2="-1.016" layer="51"/>
  446. <rectangle x1="3.556" y1="-1.524" x2="4.064" y2="-1.016" layer="51"/>
  447. <rectangle x1="6.096" y1="1.016" x2="6.604" y2="1.524" layer="51"/>
  448. <rectangle x1="6.096" y1="-1.524" x2="6.604" y2="-1.016" layer="51"/>
  449. </package>
  450. <package name="2X06/90">
  451. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  452. <wire x1="-7.62" y1="-1.905" x2="-5.08" y2="-1.905" width="0.1524" layer="21"/>
  453. <wire x1="-5.08" y1="-1.905" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  454. <wire x1="-5.08" y1="0.635" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
  455. <wire x1="-7.62" y1="0.635" x2="-7.62" y2="-1.905" width="0.1524" layer="21"/>
  456. <wire x1="-6.35" y1="6.985" x2="-6.35" y2="1.27" width="0.762" layer="21"/>
  457. <wire x1="-5.08" y1="-1.905" x2="-2.54" y2="-1.905" width="0.1524" layer="21"/>
  458. <wire x1="-2.54" y1="-1.905" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  459. <wire x1="-2.54" y1="0.635" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
  460. <wire x1="-3.81" y1="6.985" x2="-3.81" y2="1.27" width="0.762" layer="21"/>
  461. <wire x1="-2.54" y1="-1.905" x2="0" y2="-1.905" width="0.1524" layer="21"/>
  462. <wire x1="0" y1="-1.905" x2="0" y2="0.635" width="0.1524" layer="21"/>
  463. <wire x1="0" y1="0.635" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
  464. <wire x1="-1.27" y1="6.985" x2="-1.27" y2="1.27" width="0.762" layer="21"/>
  465. <wire x1="0" y1="-1.905" x2="2.54" y2="-1.905" width="0.1524" layer="21"/>
  466. <wire x1="2.54" y1="-1.905" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  467. <wire x1="2.54" y1="0.635" x2="0" y2="0.635" width="0.1524" layer="21"/>
  468. <wire x1="1.27" y1="6.985" x2="1.27" y2="1.27" width="0.762" layer="21"/>
  469. <wire x1="2.54" y1="-1.905" x2="5.08" y2="-1.905" width="0.1524" layer="21"/>
  470. <wire x1="5.08" y1="-1.905" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  471. <wire x1="5.08" y1="0.635" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
  472. <wire x1="3.81" y1="6.985" x2="3.81" y2="1.27" width="0.762" layer="21"/>
  473. <wire x1="5.08" y1="-1.905" x2="7.62" y2="-1.905" width="0.1524" layer="21"/>
  474. <wire x1="7.62" y1="-1.905" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
  475. <wire x1="7.62" y1="0.635" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
  476. <wire x1="6.35" y1="6.985" x2="6.35" y2="1.27" width="0.762" layer="21"/>
  477. <pad name="2" x="-6.35" y="-3.81" drill="1.016" shape="octagon"/>
  478. <pad name="4" x="-3.81" y="-3.81" drill="1.016" shape="octagon"/>
  479. <pad name="6" x="-1.27" y="-3.81" drill="1.016" shape="octagon"/>
  480. <pad name="8" x="1.27" y="-3.81" drill="1.016" shape="octagon"/>
  481. <pad name="10" x="3.81" y="-3.81" drill="1.016" shape="octagon"/>
  482. <pad name="12" x="6.35" y="-3.81" drill="1.016" shape="octagon"/>
  483. <pad name="1" x="-6.35" y="-6.35" drill="1.016" shape="octagon"/>
  484. <pad name="3" x="-3.81" y="-6.35" drill="1.016" shape="octagon"/>
  485. <pad name="5" x="-1.27" y="-6.35" drill="1.016" shape="octagon"/>
  486. <pad name="7" x="1.27" y="-6.35" drill="1.016" shape="octagon"/>
  487. <pad name="9" x="3.81" y="-6.35" drill="1.016" shape="octagon"/>
  488. <pad name="11" x="6.35" y="-6.35" drill="1.016" shape="octagon"/>
  489. <text x="-8.255" y="-3.81" size="1.27" layer="25" ratio="10" rot="R90">&gt;NAME</text>
  490. <text x="9.525" y="-3.81" size="1.27" layer="27" rot="R90">&gt;VALUE</text>
  491. <rectangle x1="-6.731" y1="0.635" x2="-5.969" y2="1.143" layer="21"/>
  492. <rectangle x1="-4.191" y1="0.635" x2="-3.429" y2="1.143" layer="21"/>
  493. <rectangle x1="-1.651" y1="0.635" x2="-0.889" y2="1.143" layer="21"/>
  494. <rectangle x1="0.889" y1="0.635" x2="1.651" y2="1.143" layer="21"/>
  495. <rectangle x1="3.429" y1="0.635" x2="4.191" y2="1.143" layer="21"/>
  496. <rectangle x1="5.969" y1="0.635" x2="6.731" y2="1.143" layer="21"/>
  497. <rectangle x1="-6.731" y1="-2.921" x2="-5.969" y2="-1.905" layer="21"/>
  498. <rectangle x1="-4.191" y1="-2.921" x2="-3.429" y2="-1.905" layer="21"/>
  499. <rectangle x1="-6.731" y1="-5.461" x2="-5.969" y2="-4.699" layer="21"/>
  500. <rectangle x1="-6.731" y1="-4.699" x2="-5.969" y2="-2.921" layer="51"/>
  501. <rectangle x1="-4.191" y1="-4.699" x2="-3.429" y2="-2.921" layer="51"/>
  502. <rectangle x1="-4.191" y1="-5.461" x2="-3.429" y2="-4.699" layer="21"/>
  503. <rectangle x1="-1.651" y1="-2.921" x2="-0.889" y2="-1.905" layer="21"/>
  504. <rectangle x1="0.889" y1="-2.921" x2="1.651" y2="-1.905" layer="21"/>
  505. <rectangle x1="-1.651" y1="-5.461" x2="-0.889" y2="-4.699" layer="21"/>
  506. <rectangle x1="-1.651" y1="-4.699" x2="-0.889" y2="-2.921" layer="51"/>
  507. <rectangle x1="0.889" y1="-4.699" x2="1.651" y2="-2.921" layer="51"/>
  508. <rectangle x1="0.889" y1="-5.461" x2="1.651" y2="-4.699" layer="21"/>
  509. <rectangle x1="3.429" y1="-2.921" x2="4.191" y2="-1.905" layer="21"/>
  510. <rectangle x1="5.969" y1="-2.921" x2="6.731" y2="-1.905" layer="21"/>
  511. <rectangle x1="3.429" y1="-5.461" x2="4.191" y2="-4.699" layer="21"/>
  512. <rectangle x1="3.429" y1="-4.699" x2="4.191" y2="-2.921" layer="51"/>
  513. <rectangle x1="5.969" y1="-4.699" x2="6.731" y2="-2.921" layer="51"/>
  514. <rectangle x1="5.969" y1="-5.461" x2="6.731" y2="-4.699" layer="21"/>
  515. </package>
  516. </packages>
  517. <symbols>
  518. <symbol name="PINH2X6">
  519. <wire x1="-6.35" y1="-10.16" x2="8.89" y2="-10.16" width="0.4064" layer="94"/>
  520. <wire x1="8.89" y1="-10.16" x2="8.89" y2="7.62" width="0.4064" layer="94"/>
  521. <wire x1="8.89" y1="7.62" x2="-6.35" y2="7.62" width="0.4064" layer="94"/>
  522. <wire x1="-6.35" y1="7.62" x2="-6.35" y2="-10.16" width="0.4064" layer="94"/>
  523. <text x="-6.35" y="8.255" size="1.778" layer="95">&gt;NAME</text>
  524. <text x="-6.35" y="-12.7" size="1.778" layer="96">&gt;VALUE</text>
  525. <pin name="1" x="-2.54" y="5.08" visible="pad" length="short" direction="pas" function="dot"/>
  526. <pin name="2" x="5.08" y="5.08" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  527. <pin name="3" x="-2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot"/>
  528. <pin name="4" x="5.08" y="2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  529. <pin name="5" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/>
  530. <pin name="6" x="5.08" y="0" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  531. <pin name="7" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/>
  532. <pin name="8" x="5.08" y="-2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  533. <pin name="9" x="-2.54" y="-5.08" visible="pad" length="short" direction="pas" function="dot"/>
  534. <pin name="10" x="5.08" y="-5.08" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  535. <pin name="11" x="-2.54" y="-7.62" visible="pad" length="short" direction="pas" function="dot"/>
  536. <pin name="12" x="5.08" y="-7.62" visible="pad" length="short" direction="pas" function="dot" rot="R180"/>
  537. </symbol>
  538. </symbols>
  539. <devicesets>
  540. <deviceset name="PINHD-2X6" prefix="JP" uservalue="yes">
  541. <description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
  542. <gates>
  543. <gate name="A" symbol="PINH2X6" x="0" y="0"/>
  544. </gates>
  545. <devices>
  546. <device name="" package="2X06">
  547. <connects>
  548. <connect gate="A" pin="1" pad="1"/>
  549. <connect gate="A" pin="10" pad="10"/>
  550. <connect gate="A" pin="11" pad="11"/>
  551. <connect gate="A" pin="12" pad="12"/>
  552. <connect gate="A" pin="2" pad="2"/>
  553. <connect gate="A" pin="3" pad="3"/>
  554. <connect gate="A" pin="4" pad="4"/>
  555. <connect gate="A" pin="5" pad="5"/>
  556. <connect gate="A" pin="6" pad="6"/>
  557. <connect gate="A" pin="7" pad="7"/>
  558. <connect gate="A" pin="8" pad="8"/>
  559. <connect gate="A" pin="9" pad="9"/>
  560. </connects>
  561. <technologies>
  562. <technology name=""/>
  563. </technologies>
  564. </device>
  565. <device name="/90" package="2X06/90">
  566. <connects>
  567. <connect gate="A" pin="1" pad="1"/>
  568. <connect gate="A" pin="10" pad="10"/>
  569. <connect gate="A" pin="11" pad="11"/>
  570. <connect gate="A" pin="12" pad="12"/>
  571. <connect gate="A" pin="2" pad="2"/>
  572. <connect gate="A" pin="3" pad="3"/>
  573. <connect gate="A" pin="4" pad="4"/>
  574. <connect gate="A" pin="5" pad="5"/>
  575. <connect gate="A" pin="6" pad="6"/>
  576. <connect gate="A" pin="7" pad="7"/>
  577. <connect gate="A" pin="8" pad="8"/>
  578. <connect gate="A" pin="9" pad="9"/>
  579. </connects>
  580. <technologies>
  581. <technology name=""/>
  582. </technologies>
  583. </device>
  584. </devices>
  585. </deviceset>
  586. </devicesets>
  587. </library>
  588. </libraries>
  589. <attributes>
  590. </attributes>
  591. <variantdefs>
  592. </variantdefs>
  593. <classes>
  594. <class number="0" name="default" width="0" drill="0">
  595. </class>
  596. </classes>
  597. <parts>
  598. <part name="IC1" library="stm32" deviceset="STM32F10XCXT6" device=""/>
  599. <part name="JP1" library="pinhead" deviceset="PINHD-2X6" device=""/>
  600. <part name="JP2" library="pinhead" deviceset="PINHD-2X6" device=""/>
  601. <part name="JP3" library="pinhead" deviceset="PINHD-2X6" device=""/>
  602. <part name="JP4" library="pinhead" deviceset="PINHD-2X6" device=""/>
  603. </parts>
  604. <sheets>
  605. <sheet>
  606. <plain>
  607. </plain>
  608. <instances>
  609. <instance part="IC1" gate="PORTA_L" x="25.4" y="97.79" rot="MR0"/>
  610. <instance part="IC1" gate="PORTA_H" x="25.4" y="10.16" rot="MR0"/>
  611. <instance part="IC1" gate="PORTB_L" x="22.86" y="66.04"/>
  612. <instance part="IC1" gate="PORTB_H" x="22.86" y="40.64"/>
  613. <instance part="IC1" gate="POWER" x="-11.43" y="101.6" rot="MR0"/>
  614. <instance part="IC1" gate="PORTC" x="25.4" y="153.67" rot="R180"/>
  615. <instance part="IC1" gate="PORTD/OSC" x="25.4" y="139.7"/>
  616. <instance part="IC1" gate="AN_POWER" x="22.86" y="170.18"/>
  617. <instance part="IC1" gate="RESET" x="22.86" y="123.19"/>
  618. <instance part="JP1" gate="A" x="114.3" y="167.64"/>
  619. <instance part="JP2" gate="A" x="114.3" y="120.65"/>
  620. <instance part="JP3" gate="A" x="114.3" y="73.66"/>
  621. <instance part="JP4" gate="A" x="134.62" y="21.59"/>
  622. </instances>
  623. <busses>
  624. </busses>
  625. <nets>
  626. <net name="N$1" class="0">
  627. <segment>
  628. <pinref part="IC1" gate="AN_POWER" pin="VBAT"/>
  629. <wire x1="33.02" y1="175.26" x2="105.41" y2="175.26" width="0.1524" layer="91"/>
  630. <wire x1="105.41" y1="175.26" x2="105.41" y2="172.72" width="0.1524" layer="91"/>
  631. <pinref part="JP1" gate="A" pin="1"/>
  632. <wire x1="105.41" y1="172.72" x2="111.76" y2="172.72" width="0.1524" layer="91"/>
  633. </segment>
  634. </net>
  635. <net name="N$2" class="0">
  636. <segment>
  637. <pinref part="IC1" gate="PORTC" pin="PC13"/>
  638. <wire x1="33.02" y1="151.13" x2="66.04" y2="151.13" width="0.1524" layer="91"/>
  639. <wire x1="66.04" y1="151.13" x2="66.04" y2="176.53" width="0.1524" layer="91"/>
  640. <wire x1="66.04" y1="176.53" x2="128.27" y2="176.53" width="0.1524" layer="91"/>
  641. <wire x1="128.27" y1="176.53" x2="128.27" y2="172.72" width="0.1524" layer="91"/>
  642. <pinref part="JP1" gate="A" pin="2"/>
  643. <wire x1="128.27" y1="172.72" x2="119.38" y2="172.72" width="0.1524" layer="91"/>
  644. </segment>
  645. </net>
  646. <net name="N$3" class="0">
  647. <segment>
  648. <pinref part="IC1" gate="PORTC" pin="PC14"/>
  649. <wire x1="33.02" y1="153.67" x2="64.77" y2="153.67" width="0.1524" layer="91"/>
  650. <wire x1="64.77" y1="153.67" x2="64.77" y2="170.18" width="0.1524" layer="91"/>
  651. <pinref part="JP1" gate="A" pin="3"/>
  652. <wire x1="64.77" y1="170.18" x2="111.76" y2="170.18" width="0.1524" layer="91"/>
  653. </segment>
  654. </net>
  655. <net name="N$4" class="0">
  656. <segment>
  657. <pinref part="IC1" gate="PORTC" pin="PC15"/>
  658. <wire x1="33.02" y1="156.21" x2="104.14" y2="156.21" width="0.1524" layer="91"/>
  659. <wire x1="104.14" y1="156.21" x2="104.14" y2="177.8" width="0.1524" layer="91"/>
  660. <wire x1="104.14" y1="177.8" x2="129.54" y2="177.8" width="0.1524" layer="91"/>
  661. <wire x1="129.54" y1="177.8" x2="129.54" y2="170.18" width="0.1524" layer="91"/>
  662. <pinref part="JP1" gate="A" pin="4"/>
  663. <wire x1="129.54" y1="170.18" x2="119.38" y2="170.18" width="0.1524" layer="91"/>
  664. </segment>
  665. </net>
  666. <net name="N$5" class="0">
  667. <segment>
  668. <pinref part="IC1" gate="PORTD/OSC" pin="PD0/OSC&lt;="/>
  669. <wire x1="33.02" y1="139.7" x2="67.31" y2="139.7" width="0.1524" layer="91"/>
  670. <wire x1="67.31" y1="139.7" x2="67.31" y2="167.64" width="0.1524" layer="91"/>
  671. <wire x1="67.31" y1="167.64" x2="113.03" y2="167.64" width="0.1524" layer="91"/>
  672. </segment>
  673. </net>
  674. <net name="N$6" class="0">
  675. <segment>
  676. <pinref part="IC1" gate="PORTD/OSC" pin="PD1/OSC=&gt;"/>
  677. <wire x1="33.02" y1="137.16" x2="67.31" y2="137.16" width="0.1524" layer="91"/>
  678. <wire x1="67.31" y1="137.16" x2="67.31" y2="179.07" width="0.1524" layer="91"/>
  679. <wire x1="67.31" y1="179.07" x2="130.81" y2="179.07" width="0.1524" layer="91"/>
  680. <wire x1="130.81" y1="179.07" x2="130.81" y2="167.64" width="0.1524" layer="91"/>
  681. <pinref part="JP1" gate="A" pin="6"/>
  682. <wire x1="130.81" y1="167.64" x2="119.38" y2="167.64" width="0.1524" layer="91"/>
  683. </segment>
  684. </net>
  685. <net name="N$7" class="0">
  686. <segment>
  687. <pinref part="IC1" gate="RESET" pin="NRST"/>
  688. <wire x1="33.02" y1="125.73" x2="68.58" y2="125.73" width="0.1524" layer="91"/>
  689. <wire x1="68.58" y1="125.73" x2="68.58" y2="165.1" width="0.1524" layer="91"/>
  690. <pinref part="JP1" gate="A" pin="7"/>
  691. <wire x1="68.58" y1="165.1" x2="111.76" y2="165.1" width="0.1524" layer="91"/>
  692. </segment>
  693. </net>
  694. <net name="N$8" class="0">
  695. <segment>
  696. <pinref part="IC1" gate="AN_POWER" pin="VSSA"/>
  697. <wire x1="33.02" y1="170.18" x2="63.5" y2="170.18" width="0.1524" layer="91"/>
  698. <wire x1="63.5" y1="170.18" x2="63.5" y2="180.34" width="0.1524" layer="91"/>
  699. <wire x1="63.5" y1="180.34" x2="132.08" y2="180.34" width="0.1524" layer="91"/>
  700. <wire x1="132.08" y1="180.34" x2="132.08" y2="165.1" width="0.1524" layer="91"/>
  701. <pinref part="JP1" gate="A" pin="8"/>
  702. <wire x1="132.08" y1="165.1" x2="119.38" y2="165.1" width="0.1524" layer="91"/>
  703. </segment>
  704. </net>
  705. <net name="N$9" class="0">
  706. <segment>
  707. <pinref part="IC1" gate="AN_POWER" pin="VDDA"/>
  708. <wire x1="33.02" y1="165.1" x2="63.5" y2="165.1" width="0.1524" layer="91"/>
  709. <wire x1="63.5" y1="165.1" x2="63.5" y2="162.56" width="0.1524" layer="91"/>
  710. <pinref part="JP1" gate="A" pin="9"/>
  711. <wire x1="63.5" y1="162.56" x2="111.76" y2="162.56" width="0.1524" layer="91"/>
  712. </segment>
  713. </net>
  714. <net name="N$10" class="0">
  715. <segment>
  716. <pinref part="IC1" gate="PORTA_L" pin="PA0"/>
  717. <wire x1="33.02" y1="105.41" x2="69.85" y2="105.41" width="0.1524" layer="91"/>
  718. <wire x1="69.85" y1="105.41" x2="69.85" y2="181.61" width="0.1524" layer="91"/>
  719. <wire x1="69.85" y1="181.61" x2="133.35" y2="181.61" width="0.1524" layer="91"/>
  720. <wire x1="133.35" y1="181.61" x2="133.35" y2="162.56" width="0.1524" layer="91"/>
  721. <pinref part="JP1" gate="A" pin="10"/>
  722. <wire x1="133.35" y1="162.56" x2="119.38" y2="162.56" width="0.1524" layer="91"/>
  723. </segment>
  724. </net>
  725. <net name="N$11" class="0">
  726. <segment>
  727. <pinref part="IC1" gate="PORTA_L" pin="PA1"/>
  728. <wire x1="33.02" y1="102.87" x2="71.12" y2="102.87" width="0.1524" layer="91"/>
  729. <wire x1="71.12" y1="102.87" x2="71.12" y2="160.02" width="0.1524" layer="91"/>
  730. <pinref part="JP1" gate="A" pin="11"/>
  731. <wire x1="71.12" y1="160.02" x2="111.76" y2="160.02" width="0.1524" layer="91"/>
  732. </segment>
  733. </net>
  734. <net name="N$12" class="0">
  735. <segment>
  736. <pinref part="IC1" gate="PORTA_L" pin="PA2"/>
  737. <wire x1="33.02" y1="100.33" x2="71.12" y2="100.33" width="0.1524" layer="91"/>
  738. <wire x1="71.12" y1="100.33" x2="71.12" y2="182.88" width="0.1524" layer="91"/>
  739. <wire x1="71.12" y1="182.88" x2="134.62" y2="182.88" width="0.1524" layer="91"/>
  740. <wire x1="134.62" y1="182.88" x2="134.62" y2="160.02" width="0.1524" layer="91"/>
  741. <pinref part="JP1" gate="A" pin="12"/>
  742. <wire x1="134.62" y1="160.02" x2="119.38" y2="160.02" width="0.1524" layer="91"/>
  743. </segment>
  744. </net>
  745. <net name="N$13" class="0">
  746. <segment>
  747. <pinref part="IC1" gate="PORTA_L" pin="PA3"/>
  748. <wire x1="33.02" y1="97.79" x2="72.39" y2="97.79" width="0.1524" layer="91"/>
  749. <wire x1="72.39" y1="97.79" x2="72.39" y2="125.73" width="0.1524" layer="91"/>
  750. <pinref part="JP2" gate="A" pin="1"/>
  751. <wire x1="72.39" y1="125.73" x2="111.76" y2="125.73" width="0.1524" layer="91"/>
  752. </segment>
  753. </net>
  754. <net name="N$14" class="0">
  755. <segment>
  756. <pinref part="IC1" gate="PORTA_L" pin="PA4"/>
  757. <wire x1="33.02" y1="95.25" x2="73.66" y2="95.25" width="0.1524" layer="91"/>
  758. <wire x1="73.66" y1="95.25" x2="73.66" y2="130.81" width="0.1524" layer="91"/>
  759. <wire x1="73.66" y1="130.81" x2="125.73" y2="130.81" width="0.1524" layer="91"/>
  760. <wire x1="125.73" y1="130.81" x2="125.73" y2="125.73" width="0.1524" layer="91"/>
  761. <wire x1="125.73" y1="125.73" x2="119.38" y2="125.73" width="0.1524" layer="91"/>
  762. <wire x1="118.11" y1="125.73" x2="119.38" y2="125.73" width="0.1524" layer="91"/>
  763. </segment>
  764. </net>
  765. <net name="N$15" class="0">
  766. <segment>
  767. <pinref part="IC1" gate="PORTA_L" pin="PA5"/>
  768. <wire x1="33.02" y1="92.71" x2="74.93" y2="92.71" width="0.1524" layer="91"/>
  769. <wire x1="74.93" y1="92.71" x2="74.93" y2="123.19" width="0.1524" layer="91"/>
  770. <pinref part="JP2" gate="A" pin="3"/>
  771. <wire x1="74.93" y1="123.19" x2="111.76" y2="123.19" width="0.1524" layer="91"/>
  772. </segment>
  773. </net>
  774. <net name="N$16" class="0">
  775. <segment>
  776. <pinref part="IC1" gate="PORTA_L" pin="PA6"/>
  777. <wire x1="33.02" y1="90.17" x2="76.2" y2="90.17" width="0.1524" layer="91"/>
  778. <wire x1="76.2" y1="90.17" x2="76.2" y2="133.35" width="0.1524" layer="91"/>
  779. <wire x1="76.2" y1="133.35" x2="127" y2="133.35" width="0.1524" layer="91"/>
  780. <wire x1="127" y1="133.35" x2="127" y2="123.19" width="0.1524" layer="91"/>
  781. <pinref part="JP2" gate="A" pin="4"/>
  782. <wire x1="127" y1="123.19" x2="119.38" y2="123.19" width="0.1524" layer="91"/>
  783. </segment>
  784. </net>
  785. <net name="N$17" class="0">
  786. <segment>
  787. <pinref part="IC1" gate="PORTA_L" pin="PA7"/>
  788. <wire x1="33.02" y1="87.63" x2="77.47" y2="87.63" width="0.1524" layer="91"/>
  789. <wire x1="77.47" y1="87.63" x2="77.47" y2="120.65" width="0.1524" layer="91"/>
  790. <pinref part="JP2" gate="A" pin="5"/>
  791. <wire x1="77.47" y1="120.65" x2="111.76" y2="120.65" width="0.1524" layer="91"/>
  792. </segment>
  793. </net>
  794. <net name="N$18" class="0">
  795. <segment>
  796. <pinref part="IC1" gate="PORTB_L" pin="PB0"/>
  797. <wire x1="33.02" y1="76.2" x2="78.74" y2="76.2" width="0.1524" layer="91"/>
  798. <wire x1="78.74" y1="76.2" x2="78.74" y2="134.62" width="0.1524" layer="91"/>
  799. <wire x1="78.74" y1="134.62" x2="128.27" y2="134.62" width="0.1524" layer="91"/>
  800. <wire x1="128.27" y1="134.62" x2="128.27" y2="120.65" width="0.1524" layer="91"/>
  801. <pinref part="JP2" gate="A" pin="6"/>
  802. <wire x1="128.27" y1="120.65" x2="119.38" y2="120.65" width="0.1524" layer="91"/>
  803. </segment>
  804. </net>
  805. <net name="N$19" class="0">
  806. <segment>
  807. <pinref part="IC1" gate="PORTB_L" pin="PB1"/>
  808. <wire x1="33.02" y1="73.66" x2="80.01" y2="73.66" width="0.1524" layer="91"/>
  809. <wire x1="80.01" y1="73.66" x2="80.01" y2="118.11" width="0.1524" layer="91"/>
  810. <pinref part="JP2" gate="A" pin="7"/>
  811. <wire x1="80.01" y1="118.11" x2="111.76" y2="118.11" width="0.1524" layer="91"/>
  812. </segment>
  813. </net>
  814. <net name="N$20" class="0">
  815. <segment>
  816. <pinref part="IC1" gate="PORTB_L" pin="PB2"/>
  817. <wire x1="33.02" y1="71.12" x2="81.28" y2="71.12" width="0.1524" layer="91"/>
  818. <wire x1="81.28" y1="71.12" x2="81.28" y2="135.89" width="0.1524" layer="91"/>
  819. <wire x1="81.28" y1="135.89" x2="129.54" y2="135.89" width="0.1524" layer="91"/>
  820. <wire x1="129.54" y1="135.89" x2="129.54" y2="118.11" width="0.1524" layer="91"/>
  821. <pinref part="JP2" gate="A" pin="8"/>
  822. <wire x1="129.54" y1="118.11" x2="119.38" y2="118.11" width="0.1524" layer="91"/>
  823. </segment>
  824. </net>
  825. <net name="N$21" class="0">
  826. <segment>
  827. <pinref part="IC1" gate="PORTB_H" pin="PB10"/>
  828. <wire x1="33.02" y1="43.18" x2="82.55" y2="43.18" width="0.1524" layer="91"/>
  829. <wire x1="82.55" y1="43.18" x2="82.55" y2="115.57" width="0.1524" layer="91"/>
  830. <pinref part="JP2" gate="A" pin="9"/>
  831. <wire x1="82.55" y1="115.57" x2="111.76" y2="115.57" width="0.1524" layer="91"/>
  832. </segment>
  833. </net>
  834. <net name="N$22" class="0">
  835. <segment>
  836. <pinref part="IC1" gate="PORTB_H" pin="PB11"/>
  837. <wire x1="33.02" y1="40.64" x2="83.82" y2="40.64" width="0.1524" layer="91"/>
  838. <wire x1="83.82" y1="40.64" x2="83.82" y2="137.16" width="0.1524" layer="91"/>
  839. <wire x1="83.82" y1="137.16" x2="130.81" y2="137.16" width="0.1524" layer="91"/>
  840. <wire x1="130.81" y1="137.16" x2="130.81" y2="115.57" width="0.1524" layer="91"/>
  841. <pinref part="JP2" gate="A" pin="10"/>
  842. <wire x1="130.81" y1="115.57" x2="119.38" y2="115.57" width="0.1524" layer="91"/>
  843. </segment>
  844. </net>
  845. <net name="N$23" class="0">
  846. <segment>
  847. <pinref part="IC1" gate="POWER" pin="VSS_1"/>
  848. <wire x1="-1.27" y1="96.52" x2="16.51" y2="96.52" width="0.1524" layer="91"/>
  849. <wire x1="16.51" y1="96.52" x2="16.51" y2="113.03" width="0.1524" layer="91"/>
  850. <pinref part="JP2" gate="A" pin="11"/>
  851. <wire x1="16.51" y1="113.03" x2="111.76" y2="113.03" width="0.1524" layer="91"/>
  852. </segment>
  853. </net>
  854. <net name="N$24" class="0">
  855. <segment>
  856. <pinref part="IC1" gate="POWER" pin="VDD_1"/>
  857. <wire x1="-1.27" y1="116.84" x2="66.04" y2="116.84" width="0.1524" layer="91"/>
  858. <wire x1="66.04" y1="116.84" x2="66.04" y2="111.76" width="0.1524" layer="91"/>
  859. <wire x1="66.04" y1="111.76" x2="106.68" y2="111.76" width="0.1524" layer="91"/>
  860. <wire x1="106.68" y1="111.76" x2="106.68" y2="110.49" width="0.1524" layer="91"/>
  861. <wire x1="106.68" y1="110.49" x2="124.46" y2="110.49" width="0.1524" layer="91"/>
  862. <wire x1="124.46" y1="110.49" x2="124.46" y2="113.03" width="0.1524" layer="91"/>
  863. <pinref part="JP2" gate="A" pin="12"/>
  864. <wire x1="124.46" y1="113.03" x2="119.38" y2="113.03" width="0.1524" layer="91"/>
  865. </segment>
  866. </net>
  867. <net name="N$25" class="0">
  868. <segment>
  869. <pinref part="IC1" gate="PORTB_H" pin="PB12"/>
  870. <wire x1="33.02" y1="38.1" x2="85.09" y2="38.1" width="0.1524" layer="91"/>
  871. <wire x1="85.09" y1="38.1" x2="85.09" y2="78.74" width="0.1524" layer="91"/>
  872. <pinref part="JP3" gate="A" pin="1"/>
  873. <wire x1="85.09" y1="78.74" x2="111.76" y2="78.74" width="0.1524" layer="91"/>
  874. </segment>
  875. </net>
  876. <net name="N$26" class="0">
  877. <segment>
  878. <pinref part="IC1" gate="PORTB_H" pin="PB13"/>
  879. <wire x1="33.02" y1="35.56" x2="86.36" y2="35.56" width="0.1524" layer="91"/>
  880. <wire x1="86.36" y1="35.56" x2="86.36" y2="83.82" width="0.1524" layer="91"/>
  881. <wire x1="86.36" y1="83.82" x2="124.46" y2="83.82" width="0.1524" layer="91"/>
  882. <wire x1="124.46" y1="83.82" x2="124.46" y2="78.74" width="0.1524" layer="91"/>
  883. <pinref part="JP3" gate="A" pin="2"/>
  884. <wire x1="124.46" y1="78.74" x2="119.38" y2="78.74" width="0.1524" layer="91"/>
  885. </segment>
  886. </net>
  887. <net name="N$27" class="0">
  888. <segment>
  889. <pinref part="IC1" gate="PORTB_H" pin="PB14"/>
  890. <wire x1="33.02" y1="33.02" x2="87.63" y2="33.02" width="0.1524" layer="91"/>
  891. <wire x1="87.63" y1="33.02" x2="87.63" y2="76.2" width="0.1524" layer="91"/>
  892. <pinref part="JP3" gate="A" pin="3"/>
  893. <wire x1="87.63" y1="76.2" x2="111.76" y2="76.2" width="0.1524" layer="91"/>
  894. </segment>
  895. </net>
  896. <net name="N$28" class="0">
  897. <segment>
  898. <pinref part="IC1" gate="PORTB_H" pin="PB15"/>
  899. <wire x1="33.02" y1="30.48" x2="88.9" y2="30.48" width="0.1524" layer="91"/>
  900. <wire x1="88.9" y1="30.48" x2="88.9" y2="85.09" width="0.1524" layer="91"/>
  901. <wire x1="88.9" y1="85.09" x2="125.73" y2="85.09" width="0.1524" layer="91"/>
  902. <wire x1="125.73" y1="85.09" x2="125.73" y2="76.2" width="0.1524" layer="91"/>
  903. <pinref part="JP3" gate="A" pin="4"/>
  904. <wire x1="125.73" y1="76.2" x2="119.38" y2="76.2" width="0.1524" layer="91"/>
  905. </segment>
  906. </net>
  907. <net name="N$29" class="0">
  908. <segment>
  909. <wire x1="31.75" y1="20.32" x2="90.17" y2="20.32" width="0.1524" layer="91"/>
  910. <wire x1="90.17" y1="20.32" x2="90.17" y2="73.66" width="0.1524" layer="91"/>
  911. <pinref part="JP3" gate="A" pin="5"/>
  912. <wire x1="90.17" y1="73.66" x2="111.76" y2="73.66" width="0.1524" layer="91"/>
  913. </segment>
  914. </net>
  915. <net name="N$30" class="0">
  916. <segment>
  917. <pinref part="IC1" gate="PORTA_H" pin="PA9"/>
  918. <wire x1="33.02" y1="17.78" x2="91.44" y2="17.78" width="0.1524" layer="91"/>
  919. <wire x1="91.44" y1="17.78" x2="91.44" y2="86.36" width="0.1524" layer="91"/>
  920. <wire x1="91.44" y1="86.36" x2="127" y2="86.36" width="0.1524" layer="91"/>
  921. <wire x1="127" y1="86.36" x2="127" y2="73.66" width="0.1524" layer="91"/>
  922. <pinref part="JP3" gate="A" pin="6"/>
  923. <wire x1="127" y1="73.66" x2="119.38" y2="73.66" width="0.1524" layer="91"/>
  924. </segment>
  925. </net>
  926. <net name="N$31" class="0">
  927. <segment>
  928. <pinref part="IC1" gate="PORTA_H" pin="PA10"/>
  929. <wire x1="33.02" y1="15.24" x2="92.71" y2="15.24" width="0.1524" layer="91"/>
  930. <wire x1="92.71" y1="15.24" x2="92.71" y2="71.12" width="0.1524" layer="91"/>
  931. <pinref part="JP3" gate="A" pin="7"/>
  932. <wire x1="92.71" y1="71.12" x2="111.76" y2="71.12" width="0.1524" layer="91"/>
  933. </segment>
  934. </net>
  935. <net name="N$32" class="0">
  936. <segment>
  937. <pinref part="IC1" gate="PORTA_H" pin="PA11"/>
  938. <wire x1="33.02" y1="12.7" x2="93.98" y2="12.7" width="0.1524" layer="91"/>
  939. <wire x1="93.98" y1="12.7" x2="93.98" y2="87.63" width="0.1524" layer="91"/>
  940. <wire x1="93.98" y1="87.63" x2="128.27" y2="87.63" width="0.1524" layer="91"/>
  941. <wire x1="128.27" y1="87.63" x2="128.27" y2="71.12" width="0.1524" layer="91"/>
  942. <pinref part="JP3" gate="A" pin="8"/>
  943. <wire x1="128.27" y1="71.12" x2="119.38" y2="71.12" width="0.1524" layer="91"/>
  944. </segment>
  945. </net>
  946. <net name="N$33" class="0">
  947. <segment>
  948. <pinref part="IC1" gate="PORTA_H" pin="PA12"/>
  949. <wire x1="33.02" y1="10.16" x2="95.25" y2="10.16" width="0.1524" layer="91"/>
  950. <wire x1="95.25" y1="10.16" x2="95.25" y2="68.58" width="0.1524" layer="91"/>
  951. <pinref part="JP3" gate="A" pin="9"/>
  952. <wire x1="95.25" y1="68.58" x2="111.76" y2="68.58" width="0.1524" layer="91"/>
  953. </segment>
  954. </net>
  955. <net name="N$34" class="0">
  956. <segment>
  957. <pinref part="IC1" gate="PORTA_H" pin="PA13"/>
  958. <wire x1="33.02" y1="7.62" x2="96.52" y2="7.62" width="0.1524" layer="91"/>
  959. <wire x1="96.52" y1="7.62" x2="96.52" y2="88.9" width="0.1524" layer="91"/>
  960. <wire x1="96.52" y1="88.9" x2="129.54" y2="88.9" width="0.1524" layer="91"/>
  961. <wire x1="129.54" y1="88.9" x2="129.54" y2="68.58" width="0.1524" layer="91"/>
  962. <pinref part="JP3" gate="A" pin="10"/>
  963. <wire x1="129.54" y1="68.58" x2="119.38" y2="68.58" width="0.1524" layer="91"/>
  964. </segment>
  965. </net>
  966. <net name="N$35" class="0">
  967. <segment>
  968. <pinref part="IC1" gate="POWER" pin="VSS_2"/>
  969. <wire x1="-1.27" y1="91.44" x2="13.97" y2="91.44" width="0.1524" layer="91"/>
  970. <wire x1="13.97" y1="91.44" x2="13.97" y2="82.55" width="0.1524" layer="91"/>
  971. <wire x1="13.97" y1="82.55" x2="77.47" y2="82.55" width="0.1524" layer="91"/>
  972. <wire x1="77.47" y1="82.55" x2="77.47" y2="66.04" width="0.1524" layer="91"/>
  973. <pinref part="JP3" gate="A" pin="11"/>
  974. <wire x1="77.47" y1="66.04" x2="111.76" y2="66.04" width="0.1524" layer="91"/>
  975. </segment>
  976. </net>
  977. <net name="N$36" class="0">
  978. <segment>
  979. <pinref part="IC1" gate="POWER" pin="VDD_2"/>
  980. <wire x1="-1.27" y1="111.76" x2="12.7" y2="111.76" width="0.1524" layer="91"/>
  981. <wire x1="12.7" y1="111.76" x2="12.7" y2="81.28" width="0.1524" layer="91"/>
  982. <wire x1="12.7" y1="81.28" x2="76.2" y2="81.28" width="0.1524" layer="91"/>
  983. <wire x1="76.2" y1="81.28" x2="76.2" y2="63.5" width="0.1524" layer="91"/>
  984. <wire x1="76.2" y1="63.5" x2="97.79" y2="63.5" width="0.1524" layer="91"/>
  985. <wire x1="97.79" y1="63.5" x2="97.79" y2="90.17" width="0.1524" layer="91"/>
  986. <wire x1="97.79" y1="90.17" x2="130.81" y2="90.17" width="0.1524" layer="91"/>
  987. <wire x1="130.81" y1="90.17" x2="130.81" y2="66.04" width="0.1524" layer="91"/>
  988. <pinref part="JP3" gate="A" pin="12"/>
  989. <wire x1="130.81" y1="66.04" x2="119.38" y2="66.04" width="0.1524" layer="91"/>
  990. </segment>
  991. </net>
  992. <net name="N$37" class="0">
  993. <segment>
  994. <pinref part="IC1" gate="PORTA_H" pin="PA14"/>
  995. <wire x1="33.02" y1="5.08" x2="97.79" y2="5.08" width="0.1524" layer="91"/>
  996. <wire x1="97.79" y1="5.08" x2="97.79" y2="26.67" width="0.1524" layer="91"/>
  997. <pinref part="JP4" gate="A" pin="1"/>
  998. <wire x1="97.79" y1="26.67" x2="132.08" y2="26.67" width="0.1524" layer="91"/>
  999. </segment>
  1000. </net>
  1001. <net name="N$38" class="0">
  1002. <segment>
  1003. <wire x1="31.75" y1="2.54" x2="99.06" y2="2.54" width="0.1524" layer="91"/>
  1004. <wire x1="99.06" y1="2.54" x2="99.06" y2="31.75" width="0.1524" layer="91"/>
  1005. <wire x1="99.06" y1="31.75" x2="146.05" y2="31.75" width="0.1524" layer="91"/>
  1006. <wire x1="146.05" y1="31.75" x2="146.05" y2="26.67" width="0.1524" layer="91"/>
  1007. <pinref part="JP4" gate="A" pin="2"/>
  1008. <wire x1="146.05" y1="26.67" x2="139.7" y2="26.67" width="0.1524" layer="91"/>
  1009. </segment>
  1010. </net>
  1011. <net name="N$39" class="0">
  1012. <segment>
  1013. <pinref part="IC1" gate="PORTB_L" pin="PB3"/>
  1014. <wire x1="33.02" y1="68.58" x2="74.93" y2="68.58" width="0.1524" layer="91"/>
  1015. <wire x1="74.93" y1="68.58" x2="74.93" y2="62.23" width="0.1524" layer="91"/>
  1016. <wire x1="74.93" y1="62.23" x2="127" y2="62.23" width="0.1524" layer="91"/>
  1017. <wire x1="127" y1="62.23" x2="127" y2="24.13" width="0.1524" layer="91"/>
  1018. <pinref part="JP4" gate="A" pin="3"/>
  1019. <wire x1="127" y1="24.13" x2="132.08" y2="24.13" width="0.1524" layer="91"/>
  1020. </segment>
  1021. </net>
  1022. <net name="N$40" class="0">
  1023. <segment>
  1024. <pinref part="IC1" gate="PORTB_L" pin="PB4"/>
  1025. <wire x1="33.02" y1="66.04" x2="73.66" y2="66.04" width="0.1524" layer="91"/>
  1026. <wire x1="73.66" y1="66.04" x2="73.66" y2="60.96" width="0.1524" layer="91"/>
  1027. <wire x1="73.66" y1="60.96" x2="147.32" y2="60.96" width="0.1524" layer="91"/>
  1028. <wire x1="147.32" y1="60.96" x2="147.32" y2="24.13" width="0.1524" layer="91"/>
  1029. <pinref part="JP4" gate="A" pin="4"/>
  1030. <wire x1="147.32" y1="24.13" x2="139.7" y2="24.13" width="0.1524" layer="91"/>
  1031. </segment>
  1032. </net>
  1033. <net name="N$41" class="0">
  1034. <segment>
  1035. <pinref part="IC1" gate="PORTB_L" pin="PB5"/>
  1036. <wire x1="33.02" y1="63.5" x2="72.39" y2="63.5" width="0.1524" layer="91"/>
  1037. <wire x1="72.39" y1="63.5" x2="72.39" y2="59.69" width="0.1524" layer="91"/>
  1038. <wire x1="72.39" y1="59.69" x2="125.73" y2="59.69" width="0.1524" layer="91"/>
  1039. <wire x1="125.73" y1="59.69" x2="125.73" y2="21.59" width="0.1524" layer="91"/>
  1040. <pinref part="JP4" gate="A" pin="5"/>
  1041. <wire x1="125.73" y1="21.59" x2="132.08" y2="21.59" width="0.1524" layer="91"/>
  1042. </segment>
  1043. </net>
  1044. <net name="N$42" class="0">
  1045. <segment>
  1046. <pinref part="IC1" gate="PORTB_L" pin="PB6"/>
  1047. <wire x1="33.02" y1="60.96" x2="71.12" y2="60.96" width="0.1524" layer="91"/>
  1048. <wire x1="71.12" y1="60.96" x2="71.12" y2="58.42" width="0.1524" layer="91"/>
  1049. <wire x1="71.12" y1="58.42" x2="148.59" y2="58.42" width="0.1524" layer="91"/>
  1050. <wire x1="148.59" y1="58.42" x2="148.59" y2="21.59" width="0.1524" layer="91"/>
  1051. <pinref part="JP4" gate="A" pin="6"/>
  1052. <wire x1="148.59" y1="21.59" x2="139.7" y2="21.59" width="0.1524" layer="91"/>
  1053. </segment>
  1054. </net>
  1055. <net name="N$43" class="0">
  1056. <segment>
  1057. <pinref part="IC1" gate="PORTB_L" pin="PB7"/>
  1058. <wire x1="33.02" y1="58.42" x2="69.85" y2="58.42" width="0.1524" layer="91"/>
  1059. <wire x1="69.85" y1="58.42" x2="69.85" y2="57.15" width="0.1524" layer="91"/>
  1060. <wire x1="69.85" y1="57.15" x2="124.46" y2="57.15" width="0.1524" layer="91"/>
  1061. <wire x1="124.46" y1="57.15" x2="124.46" y2="19.05" width="0.1524" layer="91"/>
  1062. <pinref part="JP4" gate="A" pin="7"/>
  1063. <wire x1="124.46" y1="19.05" x2="132.08" y2="19.05" width="0.1524" layer="91"/>
  1064. </segment>
  1065. </net>
  1066. <net name="N$44" class="0">
  1067. <segment>
  1068. <pinref part="IC1" gate="RESET" pin="BOOT0"/>
  1069. <wire x1="33.02" y1="120.65" x2="68.58" y2="120.65" width="0.1524" layer="91"/>
  1070. <wire x1="68.58" y1="120.65" x2="68.58" y2="55.88" width="0.1524" layer="91"/>
  1071. <wire x1="68.58" y1="55.88" x2="149.86" y2="55.88" width="0.1524" layer="91"/>
  1072. <wire x1="149.86" y1="55.88" x2="149.86" y2="19.05" width="0.1524" layer="91"/>
  1073. <pinref part="JP4" gate="A" pin="8"/>
  1074. <wire x1="149.86" y1="19.05" x2="139.7" y2="19.05" width="0.1524" layer="91"/>
  1075. </segment>
  1076. </net>
  1077. <net name="N$45" class="0">
  1078. <segment>
  1079. <pinref part="IC1" gate="PORTB_H" pin="PB8"/>
  1080. <wire x1="33.02" y1="48.26" x2="123.19" y2="48.26" width="0.1524" layer="91"/>
  1081. <wire x1="123.19" y1="48.26" x2="123.19" y2="16.51" width="0.1524" layer="91"/>
  1082. <pinref part="JP4" gate="A" pin="9"/>
  1083. <wire x1="123.19" y1="16.51" x2="132.08" y2="16.51" width="0.1524" layer="91"/>
  1084. </segment>
  1085. </net>
  1086. <net name="N$46" class="0">
  1087. <segment>
  1088. <wire x1="31.75" y1="45.72" x2="151.13" y2="45.72" width="0.1524" layer="91"/>
  1089. <wire x1="151.13" y1="45.72" x2="151.13" y2="16.51" width="0.1524" layer="91"/>
  1090. <pinref part="JP4" gate="A" pin="10"/>
  1091. <wire x1="151.13" y1="16.51" x2="139.7" y2="16.51" width="0.1524" layer="91"/>
  1092. </segment>
  1093. </net>
  1094. <net name="N$47" class="0">
  1095. <segment>
  1096. <pinref part="IC1" gate="POWER" pin="VSS_3"/>
  1097. <wire x1="-1.27" y1="86.36" x2="11.43" y2="86.36" width="0.1524" layer="91"/>
  1098. <wire x1="11.43" y1="86.36" x2="11.43" y2="54.61" width="0.1524" layer="91"/>
  1099. <wire x1="11.43" y1="54.61" x2="121.92" y2="54.61" width="0.1524" layer="91"/>
  1100. <wire x1="121.92" y1="54.61" x2="121.92" y2="13.97" width="0.1524" layer="91"/>
  1101. <pinref part="JP4" gate="A" pin="11"/>
  1102. <wire x1="121.92" y1="13.97" x2="132.08" y2="13.97" width="0.1524" layer="91"/>
  1103. </segment>
  1104. </net>
  1105. <net name="N$48" class="0">
  1106. <segment>
  1107. <pinref part="IC1" gate="POWER" pin="VDD_3"/>
  1108. <wire x1="-1.27" y1="106.68" x2="10.16" y2="106.68" width="0.1524" layer="91"/>
  1109. <wire x1="10.16" y1="106.68" x2="10.16" y2="52.07" width="0.1524" layer="91"/>
  1110. <wire x1="10.16" y1="52.07" x2="152.4" y2="52.07" width="0.1524" layer="91"/>
  1111. <wire x1="152.4" y1="52.07" x2="152.4" y2="13.97" width="0.1524" layer="91"/>
  1112. <pinref part="JP4" gate="A" pin="12"/>
  1113. <wire x1="152.4" y1="13.97" x2="139.7" y2="13.97" width="0.1524" layer="91"/>
  1114. </segment>
  1115. </net>
  1116. </nets>
  1117. </sheet>
  1118. </sheets>
  1119. </schematic>
  1120. </drawing>
  1121. </eagle>