QT+STM32.rar
大小:32.27MB
价格:29积分
下载量:0
评分:
5.0
上传者:m0_73731708
更新日期:2025-09-22

QT上位机+STM32

资源文件列表(大概)

文件名
大小
QT+STM32\shangwei\D3Dcompiler_47.dll
1.4MB
QT+STM32\shangwei\iconengines\qsvgicon.dll
19.87KB
QT+STM32\shangwei\imageformats\qgif.dll
19.14KB
QT+STM32\shangwei\imageformats\qicns.dll
22.22KB
QT+STM32\shangwei\imageformats\qico.dll
17.74KB
QT+STM32\shangwei\imageformats\qjpeg.dll
107.41KB
QT+STM32\shangwei\imageformats\qsvg.dll
14.57KB
QT+STM32\shangwei\imageformats\qtga.dll
14.1KB
QT+STM32\shangwei\imageformats\qtiff.dll
170.99KB
QT+STM32\shangwei\imageformats\qwbmp.dll
13.89KB
QT+STM32\shangwei\imageformats\qwebp.dll
229.29KB
QT+STM32\shangwei\libEGL.dll
12.42KB
QT+STM32\shangwei\libgcc_s_seh-1.dll
31.7KB
QT+STM32\shangwei\libGLESV2.dll
1.01MB
QT+STM32\shangwei\libstdc++-6.dll
297.9KB
QT+STM32\shangwei\libwinpthread-1.dll
20.48KB
QT+STM32\shangwei\opengl32sw.dll
5.42MB
QT+STM32\shangwei\platforms\qwindows.dll
743.46KB
QT+STM32\shangwei\Qt5Core.dll
2.31MB
QT+STM32\shangwei\Qt5Gui.dll
2.12MB
QT+STM32\shangwei\Qt5SerialPort.dll
32.95KB
QT+STM32\shangwei\Qt5Svg.dll
130KB
QT+STM32\shangwei\Qt5Widgets.dll
1.96MB
QT+STM32\shangwei\shangwei.exe
1.77MB
QT+STM32\shangwei\styles\qwindowsvistastyle.dll
71.05KB
QT+STM32\shangwei\translations\qt_ar.qm
41.69KB
QT+STM32\shangwei\translations\qt_bg.qm
40.58KB
QT+STM32\shangwei\translations\qt_ca.qm
44.11KB
QT+STM32\shangwei\translations\qt_cs.qm
43.25KB
QT+STM32\shangwei\translations\qt_da.qm
42.99KB
QT+STM32\shangwei\translations\qt_de.qm
49.19KB
QT+STM32\shangwei\translations\qt_en.qm
23B
QT+STM32\shangwei\translations\qt_es.qm
40.82KB
QT+STM32\shangwei\translations\qt_fi.qm
44.19KB
QT+STM32\shangwei\translations\qt_fr.qm
39.82KB
QT+STM32\shangwei\translations\qt_gd.qm
45.65KB
QT+STM32\shangwei\translations\qt_he.qm
37.04KB
QT+STM32\shangwei\translations\qt_hu.qm
41.51KB
QT+STM32\shangwei\translations\qt_it.qm
39.35KB
QT+STM32\shangwei\translations\qt_ja.qm
39.68KB
QT+STM32\shangwei\translations\qt_ko.qm
39.5KB
QT+STM32\shangwei\translations\qt_lv.qm
38.9KB
QT+STM32\shangwei\translations\qt_pl.qm
42.12KB
QT+STM32\shangwei\translations\qt_ru.qm
47.67KB
QT+STM32\shangwei\translations\qt_sk.qm
32.77KB
QT+STM32\shangwei\translations\qt_uk.qm
40.44KB
QT+STM32\shangwei\translations\qt_zh_TW.qm
36.43KB
QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x.h
47.94KB
QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x_conf.h
1.16KB
QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x_it.c
1.11KB
QT+STM32\STM32\STM32\STM32\Cmsis\stm32f10x_it.h
809B
QT+STM32\STM32\STM32\STM32\Cmsis\system_stm32f10x.c
5.54KB
QT+STM32\STM32\STM32\STM32\Cmsis\system_stm32f10x.h
829B
QT+STM32\STM32\STM32\STM32\Hex\core_cm3.crf
1.79KB
QT+STM32\STM32\STM32\STM32\Hex\core_cm3.d
101B
QT+STM32\STM32\STM32\STM32\Hex\core_cm3.o
3.87KB
QT+STM32\STM32\STM32\STM32\Hex\delay.crf
73.18KB
QT+STM32\STM32\STM32\STM32\Hex\delay.d
276B
QT+STM32\STM32\STM32\STM32\Hex\delay.o
62.41KB
QT+STM32\STM32\STM32\STM32\Hex\ili9486.crf
81.78KB
QT+STM32\STM32\STM32\STM32\Hex\ili9486.d
297B
QT+STM32\STM32\STM32\STM32\Hex\ili9486.o
66.74KB
QT+STM32\STM32\STM32\STM32\Hex\lcd_gui.crf
78.18KB
QT+STM32\STM32\STM32\STM32\Hex\lcd_gui.d
299B
QT+STM32\STM32\STM32\STM32\Hex\lcd_gui.o
69.19KB
QT+STM32\STM32\STM32\STM32\Hex\main_1.crf
77.27KB
QT+STM32\STM32\STM32\STM32\Hex\main_1.d
315B
QT+STM32\STM32\STM32\STM32\Hex\main_1.o
124.29KB
QT+STM32\STM32\STM32\STM32\Hex\misc.crf
73.73KB
QT+STM32\STM32\STM32\STM32\Hex\misc.d
257B
QT+STM32\STM32\STM32\STM32\Hex\misc.o
63.18KB
QT+STM32\STM32\STM32\STM32\Hex\nvic.crf
72.98KB
QT+STM32\STM32\STM32\STM32\Hex\nvic.d
261B
QT+STM32\STM32\STM32\STM32\Hex\nvic.o
62.55KB
QT+STM32\STM32\STM32\STM32\Hex\startup_stm32f10x_hd.d
59B
QT+STM32\STM32\STM32\STM32\Hex\startup_stm32f10x_hd.o
2.13KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_adc.crf
77.02KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_adc.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_adc.o
65.89KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_bkp.crf
74.19KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_bkp.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_bkp.o
64.1KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_can.crf
78.95KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_can.d
257B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_can.o
67.07KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_cec.crf
74.37KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_cec.d
258B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_cec.o
63.96KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_crc.crf
73.45KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_crc.d
255B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_crc.o
63.3KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dac.crf
74.36KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dac.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dac.o
64.41KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dbgmcu.crf
73.36KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dbgmcu.d
260B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dbgmcu.o
62.78KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dma.crf
75.52KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dma.d
258B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_dma.o
63.94KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_exti.crf
74.22KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_exti.d
257B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_exti.o
63.11KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_flash.crf
77.94KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_flash.d
260B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_flash.o
66.03KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_fsmc.crf
76.52KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_fsmc.d
258B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_fsmc.o
65.03KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_gpio.crf
75.98KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_gpio.d
255B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_gpio.o
64.99KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_i2c.crf
76.54KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_i2c.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_i2c.o
66.15KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_it.crf
73.27KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_it.d
243B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_it.o
62.95KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_iwdg.crf
73.53KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_iwdg.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_iwdg.o
62.7KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_pwr.crf
74.16KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_pwr.d
257B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_pwr.o
63.67KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rcc.crf
76.76KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rcc.d
255B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rcc.o
66.52KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rtc.crf
74.4KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rtc.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_rtc.o
63.28KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_sdio.crf
76.03KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_sdio.d
256B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_sdio.o
64.62KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_spi.crf
76.03KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_spi.d
255B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_spi.o
65.09KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_tim.crf
86.33KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_tim.d
258B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_tim.o
69.6KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_usart.crf
76.88KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_usart.d
258B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_usart.o
65.98KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_wwdg.crf
73.96KB
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_wwdg.d
257B
QT+STM32\STM32\STM32\STM32\Hex\stm32f10x_wwdg.o
63.36KB
QT+STM32\STM32\STM32\STM32\Hex\stm32_project.axf
122.38KB
QT+STM32\STM32\STM32\STM32\Hex\stm32_project.build_log.htm
930B
QT+STM32\STM32\STM32\STM32\Hex\stm32_project.hex
113.38KB
QT+STM32\STM32\STM32\STM32\Hex\stm32_project.htm
4.86KB
QT+STM32\STM32\STM32\STM32\Hex\stm32_project.lnp
366B
QT+STM32\STM32\STM32\STM32\Hex\stm32_project.sct
237B
QT+STM32\STM32\STM32\STM32\Hex\stm32_project_Target 1.dep
1.76KB
QT+STM32\STM32\STM32\STM32\Hex\system_stm32f10x.crf
75.54KB
QT+STM32\STM32\STM32\STM32\Hex\system_stm32f10x.d
246B
QT+STM32\STM32\STM32\STM32\Hex\system_stm32f10x.o
63.48KB
QT+STM32\STM32\STM32\STM32\Hex\sys_tick.crf
73.21KB
QT+STM32\STM32\STM32\STM32\Hex\sys_tick.d
256B
QT+STM32\STM32\STM32\STM32\Hex\sys_tick.o
63.24KB
QT+STM32\STM32\STM32\STM32\Hex\usart.crf
74.29KB
QT+STM32\STM32\STM32\STM32\Hex\usart.d
258B
QT+STM32\STM32\STM32\STM32\Hex\usart.o
63.32KB
QT+STM32\STM32\STM32\STM32\library\cmsis\core_cm3.c
2.57KB
QT+STM32\STM32\STM32\STM32\library\cmsis\core_cm3.h
12.02KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\misc.h
1.9KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_adc.h
3.25KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_bkp.h
1.5KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_can.h
4.88KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_cec.h
1.65KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_crc.h
867B
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_dac.h
2.45KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_dbgmcu.h
1.05KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_dma.h
2.82KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_exti.h
1.64KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_flash.h
3.39KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_fsmc.h
4.18KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_gpio.h
3.22KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_i2c.h
6.4KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_iwdg.h
1.1KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_pwr.h
1.24KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_rcc.h
3.85KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_rtc.h
1.24KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_sdio.h
3.54KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_spi.h
3.24KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_tim.h
6.19KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_usart.h
3.1KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc\stm32f10x_wwdg.h
1KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\misc.c
1.96KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_adc.c
6.11KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_bkp.c
2.15KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_can.c
7.37KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_cec.c
2.88KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_crc.c
1.11KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_dac.c
3.21KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_dbgmcu.c
1.37KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_dma.c
3.57KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_exti.c
1.74KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_flash.c
7.06KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_fsmc.c
4.57KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_gpio.c
4.26KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_i2c.c
8KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_iwdg.c
1.42KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_pwr.c
2.26KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_rcc.c
7.56KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_rtc.c
2.13KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_sdio.c
4.67KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_spi.c
5.8KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_tim.c
10.71KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_usart.c
5.88KB
QT+STM32\STM32\STM32\STM32\library\fwlib\src\stm32f10x_wwdg.c
1.71KB
QT+STM32\STM32\STM32\STM32\list\startup_stm32f10x_hd.lst
6.04KB
QT+STM32\STM32\STM32\STM32\list\stm32_project.map
11.66KB
QT+STM32\STM32\STM32\STM32\obj\24c02.crf
75.23KB
QT+STM32\STM32\STM32\STM32\obj\24c02.d
278B
QT+STM32\STM32\STM32\STM32\obj\24c02.o
64.39KB
QT+STM32\STM32\STM32\STM32\obj\adc.crf
75.97KB
QT+STM32\STM32\STM32\STM32\obj\adc.d
266B
QT+STM32\STM32\STM32\STM32\obj\adc.o
64.79KB
QT+STM32\STM32\STM32\STM32\obj\beep.crf
73.6KB
QT+STM32\STM32\STM32\STM32\obj\beep.d
260B
QT+STM32\STM32\STM32\STM32\obj\beep.o
62.8KB
QT+STM32\STM32\STM32\STM32\obj\cjson.crf
3.59KB
QT+STM32\STM32\STM32\STM32\obj\cjson.d
107B
QT+STM32\STM32\STM32\STM32\obj\cjson.o
4.91KB
QT+STM32\STM32\STM32\STM32\obj\core_cm3.crf
1.78KB
QT+STM32\STM32\STM32\STM32\obj\core_cm3.d
100B
QT+STM32\STM32\STM32\STM32\obj\core_cm3.o
3.84KB
QT+STM32\STM32\STM32\STM32\obj\delay.crf
73.17KB
QT+STM32\STM32\STM32\STM32\obj\delay.d
271B
QT+STM32\STM32\STM32\STM32\obj\delay.o
62.77KB
QT+STM32\STM32\STM32\STM32\obj\deley.crf
73.19KB
QT+STM32\STM32\STM32\STM32\obj\deley.d
276B
QT+STM32\STM32\STM32\STM32\obj\deley.o
62.93KB
QT+STM32\STM32\STM32\STM32\obj\deplay.crf
78.21KB
QT+STM32\STM32\STM32\STM32\obj\deplay.d
294B
QT+STM32\STM32\STM32\STM32\obj\deplay.o
65.63KB
QT+STM32\STM32\STM32\STM32\obj\dht11.crf
74.16KB
QT+STM32\STM32\STM32\STM32\obj\dht11.d
272B
QT+STM32\STM32\STM32\STM32\obj\dht11.o
63.57KB
QT+STM32\STM32\STM32\STM32\obj\d_sunpir.crf
73.66KB
QT+STM32\STM32\STM32\STM32\obj\d_sunpir.d
271B
QT+STM32\STM32\STM32\STM32\obj\d_sunpir.o
62.78KB
QT+STM32\STM32\STM32\STM32\obj\exit.crf
75.9KB
QT+STM32\STM32\STM32\STM32\obj\exit.d
279B
QT+STM32\STM32\STM32\STM32\obj\exit.o
63.96KB
QT+STM32\STM32\STM32\STM32\obj\ExtDll.iex
19B
QT+STM32\STM32\STM32\STM32\obj\gsm.crf
80.99KB
QT+STM32\STM32\STM32\STM32\obj\gsm.d
292B
QT+STM32\STM32\STM32\STM32\obj\gsm.o
67.51KB
QT+STM32\STM32\STM32\STM32\obj\gy30.crf
73.87KB
QT+STM32\STM32\STM32\STM32\obj\gy30.d
276B
QT+STM32\STM32\STM32\STM32\obj\gy30.o
63.32KB
QT+STM32\STM32\STM32\STM32\obj\iic.crf
74.94KB
QT+STM32\STM32\STM32\STM32\obj\iic.d
273B
QT+STM32\STM32\STM32\STM32\obj\iic.o
64.63KB
QT+STM32\STM32\STM32\STM32\obj\ili9486.crf
83.16KB
QT+STM32\STM32\STM32\STM32\obj\ili9486.d
305B
QT+STM32\STM32\STM32\STM32\obj\ili9486.o
66.06KB
QT+STM32\STM32\STM32\STM32\obj\key.crf
74.07KB
QT+STM32\STM32\STM32\STM32\obj\key.d
261B
QT+STM32\STM32\STM32\STM32\obj\key.o
62.8KB
QT+STM32\STM32\STM32\STM32\obj\lcd_gui.crf
82.56KB
QT+STM32\STM32\STM32\STM32\obj\lcd_gui.d
314B
QT+STM32\STM32\STM32\STM32\obj\lcd_gui.o
70.92KB
QT+STM32\STM32\STM32\STM32\obj\led.crf
73.96KB
QT+STM32\STM32\STM32\STM32\obj\led.d
260B
QT+STM32\STM32\STM32\STM32\obj\led.o
62.89KB
QT+STM32\STM32\STM32\STM32\obj\main.crf
86.99KB
QT+STM32\STM32\STM32\STM32\obj\main.d
356B
QT+STM32\STM32\STM32\STM32\obj\main.o
152.4KB
QT+STM32\STM32\STM32\STM32\obj\main_1.crf
76.32KB
QT+STM32\STM32\STM32\STM32\obj\main_1.d
287B
QT+STM32\STM32\STM32\STM32\obj\main_1.o
63.85KB
QT+STM32\STM32\STM32\STM32\obj\misc.crf
73.68KB
QT+STM32\STM32\STM32\STM32\obj\misc.d
257B
QT+STM32\STM32\STM32\STM32\obj\misc.o
62.85KB
QT+STM32\STM32\STM32\STM32\obj\mqtt.crf
79.12KB
QT+STM32\STM32\STM32\STM32\obj\mqtt.d
299B
QT+STM32\STM32\STM32\STM32\obj\mqtt.o
67.37KB
QT+STM32\STM32\STM32\STM32\obj\nvic.crf
72.99KB
QT+STM32\STM32\STM32\STM32\obj\nvic.d
262B
QT+STM32\STM32\STM32\STM32\obj\nvic.o
62.91KB
QT+STM32\STM32\STM32\STM32\obj\relay.crf
74.15KB
QT+STM32\STM32\STM32\STM32\obj\relay.d
260B
QT+STM32\STM32\STM32\STM32\obj\relay.o
63.08KB
QT+STM32\STM32\STM32\STM32\obj\rtc.crf
75.36KB
QT+STM32\STM32\STM32\STM32\obj\rtc.d
274B
QT+STM32\STM32\STM32\STM32\obj\rtc.o
65.16KB
QT+STM32\STM32\STM32\STM32\obj\song.crf
77.73KB
QT+STM32\STM32\STM32\STM32\obj\song.d
303B
QT+STM32\STM32\STM32\STM32\obj\song.o
65.58KB
QT+STM32\STM32\STM32\STM32\obj\startup_stm32f10x_hd.d
59B
QT+STM32\STM32\STM32\STM32\obj\startup_stm32f10x_hd.o
2.17KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_adc.crf
77.02KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_adc.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_adc.o
66.4KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_bkp.crf
74.19KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_bkp.d
255B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_bkp.o
64.11KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_can.crf
78.95KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_can.d
257B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_can.o
66.62KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_cec.crf
74.37KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_cec.d
257B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_cec.o
64.21KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_crc.crf
73.45KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_crc.d
255B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_crc.o
63.04KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dac.crf
74.36KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dac.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dac.o
64.05KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dbgmcu.crf
73.36KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dbgmcu.d
260B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dbgmcu.o
62.73KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dma.crf
75.52KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dma.d
260B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_dma.o
63.94KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_exti.crf
74.22KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_exti.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_exti.o
63.29KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_flash.crf
77.94KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_flash.d
260B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_flash.o
65.85KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_fsmc.crf
76.52KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_fsmc.d
257B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_fsmc.o
65.54KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_gpio.crf
75.98KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_gpio.d
255B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_gpio.o
65.16KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_i2c.crf
76.55KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_i2c.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_i2c.o
65.93KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_it.crf
73.27KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_it.d
241B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_it.o
62.62KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_iwdg.crf
73.53KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_iwdg.d
255B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_iwdg.o
62.69KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_pwr.crf
74.16KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_pwr.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_pwr.o
63.34KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rcc.crf
76.76KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rcc.d
254B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rcc.o
65.68KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rtc.crf
74.4KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rtc.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_rtc.o
63.75KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_sdio.crf
76.03KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_sdio.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_sdio.o
65.25KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_spi.crf
76.02KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_spi.d
255B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_spi.o
65KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_tim.crf
86.33KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_tim.d
257B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_tim.o
70.4KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_usart.crf
76.88KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_usart.d
257B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_usart.o
65.74KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_wwdg.crf
73.96KB
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_wwdg.d
256B
QT+STM32\STM32\STM32\STM32\obj\stm32f10x_wwdg.o
63.29KB
QT+STM32\STM32\STM32\STM32\obj\stm32_project.axf
172.69KB
QT+STM32\STM32\STM32\STM32\obj\stm32_project.build_log.htm
969B
QT+STM32\STM32\STM32\STM32\obj\stm32_project.hex
163.21KB
QT+STM32\STM32\STM32\STM32\obj\stm32_project.htm
8.33KB
QT+STM32\STM32\STM32\STM32\obj\stm32_project.lnp
403B
QT+STM32\STM32\STM32\STM32\obj\stm32_project.sct
237B
QT+STM32\STM32\STM32\STM32\obj\stm32_project_Target 1.dep
2.04KB
QT+STM32\STM32\STM32\STM32\obj\system_stm32f10x.crf
75.54KB
QT+STM32\STM32\STM32\STM32\obj\system_stm32f10x.d
246B
QT+STM32\STM32\STM32\STM32\obj\system_stm32f10x.o
63.67KB
QT+STM32\STM32\STM32\STM32\obj\sys_tick.crf
73.21KB
QT+STM32\STM32\STM32\STM32\obj\sys_tick.d
257B
QT+STM32\STM32\STM32\STM32\obj\sys_tick.o
63.23KB
QT+STM32\STM32\STM32\STM32\obj\test.crf
8.68KB
QT+STM32\STM32\STM32\STM32\obj\test.d
125B
QT+STM32\STM32\STM32\STM32\obj\test.o
7.24KB
QT+STM32\STM32\STM32\STM32\obj\time.crf
75.67KB
QT+STM32\STM32\STM32\STM32\obj\time.d
267B
QT+STM32\STM32\STM32\STM32\obj\time.o
62.97KB
QT+STM32\STM32\STM32\STM32\obj\timer.crf
77.39KB
QT+STM32\STM32\STM32\STM32\obj\timer.d
302B
QT+STM32\STM32\STM32\STM32\obj\timer.o
64.79KB
QT+STM32\STM32\STM32\STM32\obj\touch.crf
85.91KB
QT+STM32\STM32\STM32\STM32\obj\touch.d
315B
QT+STM32\STM32\STM32\STM32\obj\touch.o
69.52KB
QT+STM32\STM32\STM32\STM32\obj\usart.crf
78.69KB
QT+STM32\STM32\STM32\STM32\obj\usart.d
271B
QT+STM32\STM32\STM32\STM32\obj\usart.o
65.79KB
QT+STM32\STM32\STM32\STM32\obj\usart2.crf
77.14KB
QT+STM32\STM32\STM32\STM32\obj\usart2.d
269B
QT+STM32\STM32\STM32\STM32\obj\usart2.o
64.84KB
QT+STM32\STM32\STM32\STM32\obj\usart3.crf
75.99KB
QT+STM32\STM32\STM32\STM32\obj\usart3.d
265B
QT+STM32\STM32\STM32\STM32\obj\usart3.o
64.06KB
QT+STM32\STM32\STM32\STM32\obj\usart4.crf
75.99KB
QT+STM32\STM32\STM32\STM32\obj\usart4.d
265B
QT+STM32\STM32\STM32\STM32\obj\usart4.o
63.6KB
QT+STM32\STM32\STM32\STM32\obj\wifi.crf
77.09KB
QT+STM32\STM32\STM32\STM32\obj\wifi.d
299B
QT+STM32\STM32\STM32\STM32\obj\wifi.o
65.37KB
QT+STM32\STM32\STM32\STM32\project\DebugConfig\Target_1_STM32F103ZE.dbgconf
897B
QT+STM32\STM32\STM32\STM32\project\DebugConfig\Target_1_STM32F103ZE_1.0.0.dbgconf
897B
QT+STM32\STM32\STM32\STM32\project\EventRecorderStub.scvd
233B
QT+STM32\STM32\STM32\STM32\project\JLinkSettings.ini
341B
QT+STM32\STM32\STM32\STM32\project\RTE\_Target_1\RTE_Components.h
237B
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvguix.HP
5.7KB
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvguix.keep
6.89KB
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvguix.yang
5.95KB
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvopt
2.53KB
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvoptx
3.04KB
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvproj.saved_uv4
3.57KB
QT+STM32\STM32\STM32\STM32\project\stm32_project.uvprojx
3.7KB
QT+STM32\STM32\STM32\STM32\project\Target 1.BAT
407B
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_cl.s
2.65KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_hd.s
2.73KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_hd_vl.s
2.66KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_ld.s
2.4KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_ld_vl.s
2.38KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_md.s
2.44KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_md_vl.s
2.43KB
QT+STM32\STM32\STM32\STM32\startup\startup_stm32f10x_xl.s
2.77KB
QT+STM32\STM32\STM32\STM32\user\Inc\adc.h
203B
QT+STM32\STM32\STM32\STM32\user\Inc\beep.h
266B
QT+STM32\STM32\STM32\STM32\user\Inc\delay.h
99B
QT+STM32\STM32\STM32\STM32\user\Inc\dht11.h
117B
QT+STM32\STM32\STM32\STM32\user\Inc\dzk.h
589B
QT+STM32\STM32\STM32\STM32\user\Inc\font.h
1.51KB
QT+STM32\STM32\STM32\STM32\user\Inc\ili9486.h
289B
QT+STM32\STM32\STM32\STM32\user\Inc\key.h
162B
QT+STM32\STM32\STM32\STM32\user\Inc\lcd_gui.h
592B
QT+STM32\STM32\STM32\STM32\user\Inc\led.h
211B
QT+STM32\STM32\STM32\STM32\user\Inc\pic.h
117.5KB
QT+STM32\STM32\STM32\STM32\user\Inc\relay.h
191B
QT+STM32\STM32\STM32\STM32\user\Inc\sys.h
639B
QT+STM32\STM32\STM32\STM32\user\Inc\sys_tick.h
108B
QT+STM32\STM32\STM32\STM32\user\Inc\time.h
150B
QT+STM32\STM32\STM32\STM32\user\Inc\touch.h
379B
QT+STM32\STM32\STM32\STM32\user\Inc\usart.h
318B
QT+STM32\STM32\STM32\STM32\user\Inc\usart2.h
219B
QT+STM32\STM32\STM32\STM32\user\Src\adc.c
1.48KB
QT+STM32\STM32\STM32\STM32\user\Src\beep.c
405B
QT+STM32\STM32\STM32\STM32\user\Src\delay.c
189B
QT+STM32\STM32\STM32\STM32\user\Src\dht11.c
1.03KB
QT+STM32\STM32\STM32\STM32\user\Src\ili9486.c
3.38KB
QT+STM32\STM32\STM32\STM32\user\Src\key.c
877B
QT+STM32\STM32\STM32\STM32\user\Src\lcd_gui.c
4.56KB
QT+STM32\STM32\STM32\STM32\user\Src\led.c
401B
QT+STM32\STM32\STM32\STM32\user\Src\main.c
1.18KB
QT+STM32\STM32\STM32\STM32\user\Src\relay.c
351B
QT+STM32\STM32\STM32\STM32\user\Src\sys_tick.c
795B
QT+STM32\STM32\STM32\STM32\user\Src\time.c
685B
QT+STM32\STM32\STM32\STM32\user\Src\touch.c
2.76KB
QT+STM32\STM32\STM32\STM32\user\Src\usart.c
1.84KB
QT+STM32\STM32\STM32\STM32\user\Src\usart2.c
1.48KB
QT+STM32\STM32\STM32\STM32\library\fwlib\inc
-
QT+STM32\STM32\STM32\STM32\library\fwlib\src
-
QT+STM32\STM32\STM32\STM32\project\RTE\_Target_1
-
QT+STM32\STM32\STM32\STM32\library\cmsis
-
QT+STM32\STM32\STM32\STM32\library\fwlib
-
QT+STM32\STM32\STM32\STM32\project\DebugConfig
-
QT+STM32\STM32\STM32\STM32\project\RTE
-
QT+STM32\STM32\STM32\STM32\user\Inc
-
QT+STM32\STM32\STM32\STM32\user\Src
-
QT+STM32\STM32\STM32\STM32\Cmsis
-
QT+STM32\STM32\STM32\STM32\Hex
-
QT+STM32\STM32\STM32\STM32\library
-
QT+STM32\STM32\STM32\STM32\list
-
QT+STM32\STM32\STM32\STM32\obj
-
QT+STM32\STM32\STM32\STM32\project
-
QT+STM32\STM32\STM32\STM32\startup
-
QT+STM32\STM32\STM32\STM32\user
-
QT+STM32\STM32\STM32\STM32
-
QT+STM32\shangwei\iconengines
-
QT+STM32\shangwei\imageformats
-
QT+STM32\shangwei\platforms
-
QT+STM32\shangwei\styles
-
QT+STM32\shangwei\translations
-
QT+STM32\STM32\STM32
-
QT+STM32\shangwei
-
QT+STM32\STM32
-
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. * * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2> ****************************************************************************** */#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 * @{ */#define SMCR_ETR_Mask ((uint16_t)0x00FF) #define CCMR_Offset ((uint16_t)0x0018)#define CCER_CCE_Set ((uint16_t)0x0001) #defineCCER_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){ 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; 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)) { tmpcr1 &= (uint16_t)(~((uint16_t)(TIM_CR1_DIR | TIM_CR1_CMS))); tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_CounterMode; } if((TIMx != TIM6) && (TIMx != TIM7)) { tmpcr1 &= (uint16_t)(~((uint16_t)TIM_CR1_CKD)); tmpcr1 |= (uint32_t)TIM_TimeBaseInitStruct->TIM_ClockDivision; } TIMx->CR1 = tmpcr1; TIMx->ARR = TIM_TimeBaseInitStruct->TIM_Period ; TIMx->PSC = TIM_TimeBaseInitStruct->TIM_Prescaler; if ((TIMx == TIM1) || (TIMx == TIM8)|| (TIMx == TIM15)|| (TIMx == TIM16) || (TIMx == TIM17)) { TIMx->RCR = TIM_TimeBaseInitStruct->TIM_RepetitionCounter; } 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

用户评论 (0)

发表评论

captcha