首页下载资源物联网QT上位机+STM32

RARQT上位机+STM32

m0_7373170832.27MB需要积分:1

资源文件列表:

QT+STM32.rar 大约有482个文件
  1. QT+STM32\shangwei\D3Dcompiler_47.dll 1.4MB
  2. QT+STM32\shangwei\iconengines\qsvgicon.dll 19.87KB
  3. QT+STM32\shangwei\imageformats\qgif.dll 19.14KB
  4. QT+STM32\shangwei\imageformats\qicns.dll 22.22KB
  5. QT+STM32\shangwei\imageformats\qico.dll 17.74KB
  6. QT+STM32\shangwei\imageformats\qjpeg.dll 107.41KB
  7. QT+STM32\shangwei\imageformats\qsvg.dll 14.57KB
  8. QT+STM32\shangwei\imageformats\qtga.dll 14.1KB
  9. QT+STM32\shangwei\imageformats\qtiff.dll 170.99KB
  10. QT+STM32\shangwei\imageformats\qwbmp.dll 13.89KB
  11. QT+STM32\shangwei\imageformats\qwebp.dll 229.29KB
  12. QT+STM32\shangwei\libEGL.dll 12.42KB
  13. QT+STM32\shangwei\libgcc_s_seh-1.dll 31.7KB
  14. QT+STM32\shangwei\libGLESV2.dll 1.01MB
  15. QT+STM32\shangwei\libstdc++-6.dll 297.9KB
  16. QT+STM32\shangwei\libwinpthread-1.dll 20.48KB
  17. QT+STM32\shangwei\opengl32sw.dll 5.42MB
  18. QT+STM32\shangwei\platforms\qwindows.dll 743.46KB
  19. QT+STM32\shangwei\Qt5Core.dll 2.31MB
  20. QT+STM32\shangwei\Qt5Gui.dll 2.12MB
  21. QT+STM32\shangwei\Qt5SerialPort.dll 32.95KB
  22. QT+STM32\shangwei\Qt5Svg.dll 130KB
  23. QT+STM32\shangwei\Qt5Widgets.dll 1.96MB
  24. QT+STM32\shangwei\shangwei.exe 1.77MB
  25. QT+STM32\shangwei\styles\qwindowsvistastyle.dll 71.05KB
  26. QT+STM32\shangwei\translations\qt_ar.qm 41.69KB
  27. QT+STM32\shangwei\translations\qt_bg.qm 40.58KB
  28. QT+STM32\shangwei\translations\qt_ca.qm 44.11KB
  29. QT+STM32\shangwei\translations\qt_cs.qm 43.25KB
  30. QT+STM32\shangwei\translations\qt_da.qm 42.99KB
  31. QT+STM32\shangwei\translations\qt_de.qm 49.19KB
  32. QT+STM32\shangwei\translations\qt_en.qm 23B
  33. QT+STM32\shangwei\translations\qt_es.qm 40.82KB
  34. QT+STM32\shangwei\translations\qt_fi.qm 44.19KB
  35. QT+STM32\shangwei\translations\qt_fr.qm 39.82KB
  36. QT+STM32\shangwei\translations\qt_gd.qm 45.65KB
  37. QT+STM32\shangwei\translations\qt_he.qm 37.04KB
  38. QT+STM32\shangwei\translations\qt_hu.qm 41.51KB
  39. QT+STM32\shangwei\translations\qt_it.qm 39.35KB
  40. QT+STM32\shangwei\translations\qt_ja.qm 39.68KB
  41. QT+STM32\shangwei\translations\qt_ko.qm 39.5KB
  42. QT+STM32\shangwei\translations\qt_lv.qm 38.9KB
  43. QT+STM32\shangwei\translations\qt_pl.qm 42.12KB
  44. QT+STM32\shangwei\translations\qt_ru.qm 47.67KB
  45. QT+STM32\shangwei\translations\qt_sk.qm 32.77KB
  46. QT+STM32\shangwei\translations\qt_uk.qm 40.44KB
  47. QT+STM32\shangwei\translations\qt_zh_TW.qm 36.43KB
  48. QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x.h 47.94KB
  49. QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x_conf.h 1.16KB
  50. QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x_it.c 1.11KB
  51. QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x_it.h 809B
  52. QT+STM32\STM32\STM32\STM32\Cmsis\system_stm32f10x.c 5.54KB
  53. QT+STM32\STM32\STM32\STM32\Cmsis\system_stm32f10x.h 829B
  54. QT+STM32\STM32\STM32\STM32\Hex\core_cm3.crf 1.79KB
  55. QT+STM32\STM32\STM32\STM32\Hex\core_cm3.d 101B
  56. QT+STM32\STM32\STM32\STM32\Hex\core_cm3.o 3.87KB
  57. QT+STM32\STM32\STM32\STM32\Hex\delay.crf 73.18KB
  58. QT+STM32\STM32\STM32\STM32\Hex\delay.d 276B
  59. QT+STM32\STM32\STM32\STM32\Hex\delay.o 62.41KB
  60. QT+STM32\STM32\STM32\STM32\Hex\ili9486.crf 81.78KB
  61. QT+STM32\STM32\STM32\STM32\Hex\ili9486.d 297B
  62. QT+STM32\STM32\STM32\STM32\Hex\ili9486.o 66.74KB
  63. QT+STM32\STM32\STM32\STM32\Hex\lcd_gui.crf 78.18KB
  64. QT+STM32\STM32\STM32\STM32\Hex\lcd_gui.d 299B
  65. QT+STM32\STM32\STM32\STM32\Hex\lcd_gui.o 69.19KB
  66. QT+STM32\STM32\STM32\STM32\Hex\main_1.crf 77.27KB
  67. QT+STM32\STM32\STM32\STM32\Hex\main_1.d 315B
  68. QT+STM32\STM32\STM32\STM32\Hex\main_1.o 124.29KB
  69. QT+STM32\STM32\STM32\STM32\Hex\misc.crf 73.73KB
  70. QT+STM32\STM32\STM32\STM32\Hex\misc.d 257B
  71. QT+STM32\STM32\STM32\STM32\Hex\misc.o 63.18KB
  72. QT+STM32\STM32\STM32\STM32\Hex\nvic.crf 72.98KB
  73. QT+STM32\STM32\STM32\STM32\Hex\nvic.d 261B
  74. QT+STM32\STM32\STM32\STM32\Hex\nvic.o 62.55KB
  75. QT+STM32\STM32\STM32\STM32\Hex\startup_stm32f10x_hd.d 59B
  76. QT+STM32\STM32\STM32\STM32\Hex\startup_stm32f10x_hd.o 2.13KB
  77. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_adc.crf 77.02KB
  78. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_adc.d 256B
  79. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_adc.o 65.89KB
  80. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_bkp.crf 74.19KB
  81. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_bkp.d 256B
  82. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_bkp.o 64.1KB
  83. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_can.crf 78.95KB
  84. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_can.d 257B
  85. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_can.o 67.07KB
  86. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_cec.crf 74.37KB
  87. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_cec.d 258B
  88. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_cec.o 63.96KB
  89. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_crc.crf 73.45KB
  90. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_crc.d 255B
  91. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_crc.o 63.3KB
  92. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dac.crf 74.36KB
  93. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dac.d 256B
  94. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dac.o 64.41KB
  95. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dbgmcu.crf 73.36KB
  96. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dbgmcu.d 260B
  97. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dbgmcu.o 62.78KB
  98. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dma.crf 75.52KB
  99. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dma.d 258B
  100. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dma.o 63.94KB
  101. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_exti.crf 74.22KB
  102. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_exti.d 257B
  103. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_exti.o 63.11KB
  104. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_flash.crf 77.94KB
  105. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_flash.d 260B
  106. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_flash.o 66.03KB
  107. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_fsmc.crf 76.52KB
  108. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_fsmc.d 258B
  109. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_fsmc.o 65.03KB
  110. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_gpio.crf 75.98KB
  111. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_gpio.d 255B
  112. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_gpio.o 64.99KB
  113. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_i2c.crf 76.54KB
  114. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_i2c.d 256B
  115. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_i2c.o 66.15KB
  116. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_it.crf 73.27KB
  117. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_it.d 243B
  118. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_it.o 62.95KB
  119. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_iwdg.crf 73.53KB
  120. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_iwdg.d 256B
  121. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_iwdg.o 62.7KB
  122. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_pwr.crf 74.16KB
  123. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_pwr.d 257B
  124. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_pwr.o 63.67KB
  125. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rcc.crf 76.76KB
  126. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rcc.d 255B
  127. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rcc.o 66.52KB
  128. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rtc.crf 74.4KB
  129. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rtc.d 256B
  130. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rtc.o 63.28KB
  131. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_sdio.crf 76.03KB
  132. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_sdio.d 256B
  133. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_sdio.o 64.62KB
  134. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_spi.crf 76.03KB
  135. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_spi.d 255B
  136. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_spi.o 65.09KB
  137. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_tim.crf 86.33KB
  138. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_tim.d 258B
  139. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_tim.o 69.6KB
  140. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_usart.crf 76.88KB
  141. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_usart.d 258B
  142. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_usart.o 65.98KB
  143. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_wwdg.crf 73.96KB
  144. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_wwdg.d 257B
  145. QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_wwdg.o 63.36KB
  146. QT+STM32\STM32\STM32\STM32\Hex\stm32_project.axf 122.38KB
  147. QT+STM32\STM32\STM32\STM32\Hex\stm32_project.build_log.htm 930B
  148. QT+STM32\STM32\STM32\STM32\Hex\stm32_project.hex 113.38KB
  149. QT+STM32\STM32\STM32\STM32\Hex\stm32_project.htm 4.86KB
  150. QT+STM32\STM32\STM32\STM32\Hex\stm32_project.lnp 366B
  151. QT+STM32\STM32\STM32\STM32\Hex\stm32_project.sct 237B
  152. QT+STM32\STM32\STM32\STM32\Hex\stm32_project_Target 1.dep 1.76KB
  153. QT+STM32\STM32\STM32\STM32\Hex\system_stm32f10x.crf 75.54KB
  154. QT+STM32\STM32\STM32\STM32\Hex\system_stm32f10x.d 246B
  155. QT+STM32\STM32\STM32\STM32\Hex\system_stm32f10x.o 63.48KB
  156. QT+STM32\STM32\STM32\STM32\Hex\sys_tick.crf 73.21KB
  157. QT+STM32\STM32\STM32\STM32\Hex\sys_tick.d 256B
  158. QT+STM32\STM32\STM32\STM32\Hex\sys_tick.o 63.24KB
  159. QT+STM32\STM32\STM32\STM32\Hex\usart.crf 74.29KB
  160. QT+STM32\STM32\STM32\STM32\Hex\usart.d 258B
  161. QT+STM32\STM32\STM32\STM32\Hex\usart.o 63.32KB
  162. QT+STM32\STM32\STM32\STM32\library\cmsis\core_cm3.c 2.57KB
  163. QT+STM32\STM32\STM32\STM32\library\cmsis\core_cm3.h 12.02KB
  164. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\misc.h 1.9KB
  165. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_adc.h 3.25KB
  166. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_bkp.h 1.5KB
  167. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_can.h 4.88KB
  168. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_cec.h 1.65KB
  169. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_crc.h 867B
  170. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_dac.h 2.45KB
  171. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_dbgmcu.h 1.05KB
  172. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_dma.h 2.82KB
  173. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_exti.h 1.64KB
  174. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_flash.h 3.39KB
  175. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_fsmc.h 4.18KB
  176. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_gpio.h 3.22KB
  177. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_i2c.h 6.4KB
  178. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_iwdg.h 1.1KB
  179. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_pwr.h 1.24KB
  180. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_rcc.h 3.85KB
  181. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_rtc.h 1.24KB
  182. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_sdio.h 3.54KB
  183. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_spi.h 3.24KB
  184. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_tim.h 6.19KB
  185. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_usart.h 3.1KB
  186. QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_wwdg.h 1KB
  187. QT+STM32\STM32\STM32\STM32\library\fwlib\src\misc.c 1.96KB
  188. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_adc.c 6.11KB
  189. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_bkp.c 2.15KB
  190. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_can.c 7.37KB
  191. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_cec.c 2.88KB
  192. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_crc.c 1.11KB
  193. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_dac.c 3.21KB
  194. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_dbgmcu.c 1.37KB
  195. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_dma.c 3.57KB
  196. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_exti.c 1.74KB
  197. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_flash.c 7.06KB
  198. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_fsmc.c 4.57KB
  199. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_gpio.c 4.26KB
  200. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_i2c.c 8KB
  201. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_iwdg.c 1.42KB
  202. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_pwr.c 2.26KB
  203. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_rcc.c 7.56KB
  204. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_rtc.c 2.13KB
  205. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_sdio.c 4.67KB
  206. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_spi.c 5.8KB
  207. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_tim.c 10.71KB
  208. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_usart.c 5.88KB
  209. QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_wwdg.c 1.71KB
  210. QT+STM32\STM32\STM32\STM32\list\startup_stm32f10x_hd.lst 6.04KB
  211. QT+STM32\STM32\STM32\STM32\list\stm32_project.map 11.66KB
  212. QT+STM32\STM32\STM32\STM32\obj\24c02.crf 75.23KB
  213. QT+STM32\STM32\STM32\STM32\obj\24c02.d 278B
  214. QT+STM32\STM32\STM32\STM32\obj\24c02.o 64.39KB
  215. QT+STM32\STM32\STM32\STM32\obj\adc.crf 75.97KB
  216. QT+STM32\STM32\STM32\STM32\obj\adc.d 266B
  217. QT+STM32\STM32\STM32\STM32\obj\adc.o 64.79KB
  218. QT+STM32\STM32\STM32\STM32\obj\beep.crf 73.6KB
  219. QT+STM32\STM32\STM32\STM32\obj\beep.d 260B
  220. QT+STM32\STM32\STM32\STM32\obj\beep.o 62.8KB
  221. QT+STM32\STM32\STM32\STM32\obj\cjson.crf 3.59KB
  222. QT+STM32\STM32\STM32\STM32\obj\cjson.d 107B
  223. QT+STM32\STM32\STM32\STM32\obj\cjson.o 4.91KB
  224. QT+STM32\STM32\STM32\STM32\obj\core_cm3.crf 1.78KB
  225. QT+STM32\STM32\STM32\STM32\obj\core_cm3.d 100B
  226. QT+STM32\STM32\STM32\STM32\obj\core_cm3.o 3.84KB
  227. QT+STM32\STM32\STM32\STM32\obj\delay.crf 73.17KB
  228. QT+STM32\STM32\STM32\STM32\obj\delay.d 271B
  229. QT+STM32\STM32\STM32\STM32\obj\delay.o 62.77KB
  230. QT+STM32\STM32\STM32\STM32\obj\deley.crf 73.19KB
  231. QT+STM32\STM32\STM32\STM32\obj\deley.d 276B
  232. QT+STM32\STM32\STM32\STM32\obj\deley.o 62.93KB
  233. QT+STM32\STM32\STM32\STM32\obj\deplay.crf 78.21KB
  234. QT+STM32\STM32\STM32\STM32\obj\deplay.d 294B
  235. QT+STM32\STM32\STM32\STM32\obj\deplay.o 65.63KB
  236. QT+STM32\STM32\STM32\STM32\obj\dht11.crf 74.16KB
  237. QT+STM32\STM32\STM32\STM32\obj\dht11.d 272B
  238. QT+STM32\STM32\STM32\STM32\obj\dht11.o 63.57KB
  239. QT+STM32\STM32\STM32\STM32\obj\d_sunpir.crf 73.66KB
  240. QT+STM32\STM32\STM32\STM32\obj\d_sunpir.d 271B
  241. QT+STM32\STM32\STM32\STM32\obj\d_sunpir.o 62.78KB
  242. QT+STM32\STM32\STM32\STM32\obj\exit.crf 75.9KB
  243. QT+STM32\STM32\STM32\STM32\obj\exit.d 279B
  244. QT+STM32\STM32\STM32\STM32\obj\exit.o 63.96KB
  245. QT+STM32\STM32\STM32\STM32\obj\ExtDll.iex 19B
  246. QT+STM32\STM32\STM32\STM32\obj\gsm.crf 80.99KB
  247. QT+STM32\STM32\STM32\STM32\obj\gsm.d 292B
  248. QT+STM32\STM32\STM32\STM32\obj\gsm.o 67.51KB
  249. QT+STM32\STM32\STM32\STM32\obj\gy30.crf 73.87KB
  250. QT+STM32\STM32\STM32\STM32\obj\gy30.d 276B
  251. QT+STM32\STM32\STM32\STM32\obj\gy30.o 63.32KB
  252. QT+STM32\STM32\STM32\STM32\obj\iic.crf 74.94KB
  253. QT+STM32\STM32\STM32\STM32\obj\iic.d 273B
  254. QT+STM32\STM32\STM32\STM32\obj\iic.o 64.63KB
  255. QT+STM32\STM32\STM32\STM32\obj\ili9486.crf 83.16KB
  256. QT+STM32\STM32\STM32\STM32\obj\ili9486.d 305B
  257. QT+STM32\STM32\STM32\STM32\obj\ili9486.o 66.06KB
  258. QT+STM32\STM32\STM32\STM32\obj\key.crf 74.07KB
  259. QT+STM32\STM32\STM32\STM32\obj\key.d 261B
  260. QT+STM32\STM32\STM32\STM32\obj\key.o 62.8KB
  261. QT+STM32\STM32\STM32\STM32\obj\lcd_gui.crf 82.56KB
  262. QT+STM32\STM32\STM32\STM32\obj\lcd_gui.d 314B
  263. QT+STM32\STM32\STM32\STM32\obj\lcd_gui.o 70.92KB
  264. QT+STM32\STM32\STM32\STM32\obj\led.crf 73.96KB
  265. QT+STM32\STM32\STM32\STM32\obj\led.d 260B
  266. QT+STM32\STM32\STM32\STM32\obj\led.o 62.89KB
  267. QT+STM32\STM32\STM32\STM32\obj\main.crf 86.99KB
  268. QT+STM32\STM32\STM32\STM32\obj\main.d 356B
  269. QT+STM32\STM32\STM32\STM32\obj\main.o 152.4KB
  270. QT+STM32\STM32\STM32\STM32\obj\main_1.crf 76.32KB
  271. QT+STM32\STM32\STM32\STM32\obj\main_1.d 287B
  272. QT+STM32\STM32\STM32\STM32\obj\main_1.o 63.85KB
  273. QT+STM32\STM32\STM32\STM32\obj\misc.crf 73.68KB
  274. QT+STM32\STM32\STM32\STM32\obj\misc.d 257B
  275. QT+STM32\STM32\STM32\STM32\obj\misc.o 62.85KB
  276. QT+STM32\STM32\STM32\STM32\obj\mqtt.crf 79.12KB
  277. QT+STM32\STM32\STM32\STM32\obj\mqtt.d 299B
  278. QT+STM32\STM32\STM32\STM32\obj\mqtt.o 67.37KB
  279. QT+STM32\STM32\STM32\STM32\obj\nvic.crf 72.99KB
  280. QT+STM32\STM32\STM32\STM32\obj\nvic.d 262B
  281. QT+STM32\STM32\STM32\STM32\obj\nvic.o 62.91KB
  282. QT+STM32\STM32\STM32\STM32\obj\relay.crf 74.15KB
  283. QT+STM32\STM32\STM32\STM32\obj\relay.d 260B
  284. QT+STM32\STM32\STM32\STM32\obj\relay.o 63.08KB
  285. QT+STM32\STM32\STM32\STM32\obj\rtc.crf 75.36KB
  286. QT+STM32\STM32\STM32\STM32\obj\rtc.d 274B
  287. QT+STM32\STM32\STM32\STM32\obj\rtc.o 65.16KB
  288. QT+STM32\STM32\STM32\STM32\obj\song.crf 77.73KB
  289. QT+STM32\STM32\STM32\STM32\obj\song.d 303B
  290. QT+STM32\STM32\STM32\STM32\obj\song.o 65.58KB
  291. QT+STM32\STM32\STM32\STM32\obj\startup_stm32f10x_hd.d 59B
  292. QT+STM32\STM32\STM32\STM32\obj\startup_stm32f10x_hd.o 2.17KB
  293. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_adc.crf 77.02KB
  294. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_adc.d 256B
  295. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_adc.o 66.4KB
  296. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_bkp.crf 74.19KB
  297. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_bkp.d 255B
  298. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_bkp.o 64.11KB
  299. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_can.crf 78.95KB
  300. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_can.d 257B
  301. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_can.o 66.62KB
  302. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_cec.crf 74.37KB
  303. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_cec.d 257B
  304. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_cec.o 64.21KB
  305. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_crc.crf 73.45KB
  306. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_crc.d 255B
  307. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_crc.o 63.04KB
  308. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dac.crf 74.36KB
  309. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dac.d 256B
  310. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dac.o 64.05KB
  311. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dbgmcu.crf 73.36KB
  312. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dbgmcu.d 260B
  313. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dbgmcu.o 62.73KB
  314. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dma.crf 75.52KB
  315. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dma.d 260B
  316. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dma.o 63.94KB
  317. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_exti.crf 74.22KB
  318. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_exti.d 256B
  319. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_exti.o 63.29KB
  320. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_flash.crf 77.94KB
  321. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_flash.d 260B
  322. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_flash.o 65.85KB
  323. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_fsmc.crf 76.52KB
  324. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_fsmc.d 257B
  325. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_fsmc.o 65.54KB
  326. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_gpio.crf 75.98KB
  327. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_gpio.d 255B
  328. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_gpio.o 65.16KB
  329. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_i2c.crf 76.55KB
  330. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_i2c.d 256B
  331. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_i2c.o 65.93KB
  332. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_it.crf 73.27KB
  333. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_it.d 241B
  334. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_it.o 62.62KB
  335. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_iwdg.crf 73.53KB
  336. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_iwdg.d 255B
  337. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_iwdg.o 62.69KB
  338. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_pwr.crf 74.16KB
  339. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_pwr.d 256B
  340. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_pwr.o 63.34KB
  341. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rcc.crf 76.76KB
  342. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rcc.d 254B
  343. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rcc.o 65.68KB
  344. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rtc.crf 74.4KB
  345. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rtc.d 256B
  346. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rtc.o 63.75KB
  347. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_sdio.crf 76.03KB
  348. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_sdio.d 256B
  349. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_sdio.o 65.25KB
  350. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_spi.crf 76.02KB
  351. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_spi.d 255B
  352. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_spi.o 65KB
  353. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_tim.crf 86.33KB
  354. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_tim.d 257B
  355. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_tim.o 70.4KB
  356. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_usart.crf 76.88KB
  357. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_usart.d 257B
  358. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_usart.o 65.74KB
  359. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_wwdg.crf 73.96KB
  360. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_wwdg.d 256B
  361. QT+STM32\STM32\STM32\STM32\obj\stm32f10x_wwdg.o 63.29KB
  362. QT+STM32\STM32\STM32\STM32\obj\stm32_project.axf 172.69KB
  363. QT+STM32\STM32\STM32\STM32\obj\stm32_project.build_log.htm 969B
  364. QT+STM32\STM32\STM32\STM32\obj\stm32_project.hex 163.21KB
  365. QT+STM32\STM32\STM32\STM32\obj\stm32_project.htm 8.33KB
  366. QT+STM32\STM32\STM32\STM32\obj\stm32_project.lnp 403B
  367. QT+STM32\STM32\STM32\STM32\obj\stm32_project.sct 237B
  368. QT+STM32\STM32\STM32\STM32\obj\stm32_project_Target 1.dep 2.04KB
  369. QT+STM32\STM32\STM32\STM32\obj\system_stm32f10x.crf 75.54KB
  370. QT+STM32\STM32\STM32\STM32\obj\system_stm32f10x.d 246B
  371. QT+STM32\STM32\STM32\STM32\obj\system_stm32f10x.o 63.67KB
  372. QT+STM32\STM32\STM32\STM32\obj\sys_tick.crf 73.21KB
  373. QT+STM32\STM32\STM32\STM32\obj\sys_tick.d 257B
  374. QT+STM32\STM32\STM32\STM32\obj\sys_tick.o 63.23KB
  375. QT+STM32\STM32\STM32\STM32\obj\test.crf 8.68KB
  376. QT+STM32\STM32\STM32\STM32\obj\test.d 125B
  377. QT+STM32\STM32\STM32\STM32\obj\test.o 7.24KB
  378. QT+STM32\STM32\STM32\STM32\obj\time.crf 75.67KB
  379. QT+STM32\STM32\STM32\STM32\obj\time.d 267B
  380. QT+STM32\STM32\STM32\STM32\obj\time.o 62.97KB
  381. QT+STM32\STM32\STM32\STM32\obj\timer.crf 77.39KB
  382. QT+STM32\STM32\STM32\STM32\obj\timer.d 302B
  383. QT+STM32\STM32\STM32\STM32\obj\timer.o 64.79KB
  384. QT+STM32\STM32\STM32\STM32\obj\touch.crf 85.91KB
  385. QT+STM32\STM32\STM32\STM32\obj\touch.d 315B
  386. QT+STM32\STM32\STM32\STM32\obj\touch.o 69.52KB
  387. QT+STM32\STM32\STM32\STM32\obj\usart.crf 78.69KB
  388. QT+STM32\STM32\STM32\STM32\obj\usart.d 271B
  389. QT+STM32\STM32\STM32\STM32\obj\usart.o 65.79KB
  390. QT+STM32\STM32\STM32\STM32\obj\usart2.crf 77.14KB
  391. QT+STM32\STM32\STM32\STM32\obj\usart2.d 269B
  392. QT+STM32\STM32\STM32\STM32\obj\usart2.o 64.84KB
  393. QT+STM32\STM32\STM32\STM32\obj\usart3.crf 75.99KB
  394. QT+STM32\STM32\STM32\STM32\obj\usart3.d 265B
  395. QT+STM32\STM32\STM32\STM32\obj\usart3.o 64.06KB
  396. QT+STM32\STM32\STM32\STM32\obj\usart4.crf 75.99KB
  397. QT+STM32\STM32\STM32\STM32\obj\usart4.d 265B
  398. QT+STM32\STM32\STM32\STM32\obj\usart4.o 63.6KB
  399. QT+STM32\STM32\STM32\STM32\obj\wifi.crf 77.09KB
  400. QT+STM32\STM32\STM32\STM32\obj\wifi.d 299B
  401. QT+STM32\STM32\STM32\STM32\obj\wifi.o 65.37KB
  402. QT+STM32\STM32\STM32\STM32\project\DebugConfig\Target_1_STM32F103ZE.dbgconf 897B
  403. QT+STM32\STM32\STM32\STM32\project\DebugConfig\Target_1_STM32F103ZE_1.0.0.dbgconf 897B
  404. QT+STM32\STM32\STM32\STM32\project\EventRecorderStub.scvd 233B
  405. QT+STM32\STM32\STM32\STM32\project\JLinkSettings.ini 341B
  406. QT+STM32\STM32\STM32\STM32\project\RTE\_Target_1\RTE_Components.h 237B
  407. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvguix.HP 5.7KB
  408. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvguix.keep 6.89KB
  409. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvguix.yang 5.95KB
  410. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvopt 2.53KB
  411. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvoptx 3.04KB
  412. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvproj.saved_uv4 3.57KB
  413. QT+STM32\STM32\STM32\STM32\project\stm32_project.uvprojx 3.7KB
  414. QT+STM32\STM32\STM32\STM32\project\Target 1.BAT 407B
  415. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_cl.s 2.65KB
  416. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_hd.s 2.73KB
  417. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_hd_vl.s 2.66KB
  418. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_ld.s 2.4KB
  419. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_ld_vl.s 2.38KB
  420. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_md.s 2.44KB
  421. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_md_vl.s 2.43KB
  422. QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_xl.s 2.77KB
  423. QT+STM32\STM32\STM32\STM32\user\Inc\adc.h 203B
  424. QT+STM32\STM32\STM32\STM32\user\Inc\beep.h 266B
  425. QT+STM32\STM32\STM32\STM32\user\Inc\delay.h 99B
  426. QT+STM32\STM32\STM32\STM32\user\Inc\dht11.h 117B
  427. QT+STM32\STM32\STM32\STM32\user\Inc\dzk.h 589B
  428. QT+STM32\STM32\STM32\STM32\user\Inc\font.h 1.51KB
  429. QT+STM32\STM32\STM32\STM32\user\Inc\ili9486.h 289B
  430. QT+STM32\STM32\STM32\STM32\user\Inc\key.h 162B
  431. QT+STM32\STM32\STM32\STM32\user\Inc\lcd_gui.h 592B
  432. QT+STM32\STM32\STM32\STM32\user\Inc\led.h 211B
  433. QT+STM32\STM32\STM32\STM32\user\Inc\pic.h 117.5KB
  434. QT+STM32\STM32\STM32\STM32\user\Inc\relay.h 191B
  435. QT+STM32\STM32\STM32\STM32\user\Inc\sys.h 639B
  436. QT+STM32\STM32\STM32\STM32\user\Inc\sys_tick.h 108B
  437. QT+STM32\STM32\STM32\STM32\user\Inc\time.h 150B
  438. QT+STM32\STM32\STM32\STM32\user\Inc\touch.h 379B
  439. QT+STM32\STM32\STM32\STM32\user\Inc\usart.h 318B
  440. QT+STM32\STM32\STM32\STM32\user\Inc\usart2.h 219B
  441. QT+STM32\STM32\STM32\STM32\user\Src\adc.c 1.48KB
  442. QT+STM32\STM32\STM32\STM32\user\Src\beep.c 405B
  443. QT+STM32\STM32\STM32\STM32\user\Src\delay.c 189B
  444. QT+STM32\STM32\STM32\STM32\user\Src\dht11.c 1.03KB
  445. QT+STM32\STM32\STM32\STM32\user\Src\ili9486.c 3.38KB
  446. QT+STM32\STM32\STM32\STM32\user\Src\key.c 877B
  447. QT+STM32\STM32\STM32\STM32\user\Src\lcd_gui.c 4.56KB
  448. QT+STM32\STM32\STM32\STM32\user\Src\led.c 401B
  449. QT+STM32\STM32\STM32\STM32\user\Src\main.c 1.18KB
  450. QT+STM32\STM32\STM32\STM32\user\Src\relay.c 351B
  451. QT+STM32\STM32\STM32\STM32\user\Src\sys_tick.c 795B
  452. QT+STM32\STM32\STM32\STM32\user\Src\time.c 685B
  453. QT+STM32\STM32\STM32\STM32\user\Src\touch.c 2.76KB
  454. QT+STM32\STM32\STM32\STM32\user\Src\usart.c 1.84KB
  455. QT+STM32\STM32\STM32\STM32\user\Src\usart2.c 1.48KB
  456. QT+STM32\STM32\STM32\STM32\library\fwlib\inc
  457. QT+STM32\STM32\STM32\STM32\library\fwlib\src
  458. QT+STM32\STM32\STM32\STM32\project\RTE\_Target_1
  459. QT+STM32\STM32\STM32\STM32\library\cmsis
  460. QT+STM32\STM32\STM32\STM32\library\fwlib
  461. QT+STM32\STM32\STM32\STM32\project\DebugConfig
  462. QT+STM32\STM32\STM32\STM32\project\RTE
  463. QT+STM32\STM32\STM32\STM32\user\Inc
  464. QT+STM32\STM32\STM32\STM32\user\Src
  465. QT+STM32\STM32\STM32\STM32\Cmsis
  466. QT+STM32\STM32\STM32\STM32\Hex
  467. QT+STM32\STM32\STM32\STM32\library
  468. QT+STM32\STM32\STM32\STM32\list
  469. QT+STM32\STM32\STM32\STM32\obj
  470. QT+STM32\STM32\STM32\STM32\project
  471. QT+STM32\STM32\STM32\STM32\startup
  472. QT+STM32\STM32\STM32\STM32\user
  473. QT+STM32\STM32\STM32\STM32
  474. QT+STM32\shangwei\iconengines
  475. QT+STM32\shangwei\imageformats
  476. QT+STM32\shangwei\platforms
  477. QT+STM32\shangwei\styles
  478. QT+STM32\shangwei\translations
  479. QT+STM32\STM32\STM32
  480. QT+STM32\shangwei
  481. QT+STM32\STM32
  482. QT+STM32

资源介绍:

QT上位机与STM32的结合应用是嵌入式系统开发中常见的一种组合,它涉及到软件和硬件的交互,主要应用于工业控制、智能家居、物联网等领域。QT是一种跨平台的图形用户界面应用程序开发框架,而STM32是意法半导体(STMicroelectronics)推出的一系列基于ARM Cortex-M内核的微控制器。 我们来看QT上位机的部分。QT库提供了丰富的UI设计工具,可以轻松创建美观的图形界面,并且支持多种操作系统,如Windows、Linux、Android等。在描述中提到的功能,如播放音乐、控制播放状态(停止、下一首、上一首)、调节音量以及数据采集,都可以通过QT的信号和槽机制来实现。信号和槽是QT的核心特性,用于对象间的通信,当一个对象的状态发生改变(如点击按钮),就会发出信号,其他对象可以通过槽函数来响应这个信号,执行相应的操作。 在实现这些功能时,通常会用到QT的多媒体模块(QMultimedia),它包含了处理音频和视频的能力。例如,可以使用QMediaPlayer类来播放音乐,通过调用其play()、stop()、next()、previous()等方法来控制音乐的播放状态,使用QSlider或QVolumeSlider来控制音量。对于数据采集,可能需要自定义线程或者使用QTimer来定时从串口读取数据,更新界面上的显示。 然后是STM32部分。STM32微控制器以其高性能、低功耗和丰富的外设接口而广受欢迎。在与QT上位机的通信中,一般会利用STM32的UART(通用异步收发传输器)接口作为串口通信通道。STM32通过编写固件程序,接收上位机发送的命令,执行相应操作,如控制GPIO引脚切换音乐播放状态,或者采集传感器数据并通过串口回传至上位机。 在编程STM32时,开发者通常会使用ST提供的STM32CubeMX配置工具来初始化系统设置,包括时钟、串口等。接着,可以使用HAL(Hardware Abstraction Layer)库或LL(Low-Layer)库编写固件代码,这两个库都由ST提供,简化了开发流程。在串口通信中,需要设置波特率、数据位、停止位和校验位,然后在中断服务程序中处理接收和发送数据。 总结来说,"QT上位机+STM32"的项目需要掌握以下知识点: 1. QT框架:包括UI设计、信号和槽机制、多媒体模块(QMultimedia)的使用。 2. STM32微控制器:了解其内部结构、外设接口,以及如何使用STM32CubeMX和HAL/LL库进行开发。 3. 串口通信:理解UART的工作原理,配置参数以及如何在STM32和上位机之间建立通信。 4. 多线程和定时器:在QT中进行数据采集和实时更新界面可能需要用到线程和定时器。 5. 数据处理:包括数据的编码解码、错误检测与校验等,确保串口通信的可靠性。 在实际开发中,还需要注意调试技巧,比如使用串口终端工具监控通信数据,以及在QT上位机和STM32之间进行问题定位。这种结合方式能实现复杂的嵌入式系统,具有广泛的应用前景。
/** ****************************************************************************** * @file stm32f10x_tim.c * @author MCD Application Team * @version V3.5.0 * @date 11-March-2011 * @brief This file provides all the TIM firmware functions. ****************************************************************************** * @attention * * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. * *

© COPYRIGHT 2011 STMicroelectronics

****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f10x_tim.h" #include "stm32f10x_rcc.h" /** @addtogroup STM32F10x_StdPeriph_Driver * @{ */ /** @defgroup TIM * @brief TIM driver modules * @{ */ /** @defgroup TIM_Private_TypesDefinitions * @{ */ /** * @} */ /** @defgroup TIM_Private_Defines * @{ */ /* ---------------------- TIM registers bit mask ------------------------ */ #define SMCR_ETR_Mask ((uint16_t)0x00FF) #define CCMR_Offset ((uint16_t)0x0018) #define CCER_CCE_Set ((uint16_t)0x0001) #define CCER_CCNE_Set ((uint16_t)0x0004) /** * @} */ /** @defgroup TIM_Private_Macros * @{ */ /** * @} */ /** @defgroup TIM_Private_Variables * @{ */ /** * @} */ /** @defgroup TIM_Private_FunctionPrototypes * @{ */ static void TI1_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); static void TI2_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); static void TI3_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); static void TI4_Config(TIM_TypeDef* TIMx, uint16_t TIM_ICPolarity, uint16_t TIM_ICSelection, uint16_t TIM_ICFilter); /** * @} */ /** @defgroup TIM_Private_Macros * @{ */ /** * @} */ /** @defgroup TIM_Private_Variables * @{ */ /** * @} */ /** @defgroup TIM_Private_FunctionPrototypes * @{ */ /** * @} */ /** @defgroup TIM_Private_Functions * @{ */ /** * @brief Deinitializes the TIMx peripheral registers to their default reset values. * @param TIMx: where x can be 1 to 17 to select the TIM peripheral. * @retval None */ void TIM_DeInit(TIM_TypeDef* TIMx) { /* Check the parameters */ assert_param(IS_TIM_ALL_PERIPH(TIMx)); if (TIMx == TIM1) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM1, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM1, DISABLE); } else if (TIMx == TIM2) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM2, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM2, DISABLE); } else if (TIMx == TIM3) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM3, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM3, DISABLE); } else if (TIMx == TIM4) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM4, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM4, DISABLE); } else if (TIMx == TIM5) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM5, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM5, DISABLE); } else if (TIMx == TIM6) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM6, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM6, DISABLE); } else if (TIMx == TIM7) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM7, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM7, DISABLE); } else if (TIMx == TIM8) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM8, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM8, DISABLE); } else if (TIMx == TIM9) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM9, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM9, DISABLE); } else if (TIMx == TIM10) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM10, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM10, DISABLE); } else if (TIMx == TIM11) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM11, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM11, DISABLE); } else if (TIMx == TIM12) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM12, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM12, DISABLE); } else if (TIMx == TIM13) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM13, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM13, DISABLE); } else if (TIMx == TIM14) { RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM14, ENABLE); RCC_APB1PeriphResetCmd(RCC_APB1Periph_TIM14, DISABLE); } else if (TIMx == TIM15) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM15, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM15, DISABLE); } else if (TIMx == TIM16) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM16, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM16, DISABLE); } else { if (TIMx == TIM17) { RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM17, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_TIM17, DISABLE); } } } /** * @brief Initializes the TIMx Time Base Unit peripheral according to * the specified parameters in the TIM_TimeBaseInitStruct. * @param TIMx: where x can be 1 to 17 to select the TIM peripheral. * @param TIM_TimeBaseInitStruct: pointer to a TIM_TimeBaseInitTypeDef * structure that contains the configuration information for the * specified TIM peripheral. * @retval None */ void TIM_TimeBaseInit(TIM_TypeDef* TIMx, TIM_TimeBaseInitTypeDef* TIM_TimeBaseInitStruct) { uint16_t tmpcr1 = 0; /* Check the parameters */ assert_param(IS_TIM_ALL_PERIPH(TIMx)); assert_param(IS_TIM_COUNTER_MODE(TIM_TimeBaseInitStruct->TIM_CounterMode)); assert_param(IS_TIM_CKD_DIV(TIM_TimeBaseInitStruct->TIM_ClockDivision)); tmpcr1 = TIMx->CR1; if((TIMx == TIM1) || (TIMx == TIM8)|| (TIMx == TIM2) || (TIMx == TIM3)|| (TIMx == TIM4) || (TIMx == TIM5)) { /* Select the Counter Mode */ tmpcr1 &= (uint16_t)(~((uint16_t)(TIM_CR1_DIR | TIM_CR1_CMS))); tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_CounterMode; } if((TIMx != TIM6) && (TIMx != TIM7)) { /* Set the clock division */ tmpcr1 &= (uint16_t)(~((uint16_t)TIM_CR1_CKD)); tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_ClockDivision; } TIMx->CR1 = tmpcr1; /* Set the Autoreload value */ TIMx->ARR = TIM_TimeBaseInitStruct->TIM_Period ; /* Set the Prescaler value */ TIMx->PSC = TIM_TimeBaseInitStruct->TIM_Prescaler; if ((TIMx == TIM1) || (TIMx == TIM8)|| (TIMx == TIM15)|| (TIMx == TIM16) || (TIMx == TIM17)) { /* Set the Repetition Counter value */ TIMx->RCR = TIM_TimeBaseInitStruct->TIM_RepetitionCounter; } /* Generate an update event to reload the Prescaler and the Repetition counter values immediately */ TIMx->EGR = TIM_PSCReloadMode_Immediate; } /** * @brief Initializes the TIMx Channel1 according to the specified * parameters in the TIM_OCInitStruct. * @param TIMx: where x can be 1 to 17 except 6 and 7 to select the TIM peripheral. * @param TIM_OCInitStru
100+评论
captcha