├── USER ├── adc.o ├── key.o ├── lcd.o ├── led.o ├── sys.o ├── wdg.o ├── adc.crf ├── beep.crf ├── beep.o ├── delay.o ├── exti.crf ├── exti.o ├── key.crf ├── lcd.crf ├── led.crf ├── main.c ├── main.crf ├── main.o ├── misc.crf ├── misc.o ├── motor.o ├── startup_stm32f10x_md.d ├── sys.crf ├── timer.o ├── usart.o ├── wdg.crf ├── TIMER.axf ├── TIMER.plg ├── core_cm3.o ├── delay.crf ├── motor.crf ├── timer.crf ├── usart.crf ├── JLinkLog.txt ├── TIMER.opt.bak ├── core_cm3.crf ├── stm32f10x.h ├── stm32f10x_adc.o ├── stm32f10x_bkp.o ├── stm32f10x_can.o ├── stm32f10x_cec.o ├── stm32f10x_crc.o ├── stm32f10x_dac.o ├── stm32f10x_dma.o ├── stm32f10x_i2c.o ├── stm32f10x_it.o ├── stm32f10x_pwr.o ├── stm32f10x_rcc.o ├── stm32f10x_rtc.o ├── stm32f10x_spi.o ├── stm32f10x_tim.o ├── stm32f10x_adc.crf ├── stm32f10x_bkp.crf ├── stm32f10x_can.crf ├── stm32f10x_cec.crf ├── stm32f10x_crc.crf ├── stm32f10x_dac.crf ├── stm32f10x_dbgmcu.o ├── stm32f10x_dma.crf ├── stm32f10x_exti.crf ├── stm32f10x_exti.o ├── stm32f10x_flash.o ├── stm32f10x_fsmc.crf ├── stm32f10x_fsmc.o ├── stm32f10x_gpio.crf ├── stm32f10x_gpio.o ├── stm32f10x_i2c.crf ├── stm32f10x_it.crf ├── stm32f10x_iwdg.crf ├── stm32f10x_iwdg.o ├── stm32f10x_pwr.crf ├── stm32f10x_rcc.crf ├── stm32f10x_rtc.crf ├── stm32f10x_sdio.crf ├── stm32f10x_sdio.o ├── stm32f10x_spi.crf ├── stm32f10x_tim.crf ├── stm32f10x_usart.o ├── stm32f10x_wwdg.crf ├── stm32f10x_wwdg.o ├── system_stm32f10x.o ├── ultrasonicwave.crf ├── ultrasonicwave.o ├── TIMER.build_log.htm ├── stm32f10x_dbgmcu.crf ├── stm32f10x_flash.crf ├── stm32f10x_usart.crf ├── system_stm32f10x.crf ├── core_cm3.d ├── startup_stm32f10x_md.o ├── TIMER.sct ├── JLinkSettings.ini ├── TIMER.lnp ├── sys.d ├── led.d ├── misc.d ├── adc.d ├── beep.d ├── delay.d ├── key.d ├── wdg.d ├── timer.d ├── usart.d ├── motor.d ├── exti.d ├── stm32f10x_it.d ├── lcd.d ├── system_stm32f10x.d ├── stm32f10x_adc.d ├── stm32f10x_bkp.d ├── stm32f10x_can.d ├── stm32f10x_cec.d ├── stm32f10x_crc.d ├── stm32f10x_dac.d ├── stm32f10x_dma.d ├── stm32f10x_i2c.d ├── stm32f10x_pwr.d ├── stm32f10x_rcc.d ├── stm32f10x_rtc.d ├── stm32f10x_spi.d ├── stm32f10x_tim.d ├── stm32f10x_exti.d ├── stm32f10x_fsmc.d ├── stm32f10x_gpio.d ├── stm32f10x_iwdg.d ├── stm32f10x_sdio.d ├── stm32f10x_wwdg.d ├── main.d ├── stm32f10x_flash.d ├── stm32f10x_usart.d ├── stm32f10x_dbgmcu.d ├── stm32f10x_it.h ├── ultrasonicwave.d ├── system_stm32f10x.h ├── stm32f10x_it.c ├── TIMER.tra ├── stm32f10x_conf.h └── TIMER.Uv2.bak ├── img ├── 1.png ├── 2.png ├── 3.png ├── 4.png └── 5.jpg ├── keilkilll.bat ├── HARDWARE ├── ADC │ ├── adc.c │ └── adc.h ├── KEY │ ├── key.c │ └── key.h ├── LCD │ ├── lcd.c │ ├── lcd.h │ └── font.h ├── LED │ ├── led.c │ └── led.h ├── WDG │ ├── wdg.c │ └── wdg.h ├── BEEP │ ├── beep.c │ └── beep.h ├── EXTI │ ├── exti.c │ └── exti.h ├── TIMER │ ├── timer.c │ └── timer.h ├── UltrasonicWave │ ├── UltrasonicWave.c │ └── UltrasonicWave.h └── MOTOR │ ├── motor.h │ └── motor.c ├── SYSTEM ├── sys │ ├── sys.c │ └── sys.h ├── delay │ ├── delay.c │ └── delay.h └── usart │ ├── usart.c │ └── usart.h ├── STM32F10x_FWLib ├── src │ ├── stm32f10x_i2c.c │ ├── stm32f10x_flash.c │ ├── stm32f10x_usart.c │ ├── stm32f10x_crc.c │ ├── stm32f10x_iwdg.c │ ├── stm32f10x_dbgmcu.c │ ├── stm32f10x_wwdg.c │ ├── misc.c │ ├── stm32f10x_exti.c │ └── stm32f10x_bkp.c └── inc │ ├── stm32f10x_crc.h │ ├── stm32f10x_wwdg.h │ ├── stm32f10x_dbgmcu.h │ ├── stm32f10x_iwdg.h │ ├── stm32f10x_rtc.h │ ├── stm32f10x_pwr.h │ ├── stm32f10x_cec.h │ ├── stm32f10x_exti.h │ └── stm32f10x_bkp.h └── README.md /USER/adc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/adc.o -------------------------------------------------------------------------------- /USER/key.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/key.o -------------------------------------------------------------------------------- /USER/lcd.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/lcd.o -------------------------------------------------------------------------------- /USER/led.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/led.o -------------------------------------------------------------------------------- /USER/sys.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/sys.o -------------------------------------------------------------------------------- /USER/wdg.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/wdg.o -------------------------------------------------------------------------------- /img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/img/1.png -------------------------------------------------------------------------------- /img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/img/2.png -------------------------------------------------------------------------------- /img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/img/3.png -------------------------------------------------------------------------------- /img/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/img/4.png -------------------------------------------------------------------------------- /img/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/img/5.jpg -------------------------------------------------------------------------------- /USER/adc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/adc.crf -------------------------------------------------------------------------------- /USER/beep.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/beep.crf -------------------------------------------------------------------------------- /USER/beep.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/beep.o -------------------------------------------------------------------------------- /USER/delay.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/delay.o -------------------------------------------------------------------------------- /USER/exti.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/exti.crf -------------------------------------------------------------------------------- /USER/exti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/exti.o -------------------------------------------------------------------------------- /USER/key.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/key.crf -------------------------------------------------------------------------------- /USER/lcd.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/lcd.crf -------------------------------------------------------------------------------- /USER/led.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/led.crf -------------------------------------------------------------------------------- /USER/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/main.c -------------------------------------------------------------------------------- /USER/main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/main.crf -------------------------------------------------------------------------------- /USER/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/main.o -------------------------------------------------------------------------------- /USER/misc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/misc.crf -------------------------------------------------------------------------------- /USER/misc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/misc.o -------------------------------------------------------------------------------- /USER/motor.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/motor.o -------------------------------------------------------------------------------- /USER/startup_stm32f10x_md.d: -------------------------------------------------------------------------------- 1 | .\startup_stm32f10x_md.o: ..\CORE\startup_stm32f10x_md.s 2 | -------------------------------------------------------------------------------- /USER/sys.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/sys.crf -------------------------------------------------------------------------------- /USER/timer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/timer.o -------------------------------------------------------------------------------- /USER/usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/usart.o -------------------------------------------------------------------------------- /USER/wdg.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/wdg.crf -------------------------------------------------------------------------------- /keilkilll.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/keilkilll.bat -------------------------------------------------------------------------------- /USER/TIMER.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/TIMER.axf -------------------------------------------------------------------------------- /USER/TIMER.plg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/TIMER.plg -------------------------------------------------------------------------------- /USER/core_cm3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/core_cm3.o -------------------------------------------------------------------------------- /USER/delay.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/delay.crf -------------------------------------------------------------------------------- /USER/motor.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/motor.crf -------------------------------------------------------------------------------- /USER/timer.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/timer.crf -------------------------------------------------------------------------------- /USER/usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/usart.crf -------------------------------------------------------------------------------- /HARDWARE/ADC/adc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/ADC/adc.c -------------------------------------------------------------------------------- /HARDWARE/ADC/adc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/ADC/adc.h -------------------------------------------------------------------------------- /HARDWARE/KEY/key.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/KEY/key.c -------------------------------------------------------------------------------- /HARDWARE/KEY/key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/KEY/key.h -------------------------------------------------------------------------------- /HARDWARE/LCD/lcd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/LCD/lcd.c -------------------------------------------------------------------------------- /HARDWARE/LCD/lcd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/LCD/lcd.h -------------------------------------------------------------------------------- /HARDWARE/LED/led.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/LED/led.c -------------------------------------------------------------------------------- /HARDWARE/LED/led.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/LED/led.h -------------------------------------------------------------------------------- /HARDWARE/WDG/wdg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/WDG/wdg.c -------------------------------------------------------------------------------- /HARDWARE/WDG/wdg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/WDG/wdg.h -------------------------------------------------------------------------------- /SYSTEM/sys/sys.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/SYSTEM/sys/sys.c -------------------------------------------------------------------------------- /SYSTEM/sys/sys.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/SYSTEM/sys/sys.h -------------------------------------------------------------------------------- /USER/JLinkLog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/JLinkLog.txt -------------------------------------------------------------------------------- /USER/TIMER.opt.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/TIMER.opt.bak -------------------------------------------------------------------------------- /USER/core_cm3.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/core_cm3.crf -------------------------------------------------------------------------------- /USER/stm32f10x.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x.h -------------------------------------------------------------------------------- /HARDWARE/BEEP/beep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/BEEP/beep.c -------------------------------------------------------------------------------- /HARDWARE/BEEP/beep.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/BEEP/beep.h -------------------------------------------------------------------------------- /HARDWARE/EXTI/exti.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/EXTI/exti.c -------------------------------------------------------------------------------- /HARDWARE/EXTI/exti.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/EXTI/exti.h -------------------------------------------------------------------------------- /HARDWARE/LCD/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/LCD/font.h -------------------------------------------------------------------------------- /SYSTEM/delay/delay.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/SYSTEM/delay/delay.c -------------------------------------------------------------------------------- /SYSTEM/delay/delay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/SYSTEM/delay/delay.h -------------------------------------------------------------------------------- /SYSTEM/usart/usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/SYSTEM/usart/usart.c -------------------------------------------------------------------------------- /SYSTEM/usart/usart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/SYSTEM/usart/usart.h -------------------------------------------------------------------------------- /USER/stm32f10x_adc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_adc.o -------------------------------------------------------------------------------- /USER/stm32f10x_bkp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_bkp.o -------------------------------------------------------------------------------- /USER/stm32f10x_can.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_can.o -------------------------------------------------------------------------------- /USER/stm32f10x_cec.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_cec.o -------------------------------------------------------------------------------- /USER/stm32f10x_crc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_crc.o -------------------------------------------------------------------------------- /USER/stm32f10x_dac.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_dac.o -------------------------------------------------------------------------------- /USER/stm32f10x_dma.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_dma.o -------------------------------------------------------------------------------- /USER/stm32f10x_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_i2c.o -------------------------------------------------------------------------------- /USER/stm32f10x_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_it.o -------------------------------------------------------------------------------- /USER/stm32f10x_pwr.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_pwr.o -------------------------------------------------------------------------------- /USER/stm32f10x_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_rcc.o -------------------------------------------------------------------------------- /USER/stm32f10x_rtc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_rtc.o -------------------------------------------------------------------------------- /USER/stm32f10x_spi.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_spi.o -------------------------------------------------------------------------------- /USER/stm32f10x_tim.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_tim.o -------------------------------------------------------------------------------- /HARDWARE/TIMER/timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/TIMER/timer.c -------------------------------------------------------------------------------- /HARDWARE/TIMER/timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/TIMER/timer.h -------------------------------------------------------------------------------- /USER/stm32f10x_adc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_adc.crf -------------------------------------------------------------------------------- /USER/stm32f10x_bkp.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_bkp.crf -------------------------------------------------------------------------------- /USER/stm32f10x_can.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_can.crf -------------------------------------------------------------------------------- /USER/stm32f10x_cec.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_cec.crf -------------------------------------------------------------------------------- /USER/stm32f10x_crc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_crc.crf -------------------------------------------------------------------------------- /USER/stm32f10x_dac.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_dac.crf -------------------------------------------------------------------------------- /USER/stm32f10x_dbgmcu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_dbgmcu.o -------------------------------------------------------------------------------- /USER/stm32f10x_dma.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_dma.crf -------------------------------------------------------------------------------- /USER/stm32f10x_exti.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_exti.crf -------------------------------------------------------------------------------- /USER/stm32f10x_exti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_exti.o -------------------------------------------------------------------------------- /USER/stm32f10x_flash.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_flash.o -------------------------------------------------------------------------------- /USER/stm32f10x_fsmc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_fsmc.crf -------------------------------------------------------------------------------- /USER/stm32f10x_fsmc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_fsmc.o -------------------------------------------------------------------------------- /USER/stm32f10x_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_gpio.crf -------------------------------------------------------------------------------- /USER/stm32f10x_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_gpio.o -------------------------------------------------------------------------------- /USER/stm32f10x_i2c.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_i2c.crf -------------------------------------------------------------------------------- /USER/stm32f10x_it.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_it.crf -------------------------------------------------------------------------------- /USER/stm32f10x_iwdg.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_iwdg.crf -------------------------------------------------------------------------------- /USER/stm32f10x_iwdg.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_iwdg.o -------------------------------------------------------------------------------- /USER/stm32f10x_pwr.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_pwr.crf -------------------------------------------------------------------------------- /USER/stm32f10x_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_rcc.crf -------------------------------------------------------------------------------- /USER/stm32f10x_rtc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_rtc.crf -------------------------------------------------------------------------------- /USER/stm32f10x_sdio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_sdio.crf -------------------------------------------------------------------------------- /USER/stm32f10x_sdio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_sdio.o -------------------------------------------------------------------------------- /USER/stm32f10x_spi.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_spi.crf -------------------------------------------------------------------------------- /USER/stm32f10x_tim.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_tim.crf -------------------------------------------------------------------------------- /USER/stm32f10x_usart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_usart.o -------------------------------------------------------------------------------- /USER/stm32f10x_wwdg.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_wwdg.crf -------------------------------------------------------------------------------- /USER/stm32f10x_wwdg.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_wwdg.o -------------------------------------------------------------------------------- /USER/system_stm32f10x.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/system_stm32f10x.o -------------------------------------------------------------------------------- /USER/ultrasonicwave.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/ultrasonicwave.crf -------------------------------------------------------------------------------- /USER/ultrasonicwave.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/ultrasonicwave.o -------------------------------------------------------------------------------- /USER/TIMER.build_log.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/TIMER.build_log.htm -------------------------------------------------------------------------------- /USER/stm32f10x_dbgmcu.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_dbgmcu.crf -------------------------------------------------------------------------------- /USER/stm32f10x_flash.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_flash.crf -------------------------------------------------------------------------------- /USER/stm32f10x_usart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/stm32f10x_usart.crf -------------------------------------------------------------------------------- /USER/system_stm32f10x.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/system_stm32f10x.crf -------------------------------------------------------------------------------- /USER/core_cm3.d: -------------------------------------------------------------------------------- 1 | .\core_cm3.o: ..\CORE\core_cm3.c 2 | .\core_cm3.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 3 | -------------------------------------------------------------------------------- /USER/startup_stm32f10x_md.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/USER/startup_stm32f10x_md.o -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/STM32F10x_FWLib/src/stm32f10x_i2c.c -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/STM32F10x_FWLib/src/stm32f10x_flash.c -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_usart.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/STM32F10x_FWLib/src/stm32f10x_usart.c -------------------------------------------------------------------------------- /HARDWARE/UltrasonicWave/UltrasonicWave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/UltrasonicWave/UltrasonicWave.c -------------------------------------------------------------------------------- /HARDWARE/UltrasonicWave/UltrasonicWave.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DraymondHIT/smart-suitcase/HEAD/HARDWARE/UltrasonicWave/UltrasonicWave.h -------------------------------------------------------------------------------- /HARDWARE/MOTOR/motor.h: -------------------------------------------------------------------------------- 1 | #ifndef __MOTOR_H 2 | #define __MOTOR_H 3 | #include "sys.h" 4 | #include "timer.h" 5 | #include "delay.h" 6 | 7 | void motor1_go(u16 pwm); 8 | void motor1_back(u16 pwm); 9 | void motor1_stop(void); 10 | void motor2_go(u16 pwm); 11 | void motor2_back(u16 pwm); 12 | void motor2_stop(void); 13 | void left(void); 14 | void right(void); 15 | void go(void); 16 | void stop(void); 17 | 18 | #endif 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /USER/TIMER.sct: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00020000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00020000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00005000 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /USER/JLinkSettings.ini: -------------------------------------------------------------------------------- 1 | [BREAKPOINTS] 2 | ShowInfoWin = 1 3 | EnableFlashBP = 2 4 | BPDuringExecution = 0 5 | [CFI] 6 | CFISize = 0x00 7 | CFIAddr = 0x00 8 | [CPU] 9 | OverrideMemMap = 0 10 | AllowSimulation = 1 11 | ScriptFile="" 12 | [FLASH] 13 | MinNumBytesFlashDL = 0 14 | SkipProgOnCRCMatch = 1 15 | VerifyDownload = 1 16 | AllowCaching = 1 17 | EnableFlashDL = 2 18 | Override = 0 19 | Device="AD7160" 20 | [GENERAL] 21 | WorkRAMSize = 0x00 22 | WorkRAMAddr = 0x00 23 | [SWO] 24 | SWOLogFile="" 25 | [MEM] 26 | RdOverrideOrMask = 0x00 27 | RdOverrideAndMask = 0xFFFFFFFF 28 | RdOverrideAddr = 0xFFFFFFFF 29 | WrOverrideOrMask = 0x00 30 | WrOverrideAndMask = 0xFFFFFFFF 31 | WrOverrideAddr = 0xFFFFFFFF 32 | -------------------------------------------------------------------------------- /USER/TIMER.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M3 2 | ".\main.o" 3 | ".\stm32f10x_it.o" 4 | ".\system_stm32f10x.o" 5 | ".\led.o" 6 | ".\key.o" 7 | ".\wdg.o" 8 | ".\timer.o" 9 | ".\ultrasonicwave.o" 10 | ".\beep.o" 11 | ".\motor.o" 12 | ".\delay.o" 13 | ".\sys.o" 14 | ".\usart.o" 15 | ".\core_cm3.o" 16 | ".\startup_stm32f10x_md.o" 17 | ".\misc.o" 18 | ".\stm32f10x_adc.o" 19 | ".\stm32f10x_bkp.o" 20 | ".\stm32f10x_can.o" 21 | ".\stm32f10x_cec.o" 22 | ".\stm32f10x_crc.o" 23 | ".\stm32f10x_dac.o" 24 | ".\stm32f10x_dbgmcu.o" 25 | ".\stm32f10x_dma.o" 26 | ".\stm32f10x_exti.o" 27 | ".\stm32f10x_flash.o" 28 | ".\stm32f10x_fsmc.o" 29 | ".\stm32f10x_gpio.o" 30 | ".\stm32f10x_i2c.o" 31 | ".\stm32f10x_iwdg.o" 32 | ".\stm32f10x_pwr.o" 33 | ".\stm32f10x_rcc.o" 34 | ".\stm32f10x_rtc.o" 35 | ".\stm32f10x_sdio.o" 36 | ".\stm32f10x_spi.o" 37 | ".\stm32f10x_tim.o" 38 | ".\stm32f10x_usart.o" 39 | ".\stm32f10x_wwdg.o" 40 | --strict --scatter ".\TIMER.sct" 41 | --summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols 42 | --info sizes --info totals --info unused --info veneers 43 | --list ".\TIMER.map" -o .\TIMER.axf -------------------------------------------------------------------------------- /HARDWARE/MOTOR/motor.c: -------------------------------------------------------------------------------- 1 | #include "motor.h" 2 | 3 | void motor1_go(u16 pwm) 4 | { 5 | TIM_SetCompare2(TIM3,pwm); 6 | GPIO_SetBits(GPIOA,GPIO_Pin_5); 7 | GPIO_ResetBits(GPIOA,GPIO_Pin_4); 8 | } 9 | 10 | void motor1_back(u16 pwm) 11 | { 12 | TIM_SetCompare2(TIM3,pwm); 13 | GPIO_ResetBits(GPIOA,GPIO_Pin_5); 14 | GPIO_SetBits(GPIOA,GPIO_Pin_4); 15 | } 16 | 17 | void motor1_stop(void) 18 | { 19 | TIM_SetCompare2(TIM3,0); 20 | GPIO_ResetBits(GPIOA,GPIO_Pin_4); 21 | GPIO_ResetBits(GPIOA,GPIO_Pin_5); 22 | } 23 | 24 | void motor2_go(u16 pwm) 25 | { 26 | TIM_SetCompare2(TIM4,pwm); 27 | GPIO_SetBits(GPIOB,GPIO_Pin_9); 28 | GPIO_ResetBits(GPIOB,GPIO_Pin_6); 29 | } 30 | 31 | void motor2_back(u16 pwm) 32 | { 33 | TIM_SetCompare2(TIM4,pwm); 34 | GPIO_ResetBits(GPIOB,GPIO_Pin_9); 35 | GPIO_SetBits(GPIOB,GPIO_Pin_6); 36 | } 37 | 38 | void motor2_stop(void) 39 | { 40 | TIM_SetCompare2(TIM4,0); 41 | GPIO_ResetBits(GPIOB,GPIO_Pin_6); 42 | GPIO_ResetBits(GPIOB,GPIO_Pin_9); 43 | } 44 | 45 | void left(void) 46 | { 47 | motor1_go(300); 48 | motor2_go(400); 49 | delay_ms(300); 50 | } 51 | 52 | void right(void) 53 | { 54 | motor2_go(300); 55 | motor1_go(400); 56 | delay_ms(300); 57 | } 58 | 59 | void go(void) 60 | { 61 | motor1_go(300); 62 | motor2_go(300); 63 | delay_ms(300); 64 | } 65 | 66 | void stop(void) 67 | { 68 | motor1_stop(); 69 | motor2_stop(); 70 | delay_ms(100); 71 | } 72 | 73 | 74 | -------------------------------------------------------------------------------- /USER/sys.d: -------------------------------------------------------------------------------- 1 | .\sys.o: ..\SYSTEM\sys\sys.c 2 | .\sys.o: ..\SYSTEM\sys\sys.h 3 | .\sys.o: ..\USER\stm32f10x.h 4 | .\sys.o: ..\CORE\core_cm3.h 5 | .\sys.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\sys.o: ..\USER\system_stm32f10x.h 7 | .\sys.o: ..\USER\stm32f10x_conf.h 8 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\sys.o: ..\USER\stm32f10x.h 10 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\sys.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\sys.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/led.d: -------------------------------------------------------------------------------- 1 | .\led.o: ..\HARDWARE\LED\led.c 2 | .\led.o: ..\USER\stm32f10x.h 3 | .\led.o: ..\CORE\core_cm3.h 4 | .\led.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | .\led.o: ..\USER\system_stm32f10x.h 6 | .\led.o: ..\USER\stm32f10x_conf.h 7 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 8 | .\led.o: ..\USER\stm32f10x.h 9 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 10 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 11 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 12 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 13 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 14 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 15 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 16 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 17 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 18 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 19 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 20 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 21 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 22 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 23 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 24 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 25 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 26 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 27 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 28 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 29 | .\led.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 30 | .\led.o: ..\STM32F10x_FWLib\inc\misc.h 31 | .\led.o: ..\HARDWARE\LED\led.h 32 | -------------------------------------------------------------------------------- /USER/misc.d: -------------------------------------------------------------------------------- 1 | .\misc.o: ..\STM32F10x_FWLib\src\misc.c 2 | .\misc.o: ..\STM32F10x_FWLib\inc\misc.h 3 | .\misc.o: ..\USER\stm32f10x.h 4 | .\misc.o: ..\CORE\core_cm3.h 5 | .\misc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\misc.o: ..\USER\system_stm32f10x.h 7 | .\misc.o: ..\USER\stm32f10x_conf.h 8 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\misc.o: ..\USER\stm32f10x.h 10 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\misc.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/adc.d: -------------------------------------------------------------------------------- 1 | .\adc.o: ..\HARDWARE\ADC\adc.c 2 | .\adc.o: ..\HARDWARE\ADC\adc.h 3 | .\adc.o: ..\SYSTEM\sys\sys.h 4 | .\adc.o: ..\USER\stm32f10x.h 5 | .\adc.o: ..\CORE\core_cm3.h 6 | .\adc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\adc.o: ..\USER\system_stm32f10x.h 8 | .\adc.o: ..\USER\stm32f10x_conf.h 9 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | .\adc.o: ..\USER\stm32f10x.h 11 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | .\adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | .\adc.o: ..\STM32F10x_FWLib\inc\misc.h 33 | .\adc.o: ..\SYSTEM\delay\delay.h 34 | -------------------------------------------------------------------------------- /USER/beep.d: -------------------------------------------------------------------------------- 1 | .\beep.o: ..\HARDWARE\BEEP\beep.c 2 | .\beep.o: ..\HARDWARE\BEEP\beep.h 3 | .\beep.o: ..\SYSTEM\sys\sys.h 4 | .\beep.o: ..\USER\stm32f10x.h 5 | .\beep.o: ..\CORE\core_cm3.h 6 | .\beep.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\beep.o: ..\USER\system_stm32f10x.h 8 | .\beep.o: ..\USER\stm32f10x_conf.h 9 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | .\beep.o: ..\USER\stm32f10x.h 11 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | .\beep.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | .\beep.o: ..\STM32F10x_FWLib\inc\misc.h 33 | -------------------------------------------------------------------------------- /USER/delay.d: -------------------------------------------------------------------------------- 1 | .\delay.o: ..\SYSTEM\delay\delay.c 2 | .\delay.o: ..\SYSTEM\delay\delay.h 3 | .\delay.o: ..\USER\stm32f10x.h 4 | .\delay.o: ..\CORE\core_cm3.h 5 | .\delay.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\delay.o: ..\USER\system_stm32f10x.h 7 | .\delay.o: ..\USER\stm32f10x_conf.h 8 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\delay.o: ..\USER\stm32f10x.h 10 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\delay.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\delay.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/key.d: -------------------------------------------------------------------------------- 1 | .\key.o: ..\HARDWARE\KEY\key.c 2 | .\key.o: ..\USER\stm32f10x.h 3 | .\key.o: ..\CORE\core_cm3.h 4 | .\key.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | .\key.o: ..\USER\system_stm32f10x.h 6 | .\key.o: ..\USER\stm32f10x_conf.h 7 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 8 | .\key.o: ..\USER\stm32f10x.h 9 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 10 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 11 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 12 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 13 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 14 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 15 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 16 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 17 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 18 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 19 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 20 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 21 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 22 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 23 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 24 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 25 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 26 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 27 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 28 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 29 | .\key.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 30 | .\key.o: ..\STM32F10x_FWLib\inc\misc.h 31 | .\key.o: ..\HARDWARE\KEY\key.h 32 | .\key.o: ..\SYSTEM\sys\sys.h 33 | .\key.o: ..\SYSTEM\delay\delay.h 34 | -------------------------------------------------------------------------------- /USER/wdg.d: -------------------------------------------------------------------------------- 1 | .\wdg.o: ..\HARDWARE\WDG\wdg.c 2 | .\wdg.o: ..\HARDWARE\WDG\wdg.h 3 | .\wdg.o: ..\SYSTEM\sys\sys.h 4 | .\wdg.o: ..\USER\stm32f10x.h 5 | .\wdg.o: ..\CORE\core_cm3.h 6 | .\wdg.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\wdg.o: ..\USER\system_stm32f10x.h 8 | .\wdg.o: ..\USER\stm32f10x_conf.h 9 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | .\wdg.o: ..\USER\stm32f10x.h 11 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | .\wdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | .\wdg.o: ..\STM32F10x_FWLib\inc\misc.h 33 | .\wdg.o: ..\HARDWARE\LED\led.h 34 | -------------------------------------------------------------------------------- /USER/timer.d: -------------------------------------------------------------------------------- 1 | .\timer.o: ..\HARDWARE\TIMER\timer.c 2 | .\timer.o: ..\HARDWARE\TIMER\timer.h 3 | .\timer.o: ..\SYSTEM\sys\sys.h 4 | .\timer.o: ..\USER\stm32f10x.h 5 | .\timer.o: ..\CORE\core_cm3.h 6 | .\timer.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\timer.o: ..\USER\system_stm32f10x.h 8 | .\timer.o: ..\USER\stm32f10x_conf.h 9 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | .\timer.o: ..\USER\stm32f10x.h 11 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | .\timer.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | .\timer.o: ..\STM32F10x_FWLib\inc\misc.h 33 | .\timer.o: ..\HARDWARE\LED\led.h 34 | -------------------------------------------------------------------------------- /USER/usart.d: -------------------------------------------------------------------------------- 1 | .\usart.o: ..\SYSTEM\usart\usart.c 2 | .\usart.o: ..\SYSTEM\sys\sys.h 3 | .\usart.o: ..\USER\stm32f10x.h 4 | .\usart.o: ..\CORE\core_cm3.h 5 | .\usart.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\usart.o: ..\USER\system_stm32f10x.h 7 | .\usart.o: ..\USER\stm32f10x_conf.h 8 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\usart.o: ..\USER\stm32f10x.h 10 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\usart.o: ..\STM32F10x_FWLib\inc\misc.h 32 | .\usart.o: ..\SYSTEM\usart\usart.h 33 | .\usart.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 34 | -------------------------------------------------------------------------------- /USER/motor.d: -------------------------------------------------------------------------------- 1 | .\motor.o: ..\HARDWARE\MOTOR\motor.c 2 | .\motor.o: ..\HARDWARE\MOTOR\motor.h 3 | .\motor.o: ..\SYSTEM\sys\sys.h 4 | .\motor.o: ..\USER\stm32f10x.h 5 | .\motor.o: ..\CORE\core_cm3.h 6 | .\motor.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\motor.o: ..\USER\system_stm32f10x.h 8 | .\motor.o: ..\USER\stm32f10x_conf.h 9 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | .\motor.o: ..\USER\stm32f10x.h 11 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | .\motor.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | .\motor.o: ..\STM32F10x_FWLib\inc\misc.h 33 | .\motor.o: ..\HARDWARE\TIMER\timer.h 34 | .\motor.o: ..\SYSTEM\delay\delay.h 35 | -------------------------------------------------------------------------------- /USER/exti.d: -------------------------------------------------------------------------------- 1 | exti.o: ..\HARDWARE\EXTI\exti.c 2 | exti.o: ..\HARDWARE\EXTI\exti.h 3 | exti.o: ..\SYSTEM\sys\sys.h 4 | exti.o: ..\USER\stm32f10x.h 5 | exti.o: ..\CORE\core_cm3.h 6 | exti.o: E:\Program Files\Keil\ARM\ARMCC\bin\..\include\stdint.h 7 | exti.o: ..\USER\system_stm32f10x.h 8 | exti.o: ..\USER\stm32f10x_conf.h 9 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | exti.o: ..\USER\stm32f10x.h 11 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | exti.o: ..\STM32F10x_FWLib\inc\misc.h 33 | exti.o: ..\HARDWARE\LED\led.h 34 | exti.o: ..\HARDWARE\KEY\key.h 35 | exti.o: ..\SYSTEM\delay\delay.h 36 | exti.o: ..\SYSTEM\usart\usart.h 37 | exti.o: E:\Program Files\Keil\ARM\ARMCC\bin\..\include\stdio.h 38 | -------------------------------------------------------------------------------- /USER/stm32f10x_it.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_it.o: stm32f10x_it.c 2 | .\stm32f10x_it.o: stm32f10x_it.h 3 | .\stm32f10x_it.o: stm32f10x.h 4 | .\stm32f10x_it.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_it.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_it.o: system_stm32f10x.h 7 | .\stm32f10x_it.o: stm32f10x_conf.h 8 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_it.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_it.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/lcd.d: -------------------------------------------------------------------------------- 1 | .\lcd.o: ..\HARDWARE\LCD\lcd.c 2 | .\lcd.o: ..\HARDWARE\LCD\lcd.h 3 | .\lcd.o: ..\SYSTEM\sys\sys.h 4 | .\lcd.o: ..\USER\stm32f10x.h 5 | .\lcd.o: ..\CORE\core_cm3.h 6 | .\lcd.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 7 | .\lcd.o: ..\USER\system_stm32f10x.h 8 | .\lcd.o: ..\USER\stm32f10x_conf.h 9 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 10 | .\lcd.o: ..\USER\stm32f10x.h 11 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 12 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 13 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 14 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 15 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 16 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 17 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 18 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 19 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 20 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 21 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 22 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 23 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 24 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 25 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 26 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 27 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 28 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 29 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 30 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 31 | .\lcd.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 32 | .\lcd.o: ..\STM32F10x_FWLib\inc\misc.h 33 | .\lcd.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdlib.h 34 | .\lcd.o: ..\HARDWARE\LCD\font.h 35 | .\lcd.o: ..\SYSTEM\usart\usart.h 36 | .\lcd.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 37 | .\lcd.o: ..\SYSTEM\delay\delay.h 38 | -------------------------------------------------------------------------------- /USER/system_stm32f10x.d: -------------------------------------------------------------------------------- 1 | .\system_stm32f10x.o: system_stm32f10x.c 2 | .\system_stm32f10x.o: stm32f10x.h 3 | .\system_stm32f10x.o: ..\CORE\core_cm3.h 4 | .\system_stm32f10x.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 5 | .\system_stm32f10x.o: system_stm32f10x.h 6 | .\system_stm32f10x.o: stm32f10x_conf.h 7 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 8 | .\system_stm32f10x.o: ..\USER\stm32f10x.h 9 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 10 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 11 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 12 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 13 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 14 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 15 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 16 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 17 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 18 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 19 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 20 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 21 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 22 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 23 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 24 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 25 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 26 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 27 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 28 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 29 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 30 | .\system_stm32f10x.o: ..\STM32F10x_FWLib\inc\misc.h 31 | -------------------------------------------------------------------------------- /USER/stm32f10x_adc.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\src\stm32f10x_adc.c 2 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 3 | .\stm32f10x_adc.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_adc.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_adc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_adc.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_adc.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 10 | .\stm32f10x_adc.o: ..\USER\stm32f10x.h 11 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_adc.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_bkp.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\src\stm32f10x_bkp.c 2 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 3 | .\stm32f10x_bkp.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_bkp.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_bkp.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_bkp.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_bkp.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_bkp.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_bkp.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_can.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\src\stm32f10x_can.c 2 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 3 | .\stm32f10x_can.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_can.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_can.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_can.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_can.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_can.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_can.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_cec.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\src\stm32f10x_cec.c 2 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 3 | .\stm32f10x_cec.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_cec.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_cec.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_cec.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_cec.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_cec.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_cec.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_crc.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\src\stm32f10x_crc.c 2 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 3 | .\stm32f10x_crc.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_crc.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_crc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_crc.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_crc.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_crc.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_crc.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_dac.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\src\stm32f10x_dac.c 2 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 3 | .\stm32f10x_dac.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_dac.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_dac.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_dac.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_dac.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_dac.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_dac.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_dma.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\src\stm32f10x_dma.c 2 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 3 | .\stm32f10x_dma.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_dma.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_dma.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_dma.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_dma.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_dma.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_dma.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_i2c.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\src\stm32f10x_i2c.c 2 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 3 | .\stm32f10x_i2c.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_i2c.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_i2c.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_i2c.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_i2c.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_i2c.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_i2c.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_pwr.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\src\stm32f10x_pwr.c 2 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 3 | .\stm32f10x_pwr.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_pwr.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_pwr.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_pwr.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_pwr.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_pwr.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_pwr.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_rcc.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\src\stm32f10x_rcc.c 2 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 3 | .\stm32f10x_rcc.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_rcc.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_rcc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_rcc.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_rcc.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_rcc.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_rcc.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_rtc.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\src\stm32f10x_rtc.c 2 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 3 | .\stm32f10x_rtc.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_rtc.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_rtc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_rtc.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_rtc.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_rtc.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_rtc.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_spi.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\src\stm32f10x_spi.c 2 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 3 | .\stm32f10x_spi.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_spi.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_spi.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_spi.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_spi.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_spi.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_spi.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_tim.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\src\stm32f10x_tim.c 2 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 3 | .\stm32f10x_tim.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_tim.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_tim.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_tim.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_tim.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_tim.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_tim.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_exti.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\src\stm32f10x_exti.c 2 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 3 | .\stm32f10x_exti.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_exti.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_exti.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_exti.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_exti.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_exti.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_exti.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_fsmc.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\src\stm32f10x_fsmc.c 2 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 3 | .\stm32f10x_fsmc.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_fsmc.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_fsmc.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_fsmc.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_fsmc.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_fsmc.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_fsmc.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_gpio.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\src\stm32f10x_gpio.c 2 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 3 | .\stm32f10x_gpio.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_gpio.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_gpio.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_gpio.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_gpio.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_gpio.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_gpio.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_iwdg.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\src\stm32f10x_iwdg.c 2 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 3 | .\stm32f10x_iwdg.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_iwdg.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_iwdg.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_iwdg.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_iwdg.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_iwdg.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_iwdg.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_sdio.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\src\stm32f10x_sdio.c 2 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 3 | .\stm32f10x_sdio.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_sdio.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_sdio.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_sdio.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_sdio.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_sdio.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_sdio.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_wwdg.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\src\stm32f10x_wwdg.c 2 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 3 | .\stm32f10x_wwdg.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_wwdg.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_wwdg.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_wwdg.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_wwdg.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_wwdg.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_wwdg.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/main.d: -------------------------------------------------------------------------------- 1 | .\main.o: main.c 2 | .\main.o: ..\HARDWARE\LED\led.h 3 | .\main.o: ..\USER\stm32f10x.h 4 | .\main.o: ..\CORE\core_cm3.h 5 | .\main.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\main.o: ..\USER\system_stm32f10x.h 7 | .\main.o: ..\USER\stm32f10x_conf.h 8 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\main.o: ..\USER\stm32f10x.h 10 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\main.o: ..\STM32F10x_FWLib\inc\misc.h 32 | .\main.o: ..\SYSTEM\delay\delay.h 33 | .\main.o: ..\SYSTEM\sys\sys.h 34 | .\main.o: ..\HARDWARE\KEY\key.h 35 | .\main.o: ..\HARDWARE\BEEP\beep.h 36 | .\main.o: ..\SYSTEM\usart\usart.h 37 | .\main.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 38 | .\main.o: ..\HARDWARE\EXTI\exti.h 39 | .\main.o: ..\HARDWARE\TIMER\timer.h 40 | .\main.o: ..\HARDWARE\UltrasonicWave\UltrasonicWave.h 41 | -------------------------------------------------------------------------------- /USER/stm32f10x_flash.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\src\stm32f10x_flash.c 2 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 3 | .\stm32f10x_flash.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_flash.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_flash.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_flash.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_flash.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_flash.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_flash.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_usart.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\src\stm32f10x_usart.c 2 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 3 | .\stm32f10x_usart.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_usart.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_usart.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_usart.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_usart.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_usart.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_usart.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_dbgmcu.d: -------------------------------------------------------------------------------- 1 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\src\stm32f10x_dbgmcu.c 2 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 3 | .\stm32f10x_dbgmcu.o: ..\USER\stm32f10x.h 4 | .\stm32f10x_dbgmcu.o: ..\CORE\core_cm3.h 5 | .\stm32f10x_dbgmcu.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 6 | .\stm32f10x_dbgmcu.o: ..\USER\system_stm32f10x.h 7 | .\stm32f10x_dbgmcu.o: ..\USER\stm32f10x_conf.h 8 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 9 | .\stm32f10x_dbgmcu.o: ..\USER\stm32f10x.h 10 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 11 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 12 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 13 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 14 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 15 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 16 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 17 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 18 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 19 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 20 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 21 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 22 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 23 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 24 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 25 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 26 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 27 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 28 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 29 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 30 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 31 | .\stm32f10x_dbgmcu.o: ..\STM32F10x_FWLib\inc\misc.h 32 | -------------------------------------------------------------------------------- /USER/stm32f10x_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file GPIO/IOToggle/stm32f10x_it.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief This file contains the headers of the interrupt handlers. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_IT_H 24 | #define __STM32F10x_IT_H 25 | 26 | /* Includes ------------------------------------------------------------------*/ 27 | #include "stm32f10x.h" 28 | 29 | /* Exported types ------------------------------------------------------------*/ 30 | /* Exported constants --------------------------------------------------------*/ 31 | /* Exported macro ------------------------------------------------------------*/ 32 | /* Exported functions ------------------------------------------------------- */ 33 | 34 | void NMI_Handler(void); 35 | void HardFault_Handler(void); 36 | void MemManage_Handler(void); 37 | void BusFault_Handler(void); 38 | void UsageFault_Handler(void); 39 | void SVC_Handler(void); 40 | void DebugMon_Handler(void); 41 | void PendSV_Handler(void); 42 | void SysTick_Handler(void); 43 | 44 | #endif /* __STM32F10x_IT_H */ 45 | 46 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 47 | -------------------------------------------------------------------------------- /USER/ultrasonicwave.d: -------------------------------------------------------------------------------- 1 | .\ultrasonicwave.o: ..\HARDWARE\UltrasonicWave\UltrasonicWave.c 2 | .\ultrasonicwave.o: ..\HARDWARE\UltrasonicWave\UltrasonicWave.h 3 | .\ultrasonicwave.o: ..\SYSTEM\usart\usart.h 4 | .\ultrasonicwave.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdio.h 5 | .\ultrasonicwave.o: ..\HARDWARE\TIMER\timer.h 6 | .\ultrasonicwave.o: ..\SYSTEM\sys\sys.h 7 | .\ultrasonicwave.o: ..\USER\stm32f10x.h 8 | .\ultrasonicwave.o: ..\CORE\core_cm3.h 9 | .\ultrasonicwave.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h 10 | .\ultrasonicwave.o: ..\USER\system_stm32f10x.h 11 | .\ultrasonicwave.o: ..\USER\stm32f10x_conf.h 12 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h 13 | .\ultrasonicwave.o: ..\USER\stm32f10x.h 14 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h 15 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h 16 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h 17 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h 18 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h 19 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h 20 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h 21 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h 22 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h 23 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h 24 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h 25 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h 26 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h 27 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h 28 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h 29 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h 30 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h 31 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h 32 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h 33 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h 34 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h 35 | .\ultrasonicwave.o: ..\STM32F10x_FWLib\inc\misc.h 36 | .\ultrasonicwave.o: ..\HARDWARE\BEEP\beep.h 37 | .\ultrasonicwave.o: ..\SYSTEM\delay\delay.h 38 | .\ultrasonicwave.o: D:\Keil_v5\ARM\ARMCC\Bin\..\include\math.h 39 | .\ultrasonicwave.o: ..\HARDWARE\MOTOR\motor.h 40 | -------------------------------------------------------------------------------- /USER/system_stm32f10x.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file system_stm32f10x.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /** @addtogroup CMSIS 23 | * @{ 24 | */ 25 | 26 | /** @addtogroup stm32f10x_system 27 | * @{ 28 | */ 29 | 30 | /** 31 | * @brief Define to prevent recursive inclusion 32 | */ 33 | #ifndef __SYSTEM_STM32F10X_H 34 | #define __SYSTEM_STM32F10X_H 35 | 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @addtogroup STM32F10x_System_Includes 41 | * @{ 42 | */ 43 | 44 | /** 45 | * @} 46 | */ 47 | 48 | 49 | /** @addtogroup STM32F10x_System_Exported_types 50 | * @{ 51 | */ 52 | 53 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @addtogroup STM32F10x_System_Exported_Constants 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @addtogroup STM32F10x_System_Exported_Macros 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @addtogroup STM32F10x_System_Exported_Functions 76 | * @{ 77 | */ 78 | 79 | extern void SystemInit(void); 80 | extern void SystemCoreClockUpdate(void); 81 | /** 82 | * @} 83 | */ 84 | 85 | #ifdef __cplusplus 86 | } 87 | #endif 88 | 89 | #endif /*__SYSTEM_STM32F10X_H */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 99 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_crc.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_crc.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the CRC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_CRC_H 25 | #define __STM32F10x_CRC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup CRC 39 | * @{ 40 | */ 41 | 42 | /** @defgroup CRC_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup CRC_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /** @defgroup CRC_Exported_Macros 59 | * @{ 60 | */ 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup CRC_Exported_Functions 67 | * @{ 68 | */ 69 | 70 | void CRC_ResetDR(void); 71 | uint32_t CRC_CalcCRC(uint32_t Data); 72 | uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength); 73 | uint32_t CRC_GetCRC(void); 74 | void CRC_SetIDRegister(uint8_t IDValue); 75 | uint8_t CRC_GetIDRegister(void); 76 | 77 | #ifdef __cplusplus 78 | } 79 | #endif 80 | 81 | #endif /* __STM32F10x_CRC_H */ 82 | /** 83 | * @} 84 | */ 85 | 86 | /** 87 | * @} 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 95 | -------------------------------------------------------------------------------- /USER/stm32f10x_it.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file GPIO/IOToggle/stm32f10x_it.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief Main Interrupt Service Routines. 8 | * This file provides template for all exceptions handler and peripherals 9 | * interrupt service routine. 10 | ****************************************************************************** 11 | * @attention 12 | * 13 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 14 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 15 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 16 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 17 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 18 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 19 | * 20 | *

© COPYRIGHT 2011 STMicroelectronics

21 | ****************************************************************************** 22 | */ 23 | 24 | /* Includes ------------------------------------------------------------------*/ 25 | #include "stm32f10x_it.h" 26 | 27 | 28 | 29 | void NMI_Handler(void) 30 | { 31 | } 32 | 33 | void HardFault_Handler(void) 34 | { 35 | /* Go to infinite loop when Hard Fault exception occurs */ 36 | while (1) 37 | { 38 | } 39 | } 40 | 41 | void MemManage_Handler(void) 42 | { 43 | /* Go to infinite loop when Memory Manage exception occurs */ 44 | while (1) 45 | { 46 | } 47 | } 48 | 49 | 50 | void BusFault_Handler(void) 51 | { 52 | /* Go to infinite loop when Bus Fault exception occurs */ 53 | while (1) 54 | { 55 | } 56 | } 57 | 58 | void UsageFault_Handler(void) 59 | { 60 | /* Go to infinite loop when Usage Fault exception occurs */ 61 | while (1) 62 | { 63 | } 64 | } 65 | 66 | void SVC_Handler(void) 67 | { 68 | } 69 | 70 | void DebugMon_Handler(void) 71 | { 72 | } 73 | 74 | void PendSV_Handler(void) 75 | { 76 | } 77 | 78 | void SysTick_Handler(void) 79 | { 80 | } 81 | 82 | /******************************************************************************/ 83 | /* STM32F10x Peripherals Interrupt Handlers */ 84 | /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ 85 | /* available peripheral interrupt handler's name please refer to the startup */ 86 | /* file (startup_stm32f10x_xx.s). */ 87 | /******************************************************************************/ 88 | -------------------------------------------------------------------------------- /USER/TIMER.tra: -------------------------------------------------------------------------------- 1 | *** Creating Trace Output File 'TIMER.tra' Ok. 2 | ### Preparing for ADS-LD. 3 | ### Creating ADS-LD Command Line 4 | ### List of Objects: adding '"main.o"' 5 | ### List of Objects: adding '"stm32f10x_it.o"' 6 | ### List of Objects: adding '"system_stm32f10x.o"' 7 | ### List of Objects: adding '"led.o"' 8 | ### List of Objects: adding '"key.o"' 9 | ### List of Objects: adding '"wdg.o"' 10 | ### List of Objects: adding '"timer.o"' 11 | ### List of Objects: adding '"ultrasonicwave.o"' 12 | ### List of Objects: adding '"delay.o"' 13 | ### List of Objects: adding '"sys.o"' 14 | ### List of Objects: adding '"usart.o"' 15 | ### List of Objects: adding '"core_cm3.o"' 16 | ### List of Objects: adding '".\startup_stm32f10x_md.o"' 17 | ### List of Objects: adding '"misc.o"' 18 | ### List of Objects: adding '"stm32f10x_adc.o"' 19 | ### List of Objects: adding '"stm32f10x_bkp.o"' 20 | ### List of Objects: adding '"stm32f10x_can.o"' 21 | ### List of Objects: adding '"stm32f10x_cec.o"' 22 | ### List of Objects: adding '"stm32f10x_crc.o"' 23 | ### List of Objects: adding '"stm32f10x_dac.o"' 24 | ### List of Objects: adding '"stm32f10x_dbgmcu.o"' 25 | ### List of Objects: adding '"stm32f10x_dma.o"' 26 | ### List of Objects: adding '"stm32f10x_exti.o"' 27 | ### List of Objects: adding '"stm32f10x_flash.o"' 28 | ### List of Objects: adding '"stm32f10x_fsmc.o"' 29 | ### List of Objects: adding '"stm32f10x_gpio.o"' 30 | ### List of Objects: adding '"stm32f10x_i2c.o"' 31 | ### List of Objects: adding '"stm32f10x_iwdg.o"' 32 | ### List of Objects: adding '"stm32f10x_pwr.o"' 33 | ### List of Objects: adding '"stm32f10x_rcc.o"' 34 | ### List of Objects: adding '"stm32f10x_rtc.o"' 35 | ### List of Objects: adding '"stm32f10x_sdio.o"' 36 | ### List of Objects: adding '"stm32f10x_spi.o"' 37 | ### List of Objects: adding '"stm32f10x_tim.o"' 38 | ### List of Objects: adding '"stm32f10x_usart.o"' 39 | ### List of Objects: adding '"stm32f10x_wwdg.o"' 40 | ### ADS-LD Command completed: 41 | --cpu Cortex-M3 "main.o" "stm32f10x_it.o" "system_stm32f10x.o" "led.o" "key.o" "wdg.o" "timer.o" "ultrasonicwave.o" "delay.o" "sys.o" "usart.o" "core_cm3.o" ".\startup_stm32f10x_md.o" "misc.o" "stm32f10x_adc.o" "stm32f10x_bkp.o" "stm32f10x_can.o" "stm32f10x_cec.o" "stm32f10x_crc.o" "stm32f10x_dac.o" "stm32f10x_dbgmcu.o" "stm32f10x_dma.o" "stm32f10x_exti.o" "stm32f10x_flash.o" "stm32f10x_fsmc.o" "stm32f10x_gpio.o" "stm32f10x_i2c.o" "stm32f10x_iwdg.o" "stm32f10x_pwr.o" "stm32f10x_rcc.o" "stm32f10x_rtc.o" "stm32f10x_sdio.o" "stm32f10x_spi.o" "stm32f10x_tim.o" "stm32f10x_usart.o" "stm32f10x_wwdg.o" 42 | --strict --scatter "TIMER.sct" 43 | --summary_stderr --info summarysizes --map --xref --callgraph --symbols 44 | --info sizes --info totals --info unused --info veneers 45 | --list ".\TIMER.map" -o TIMER.axf### Preparing Environment (PrepEnvAds) 46 | ### ADS-LD Output File: 'TIMER.axf' 47 | ### ADS-LD Command File: 'TIMER.lnp' 48 | ### Checking for dirty Components... 49 | ### Creating CmdFile 'TIMER.lnp', Handle=0x000004A0 50 | ### Writing '.lnp' file 51 | ### ADS-LD Command file 'TIMER.lnp' is ready. 52 | ### ADS-LD: About to start ADS-LD Thread. 53 | ### ADS-LD: executed with 0 errors 54 | ### Updating obj list 55 | ### LDADS_file() completed. 56 | -------------------------------------------------------------------------------- /USER/stm32f10x_conf.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file GPIO/IOToggle/stm32f10x_conf.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 08-April-2011 7 | * @brief Library configuration file. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Define to prevent recursive inclusion -------------------------------------*/ 23 | #ifndef __STM32F10x_CONF_H 24 | #define __STM32F10x_CONF_H 25 | 26 | /* Includes ------------------------------------------------------------------*/ 27 | /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */ 28 | #include "stm32f10x_adc.h" 29 | #include "stm32f10x_bkp.h" 30 | #include "stm32f10x_can.h" 31 | #include "stm32f10x_cec.h" 32 | #include "stm32f10x_crc.h" 33 | #include "stm32f10x_dac.h" 34 | #include "stm32f10x_dbgmcu.h" 35 | #include "stm32f10x_dma.h" 36 | #include "stm32f10x_exti.h" 37 | #include "stm32f10x_flash.h" 38 | #include "stm32f10x_fsmc.h" 39 | #include "stm32f10x_gpio.h" 40 | #include "stm32f10x_i2c.h" 41 | #include "stm32f10x_iwdg.h" 42 | #include "stm32f10x_pwr.h" 43 | #include "stm32f10x_rcc.h" 44 | #include "stm32f10x_rtc.h" 45 | #include "stm32f10x_sdio.h" 46 | #include "stm32f10x_spi.h" 47 | #include "stm32f10x_tim.h" 48 | #include "stm32f10x_usart.h" 49 | #include "stm32f10x_wwdg.h" 50 | #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 51 | 52 | /* Exported types ------------------------------------------------------------*/ 53 | /* Exported constants --------------------------------------------------------*/ 54 | /* Uncomment the line below to expanse the "assert_param" macro in the 55 | Standard Peripheral Library drivers code */ 56 | /* #define USE_FULL_ASSERT 1 */ 57 | 58 | /* Exported macro ------------------------------------------------------------*/ 59 | #ifdef USE_FULL_ASSERT 60 | 61 | /** 62 | * @brief The assert_param macro is used for function's parameters check. 63 | * @param expr: If expr is false, it calls assert_failed function which reports 64 | * the name of the source file and the source line number of the call 65 | * that failed. If expr is true, it returns no value. 66 | * @retval None 67 | */ 68 | #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) 69 | /* Exported functions ------------------------------------------------------- */ 70 | void assert_failed(uint8_t* file, uint32_t line); 71 | #else 72 | #define assert_param(expr) ((void)0) 73 | #endif /* USE_FULL_ASSERT */ 74 | 75 | #endif /* __STM32F10x_CONF_H */ 76 | 77 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 78 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_wwdg.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_wwdg.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the WWDG firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_WWDG_H 25 | #define __STM32F10x_WWDG_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup WWDG 39 | * @{ 40 | */ 41 | 42 | /** @defgroup WWDG_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup WWDG_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup WWDG_Prescaler 55 | * @{ 56 | */ 57 | 58 | #define WWDG_Prescaler_1 ((uint32_t)0x00000000) 59 | #define WWDG_Prescaler_2 ((uint32_t)0x00000080) 60 | #define WWDG_Prescaler_4 ((uint32_t)0x00000100) 61 | #define WWDG_Prescaler_8 ((uint32_t)0x00000180) 62 | #define IS_WWDG_PRESCALER(PRESCALER) (((PRESCALER) == WWDG_Prescaler_1) || \ 63 | ((PRESCALER) == WWDG_Prescaler_2) || \ 64 | ((PRESCALER) == WWDG_Prescaler_4) || \ 65 | ((PRESCALER) == WWDG_Prescaler_8)) 66 | #define IS_WWDG_WINDOW_VALUE(VALUE) ((VALUE) <= 0x7F) 67 | #define IS_WWDG_COUNTER(COUNTER) (((COUNTER) >= 0x40) && ((COUNTER) <= 0x7F)) 68 | 69 | /** 70 | * @} 71 | */ 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | /** @defgroup WWDG_Exported_Macros 78 | * @{ 79 | */ 80 | /** 81 | * @} 82 | */ 83 | 84 | /** @defgroup WWDG_Exported_Functions 85 | * @{ 86 | */ 87 | 88 | void WWDG_DeInit(void); 89 | void WWDG_SetPrescaler(uint32_t WWDG_Prescaler); 90 | void WWDG_SetWindowValue(uint8_t WindowValue); 91 | void WWDG_EnableIT(void); 92 | void WWDG_SetCounter(uint8_t Counter); 93 | void WWDG_Enable(uint8_t Counter); 94 | FlagStatus WWDG_GetFlagStatus(void); 95 | void WWDG_ClearFlag(void); 96 | 97 | #ifdef __cplusplus 98 | } 99 | #endif 100 | 101 | #endif /* __STM32F10x_WWDG_H */ 102 | 103 | /** 104 | * @} 105 | */ 106 | 107 | /** 108 | * @} 109 | */ 110 | 111 | /** 112 | * @} 113 | */ 114 | 115 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 116 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_crc.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_crc.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the CRC firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_crc.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup CRC 30 | * @brief CRC driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup CRC_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup CRC_Private_Defines 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup CRC_Private_Macros 51 | * @{ 52 | */ 53 | 54 | /** 55 | * @} 56 | */ 57 | 58 | /** @defgroup CRC_Private_Variables 59 | * @{ 60 | */ 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup CRC_Private_FunctionPrototypes 67 | * @{ 68 | */ 69 | 70 | /** 71 | * @} 72 | */ 73 | 74 | /** @defgroup CRC_Private_Functions 75 | * @{ 76 | */ 77 | 78 | /** 79 | * @brief Resets the CRC Data register (DR). 80 | * @param None 81 | * @retval None 82 | */ 83 | void CRC_ResetDR(void) 84 | { 85 | /* Reset CRC generator */ 86 | CRC->CR = CRC_CR_RESET; 87 | } 88 | 89 | /** 90 | * @brief Computes the 32-bit CRC of a given data word(32-bit). 91 | * @param Data: data word(32-bit) to compute its CRC 92 | * @retval 32-bit CRC 93 | */ 94 | uint32_t CRC_CalcCRC(uint32_t Data) 95 | { 96 | CRC->DR = Data; 97 | 98 | return (CRC->DR); 99 | } 100 | 101 | /** 102 | * @brief Computes the 32-bit CRC of a given buffer of data word(32-bit). 103 | * @param pBuffer: pointer to the buffer containing the data to be computed 104 | * @param BufferLength: length of the buffer to be computed 105 | * @retval 32-bit CRC 106 | */ 107 | uint32_t CRC_CalcBlockCRC(uint32_t pBuffer[], uint32_t BufferLength) 108 | { 109 | uint32_t index = 0; 110 | 111 | for(index = 0; index < BufferLength; index++) 112 | { 113 | CRC->DR = pBuffer[index]; 114 | } 115 | return (CRC->DR); 116 | } 117 | 118 | /** 119 | * @brief Returns the current CRC value. 120 | * @param None 121 | * @retval 32-bit CRC 122 | */ 123 | uint32_t CRC_GetCRC(void) 124 | { 125 | return (CRC->DR); 126 | } 127 | 128 | /** 129 | * @brief Stores a 8-bit data in the Independent Data(ID) register. 130 | * @param IDValue: 8-bit value to be stored in the ID register 131 | * @retval None 132 | */ 133 | void CRC_SetIDRegister(uint8_t IDValue) 134 | { 135 | CRC->IDR = IDValue; 136 | } 137 | 138 | /** 139 | * @brief Returns the 8-bit data stored in the Independent Data(ID) register 140 | * @param None 141 | * @retval 8-bit value of the ID register 142 | */ 143 | uint8_t CRC_GetIDRegister(void) 144 | { 145 | return (CRC->IDR); 146 | } 147 | 148 | /** 149 | * @} 150 | */ 151 | 152 | /** 153 | * @} 154 | */ 155 | 156 | /** 157 | * @} 158 | */ 159 | 160 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 161 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_dbgmcu.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_dbgmcu.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the DBGMCU 8 | * firmware library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_DBGMCU_H 25 | #define __STM32F10x_DBGMCU_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup DBGMCU 39 | * @{ 40 | */ 41 | 42 | /** @defgroup DBGMCU_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup DBGMCU_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | #define DBGMCU_SLEEP ((uint32_t)0x00000001) 55 | #define DBGMCU_STOP ((uint32_t)0x00000002) 56 | #define DBGMCU_STANDBY ((uint32_t)0x00000004) 57 | #define DBGMCU_IWDG_STOP ((uint32_t)0x00000100) 58 | #define DBGMCU_WWDG_STOP ((uint32_t)0x00000200) 59 | #define DBGMCU_TIM1_STOP ((uint32_t)0x00000400) 60 | #define DBGMCU_TIM2_STOP ((uint32_t)0x00000800) 61 | #define DBGMCU_TIM3_STOP ((uint32_t)0x00001000) 62 | #define DBGMCU_TIM4_STOP ((uint32_t)0x00002000) 63 | #define DBGMCU_CAN1_STOP ((uint32_t)0x00004000) 64 | #define DBGMCU_I2C1_SMBUS_TIMEOUT ((uint32_t)0x00008000) 65 | #define DBGMCU_I2C2_SMBUS_TIMEOUT ((uint32_t)0x00010000) 66 | #define DBGMCU_TIM8_STOP ((uint32_t)0x00020000) 67 | #define DBGMCU_TIM5_STOP ((uint32_t)0x00040000) 68 | #define DBGMCU_TIM6_STOP ((uint32_t)0x00080000) 69 | #define DBGMCU_TIM7_STOP ((uint32_t)0x00100000) 70 | #define DBGMCU_CAN2_STOP ((uint32_t)0x00200000) 71 | #define DBGMCU_TIM15_STOP ((uint32_t)0x00400000) 72 | #define DBGMCU_TIM16_STOP ((uint32_t)0x00800000) 73 | #define DBGMCU_TIM17_STOP ((uint32_t)0x01000000) 74 | #define DBGMCU_TIM12_STOP ((uint32_t)0x02000000) 75 | #define DBGMCU_TIM13_STOP ((uint32_t)0x04000000) 76 | #define DBGMCU_TIM14_STOP ((uint32_t)0x08000000) 77 | #define DBGMCU_TIM9_STOP ((uint32_t)0x10000000) 78 | #define DBGMCU_TIM10_STOP ((uint32_t)0x20000000) 79 | #define DBGMCU_TIM11_STOP ((uint32_t)0x40000000) 80 | 81 | #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0x800000F8) == 0x00) && ((PERIPH) != 0x00)) 82 | /** 83 | * @} 84 | */ 85 | 86 | /** @defgroup DBGMCU_Exported_Macros 87 | * @{ 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | /** @defgroup DBGMCU_Exported_Functions 95 | * @{ 96 | */ 97 | 98 | uint32_t DBGMCU_GetREVID(void); 99 | uint32_t DBGMCU_GetDEVID(void); 100 | void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState); 101 | 102 | #ifdef __cplusplus 103 | } 104 | #endif 105 | 106 | #endif /* __STM32F10x_DBGMCU_H */ 107 | /** 108 | * @} 109 | */ 110 | 111 | /** 112 | * @} 113 | */ 114 | 115 | /** 116 | * @} 117 | */ 118 | 119 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 120 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # smart-suitcase 2 | 针对行李箱笨重、易丢失的缺点,项目基于STM32设计了一款智慧行李箱。 3 | 4 | ### 项目简介 5 | 6 | 针对行李箱笨重、易丢失的缺点,文中基于STM32设计了一款智慧行李箱(暂由智能小车代替)。小车通过超声波测距模块HC-SR04检测主人的距离及方位,并将这些信息送入STM32进行处理,由STM32F103ZET6控制电机驱动模块L298N驱动小车的行进与转向。同时,创新性地引入由FSR402压力传感器、对应电压转换电路组成的重力测量模块,该模块能够实时测量所载物体重量。单片机由AD口与电压转换电路的AO口相接,直接读取重量信息。另一方面,由蜂鸣器和流水灯组成的报警系统能够结合所测的距离、物体重量信息,及时提示主人。目前,小车已经基本实现自动跟随主人的功能,重力测量、报警的功能已完全实现。文中设计的智慧行李箱兼具智能性与安全性,势必会给远行的人们带来极大的便利。 7 | 8 | ### 项目流程 9 | 10 |
11 | 12 | 小车先通过超声波测距测向模块采集主人的距离信息,并通过这些信息进而计算出主人的方向。接着,根据方向信息,单片机会驱动并且控制转向装置,使得小车始终朝着主人的方向前进;而根据距离信息,单片机会调整电机的功率——具体来说,当距离大于一定值时,保持功率不变,让小车匀速行驶;而当距离小于一定值时,就降低电机功率,让小车减速,以免误伤主人。与此同时,单片机不断地对距离信息进行判断,当它超过一定数值时,便同时启动报警装置。另一方面,小车通过重力感应器模块对其装载物品重量进行实时的测量。 13 | 14 | 性能指标: 15 | 16 | - 超声波测距模块的精度为厘米级,在2cm~3m测量精度较高 17 | - 在距离主人0.5m时降低电机功率 18 | - 在距离主人1.5m时启动报警装置 19 | - 重力传感器测量范围是100g~10kg 20 | 21 | ### 具体模块实现 22 | 23 | 我们将整个项目分为超声波测距模块、动力装置、报警装置、重力测量模块、供电装置这五个模块,下面是对具体模块的介绍与实现。 24 | 25 | #### 超声波测距 26 | 27 | 本次设计我组选用HC-SR04超声波测距模块,此模块性能稳定,测度距离精确,盲区小。 28 | 29 | 本模块使用方法简单,只需向TRIG端口发送一个10uS以上的高电平即可触发该模块的启动,该模块内部将发出8个40kHz周期电平并自动检测回波。一旦检测到有回波信号则输出ECHO信号(回响信号)至单片机。回响信号的脉冲宽度与所测的距离成正比。由此通过发射信号到收到的回响信号时间间隔可以计算得到距离。以下为超声波测距模块电路图。 30 | 31 |
32 | 33 | 另外,我们将两个超声波传感器相隔距离$d$同向放置,通过超声波测距模块ECHO端高电平持续的时间可以计算出主人与小车之间的距离,再通过下列公式可计算出主人的方位。 34 | 35 | $$cos\theta=\frac{x_1^2+d^2-x_2^2}{2x_1d} \tag{1}$$ 36 | 37 | 式中,$x_1$和$x_2$分别表示两个传感器所测量的主人与小车间的距离,$d$为两传感器间距。 38 | 39 | 尽管超声波测距测量的精度只能达到厘米级,但由于本项目只需根据这个数据计算出主人的大体方向,这个精度对于本项目而言可以满足需要。另外,我们计算角度的公式较为简单,尽管精度不高,但仍能保证小车向主人方向行进;并且由于计算量较小,数据处理的实时性较好,单片机能够及时计算出距离、角度等信息,准备进行下一步操作。 40 | 41 | **超声波测距相关算法及程序编写** 42 | 43 | 首先,距离的测定。使用两个外部中断接口分别接两个HC-SR04的TRIG信号输入端,并设置为上升沿触发。为避免两个超声波测距模块相互干扰(比如:其中一个测距模块的ECHO端口接收到了另一个测距模块发出的超声波),间隔性启动两个HC-SR04模块。当一个超声波测距模块工作时,只使能对应中断,将另一个外部中断失能。当有一个中断接口检测到上升沿时,进入相应的中断服务函数,启动计时器计时。再由事先输入的公式将所测时间转化为距离。另外,为保证测量结果的相对准确,使测距模块连续测量多次(最多10次),取其中位于量程内的5个距离数值,删去其中的最大与最小值,取剩余的3个距离数值的平均数作为最后的结果。至此,对距离的一次测量完成。最后,将本接口对应中断失能,使能另一接口的中断,准备下一次的测量。 44 | 45 | 其次,角度的计算。当两个测距模块均测量结束后,屏蔽全局中断,进入到角度的计算过程中。根据数学模型中的算法,将测定的距离,带入到相应数学公式中,得到角度的值。最后,初始化相关参数设置,并重新使能全局中断,进行下一次的数据采集工作。 46 | 47 | #### 动力模块 48 | 49 | 动力模块我组准备采用L298N电机驱动模块搭配直流减速电机,下表是L298N功能逻辑图。 50 | 51 | | $E_{nA}$ | In1 | In2 | 运转状态 | 52 | | -------- | ----- | ----- | -------- | 53 | | 0 | **×** | **×** | 停止 | 54 | | 1 | 1 | 0 | 正转 | 55 | | 1 | 0 | 1 | 反转 | 56 | | 1 | 1 | 1 | 刹停 | 57 | | 1 | 0 | 0 | 停止 | 58 | 59 | **动力模块相关算法及程序编写** 60 | 61 | 动力模块的程序是在超声波测量模块程序的基础上编写的。 62 | 63 | 首先,串口的选择。由于需要进行电机的调速,我组采用改变PWM输出占空比的方法。这样一来,对于PWM输出串口的选择就极为重要。通过查阅STM32F103ZET6的中文参考手册,我们确定了TIM3和TIM4两个定时器对应的部分映射引脚作为PWM输出的串口。 64 | 65 | 其次,根据L298N功能逻辑图,结合超声波测距模块的测量结果,调整对应串口的PWM输出。具体来说,若所测距离小于0.5m,立刻使两个电机全部停转;若距离在0.5m与1.5m之间,且主人的方位角小于5度,就使两个电机同功率运转;如若方位角过大,就在两个电机输出不同的PWM占空比,调整电机功率,使小车完成所需转向。 66 | 67 | #### 报警装置 68 | 69 | 声光报警装置由STM32F103ZET6单片机自带的一个蜂鸣器(对应接口PB8)和一个警示灯(这里选用LED0)组成。当超声波测距传感器所测距离大于预设的距离值(1.5m)时,单片机在PB8口输出高电平,此时蜂鸣器电路被导通,蜂鸣器开启,通过蜂鸣器报警提醒主人,防止行李箱丢失。另外,一旦重力传感器所测得的重量超过一定数值,单片机就在LED0对应的PB5口间隔性输出高低电平,使LED0闪烁,以提示主人所装物体过重。以下是蜂鸣器与警示灯的电路图。 70 | 71 |
72 | 73 |
74 | 75 | #### 重力测量 76 | 77 | 量轻、体积小、感测精度高、超薄型的电阻式压力传感器。这款压力传感器将施加在FSR402传感器薄膜区域的压力转换成电阻值的变化,从而获得压力信息。压力越大,电阻越低。其允许用在压力100g~10kg的场合。 78 | 79 | 将FSR402与其对应的电压转换电路相连,转换电路电压输出的AO口是模拟量输出,可以接单片机的模拟口AD接口,获得压力对应的模拟量值与输出电压值。根据该产品设计时所测压力$F$模块输出电压$U_O$的关系,计算出对应的压力值,并且将相应的物体重量信息显示在LCD屏上。$F$与$U_O$的转换关系如下: 80 | 81 | $$U_O=0.0004F+0.4749(SI) \tag{2}$$ 82 | 83 | 另外,由于FSR402传感器薄膜区域的面积很小,如果直接用其检测压力,放置在它上面的物体横截面积必须很小,但现实生活中很少有满足条件的物体。所以,我组选择了一个塑料托盘(托盘底部横截面积小于传感器薄膜区域的面积),将它与压力传感器的薄膜区域固定在一起,起到增大有效受力面积的目的。这样一来,重力测量模块所能测量的物体范围将会扩大。 84 | 85 | #### **供电装置** 86 | 87 | 考虑到电机功率消耗大并且各模块工作电压不一致,如果所有模块均使用一个电源供电,既不能保证电机正常工作,也难以实现各模块工作电压的协调。于是我们决定用两组电源给上述5个模块分别供电。一组为由8节1.5V电池组成的12V电源,专门给L298N模块(工作电压12V)供电,进而驱动两个减速直流电机工作;另一组为一个充电宝(5V)电源,用数据线将5V降至3.3V给单片机(工作电压3.3V)供电。进而,考虑到超声波测距模块(HC-SR04)的工作电压为5V,我们通过开发板上的电压转换电路将3.3V转换为5V输出为HC-SR04供电。电压转换电路原理图如下图所示。 88 | 89 |
90 | 91 | 另外,直接从单片机上的3.3V输出给FSR402供电,尽管FSR402的工作电压并不是3.3V,但是AD口如果电压过大可能会有烧坏的风险,故出于安全考虑,采用3.3V供电。并且,经过实验测试,在这样的供电方式下,重力测量模块可以正常工作。 92 | 93 | 之所以单片机不采用2节1.5V电池供电,是因为尽管2节电池组成的电池组电压足够,但功率有所欠缺。电池组也许可以满足单片机的工作,但由于单片机连接了很多外设,电池供电功率不足的缺陷就会暴露,于是采用功率更足的充电宝进行供电,也正好能满足移动电源的要求。 94 | 95 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_iwdg.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_iwdg.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the IWDG 8 | * firmware library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_IWDG_H 25 | #define __STM32F10x_IWDG_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup IWDG 39 | * @{ 40 | */ 41 | 42 | /** @defgroup IWDG_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup IWDG_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup IWDG_WriteAccess 55 | * @{ 56 | */ 57 | 58 | #define IWDG_WriteAccess_Enable ((uint16_t)0x5555) 59 | #define IWDG_WriteAccess_Disable ((uint16_t)0x0000) 60 | #define IS_IWDG_WRITE_ACCESS(ACCESS) (((ACCESS) == IWDG_WriteAccess_Enable) || \ 61 | ((ACCESS) == IWDG_WriteAccess_Disable)) 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup IWDG_prescaler 67 | * @{ 68 | */ 69 | 70 | #define IWDG_Prescaler_4 ((uint8_t)0x00) 71 | #define IWDG_Prescaler_8 ((uint8_t)0x01) 72 | #define IWDG_Prescaler_16 ((uint8_t)0x02) 73 | #define IWDG_Prescaler_32 ((uint8_t)0x03) 74 | #define IWDG_Prescaler_64 ((uint8_t)0x04) 75 | #define IWDG_Prescaler_128 ((uint8_t)0x05) 76 | #define IWDG_Prescaler_256 ((uint8_t)0x06) 77 | #define IS_IWDG_PRESCALER(PRESCALER) (((PRESCALER) == IWDG_Prescaler_4) || \ 78 | ((PRESCALER) == IWDG_Prescaler_8) || \ 79 | ((PRESCALER) == IWDG_Prescaler_16) || \ 80 | ((PRESCALER) == IWDG_Prescaler_32) || \ 81 | ((PRESCALER) == IWDG_Prescaler_64) || \ 82 | ((PRESCALER) == IWDG_Prescaler_128)|| \ 83 | ((PRESCALER) == IWDG_Prescaler_256)) 84 | /** 85 | * @} 86 | */ 87 | 88 | /** @defgroup IWDG_Flag 89 | * @{ 90 | */ 91 | 92 | #define IWDG_FLAG_PVU ((uint16_t)0x0001) 93 | #define IWDG_FLAG_RVU ((uint16_t)0x0002) 94 | #define IS_IWDG_FLAG(FLAG) (((FLAG) == IWDG_FLAG_PVU) || ((FLAG) == IWDG_FLAG_RVU)) 95 | #define IS_IWDG_RELOAD(RELOAD) ((RELOAD) <= 0xFFF) 96 | /** 97 | * @} 98 | */ 99 | 100 | /** 101 | * @} 102 | */ 103 | 104 | /** @defgroup IWDG_Exported_Macros 105 | * @{ 106 | */ 107 | 108 | /** 109 | * @} 110 | */ 111 | 112 | /** @defgroup IWDG_Exported_Functions 113 | * @{ 114 | */ 115 | 116 | void IWDG_WriteAccessCmd(uint16_t IWDG_WriteAccess); 117 | void IWDG_SetPrescaler(uint8_t IWDG_Prescaler); 118 | void IWDG_SetReload(uint16_t Reload); 119 | void IWDG_ReloadCounter(void); 120 | void IWDG_Enable(void); 121 | FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG); 122 | 123 | #ifdef __cplusplus 124 | } 125 | #endif 126 | 127 | #endif /* __STM32F10x_IWDG_H */ 128 | /** 129 | * @} 130 | */ 131 | 132 | /** 133 | * @} 134 | */ 135 | 136 | /** 137 | * @} 138 | */ 139 | 140 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 141 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_rtc.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_rtc.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the RTC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_RTC_H 25 | #define __STM32F10x_RTC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup RTC 39 | * @{ 40 | */ 41 | 42 | /** @defgroup RTC_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup RTC_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup RTC_interrupts_define 55 | * @{ 56 | */ 57 | 58 | #define RTC_IT_OW ((uint16_t)0x0004) /*!< Overflow interrupt */ 59 | #define RTC_IT_ALR ((uint16_t)0x0002) /*!< Alarm interrupt */ 60 | #define RTC_IT_SEC ((uint16_t)0x0001) /*!< Second interrupt */ 61 | #define IS_RTC_IT(IT) ((((IT) & (uint16_t)0xFFF8) == 0x00) && ((IT) != 0x00)) 62 | #define IS_RTC_GET_IT(IT) (((IT) == RTC_IT_OW) || ((IT) == RTC_IT_ALR) || \ 63 | ((IT) == RTC_IT_SEC)) 64 | /** 65 | * @} 66 | */ 67 | 68 | /** @defgroup RTC_interrupts_flags 69 | * @{ 70 | */ 71 | 72 | #define RTC_FLAG_RTOFF ((uint16_t)0x0020) /*!< RTC Operation OFF flag */ 73 | #define RTC_FLAG_RSF ((uint16_t)0x0008) /*!< Registers Synchronized flag */ 74 | #define RTC_FLAG_OW ((uint16_t)0x0004) /*!< Overflow flag */ 75 | #define RTC_FLAG_ALR ((uint16_t)0x0002) /*!< Alarm flag */ 76 | #define RTC_FLAG_SEC ((uint16_t)0x0001) /*!< Second flag */ 77 | #define IS_RTC_CLEAR_FLAG(FLAG) ((((FLAG) & (uint16_t)0xFFF0) == 0x00) && ((FLAG) != 0x00)) 78 | #define IS_RTC_GET_FLAG(FLAG) (((FLAG) == RTC_FLAG_RTOFF) || ((FLAG) == RTC_FLAG_RSF) || \ 79 | ((FLAG) == RTC_FLAG_OW) || ((FLAG) == RTC_FLAG_ALR) || \ 80 | ((FLAG) == RTC_FLAG_SEC)) 81 | #define IS_RTC_PRESCALER(PRESCALER) ((PRESCALER) <= 0xFFFFF) 82 | 83 | /** 84 | * @} 85 | */ 86 | 87 | /** 88 | * @} 89 | */ 90 | 91 | /** @defgroup RTC_Exported_Macros 92 | * @{ 93 | */ 94 | 95 | /** 96 | * @} 97 | */ 98 | 99 | /** @defgroup RTC_Exported_Functions 100 | * @{ 101 | */ 102 | 103 | void RTC_ITConfig(uint16_t RTC_IT, FunctionalState NewState); 104 | void RTC_EnterConfigMode(void); 105 | void RTC_ExitConfigMode(void); 106 | uint32_t RTC_GetCounter(void); 107 | void RTC_SetCounter(uint32_t CounterValue); 108 | void RTC_SetPrescaler(uint32_t PrescalerValue); 109 | void RTC_SetAlarm(uint32_t AlarmValue); 110 | uint32_t RTC_GetDivider(void); 111 | void RTC_WaitForLastTask(void); 112 | void RTC_WaitForSynchro(void); 113 | FlagStatus RTC_GetFlagStatus(uint16_t RTC_FLAG); 114 | void RTC_ClearFlag(uint16_t RTC_FLAG); 115 | ITStatus RTC_GetITStatus(uint16_t RTC_IT); 116 | void RTC_ClearITPendingBit(uint16_t RTC_IT); 117 | 118 | #ifdef __cplusplus 119 | } 120 | #endif 121 | 122 | #endif /* __STM32F10x_RTC_H */ 123 | /** 124 | * @} 125 | */ 126 | 127 | /** 128 | * @} 129 | */ 130 | 131 | /** 132 | * @} 133 | */ 134 | 135 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 136 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_pwr.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_pwr.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the PWR firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_PWR_H 25 | #define __STM32F10x_PWR_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup PWR 39 | * @{ 40 | */ 41 | 42 | /** @defgroup PWR_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup PWR_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup PVD_detection_level 55 | * @{ 56 | */ 57 | 58 | #define PWR_PVDLevel_2V2 ((uint32_t)0x00000000) 59 | #define PWR_PVDLevel_2V3 ((uint32_t)0x00000020) 60 | #define PWR_PVDLevel_2V4 ((uint32_t)0x00000040) 61 | #define PWR_PVDLevel_2V5 ((uint32_t)0x00000060) 62 | #define PWR_PVDLevel_2V6 ((uint32_t)0x00000080) 63 | #define PWR_PVDLevel_2V7 ((uint32_t)0x000000A0) 64 | #define PWR_PVDLevel_2V8 ((uint32_t)0x000000C0) 65 | #define PWR_PVDLevel_2V9 ((uint32_t)0x000000E0) 66 | #define IS_PWR_PVD_LEVEL(LEVEL) (((LEVEL) == PWR_PVDLevel_2V2) || ((LEVEL) == PWR_PVDLevel_2V3)|| \ 67 | ((LEVEL) == PWR_PVDLevel_2V4) || ((LEVEL) == PWR_PVDLevel_2V5)|| \ 68 | ((LEVEL) == PWR_PVDLevel_2V6) || ((LEVEL) == PWR_PVDLevel_2V7)|| \ 69 | ((LEVEL) == PWR_PVDLevel_2V8) || ((LEVEL) == PWR_PVDLevel_2V9)) 70 | /** 71 | * @} 72 | */ 73 | 74 | /** @defgroup Regulator_state_is_STOP_mode 75 | * @{ 76 | */ 77 | 78 | #define PWR_Regulator_ON ((uint32_t)0x00000000) 79 | #define PWR_Regulator_LowPower ((uint32_t)0x00000001) 80 | #define IS_PWR_REGULATOR(REGULATOR) (((REGULATOR) == PWR_Regulator_ON) || \ 81 | ((REGULATOR) == PWR_Regulator_LowPower)) 82 | /** 83 | * @} 84 | */ 85 | 86 | /** @defgroup STOP_mode_entry 87 | * @{ 88 | */ 89 | 90 | #define PWR_STOPEntry_WFI ((uint8_t)0x01) 91 | #define PWR_STOPEntry_WFE ((uint8_t)0x02) 92 | #define IS_PWR_STOP_ENTRY(ENTRY) (((ENTRY) == PWR_STOPEntry_WFI) || ((ENTRY) == PWR_STOPEntry_WFE)) 93 | 94 | /** 95 | * @} 96 | */ 97 | 98 | /** @defgroup PWR_Flag 99 | * @{ 100 | */ 101 | 102 | #define PWR_FLAG_WU ((uint32_t)0x00000001) 103 | #define PWR_FLAG_SB ((uint32_t)0x00000002) 104 | #define PWR_FLAG_PVDO ((uint32_t)0x00000004) 105 | #define IS_PWR_GET_FLAG(FLAG) (((FLAG) == PWR_FLAG_WU) || ((FLAG) == PWR_FLAG_SB) || \ 106 | ((FLAG) == PWR_FLAG_PVDO)) 107 | 108 | #define IS_PWR_CLEAR_FLAG(FLAG) (((FLAG) == PWR_FLAG_WU) || ((FLAG) == PWR_FLAG_SB)) 109 | /** 110 | * @} 111 | */ 112 | 113 | /** 114 | * @} 115 | */ 116 | 117 | /** @defgroup PWR_Exported_Macros 118 | * @{ 119 | */ 120 | 121 | /** 122 | * @} 123 | */ 124 | 125 | /** @defgroup PWR_Exported_Functions 126 | * @{ 127 | */ 128 | 129 | void PWR_DeInit(void); 130 | void PWR_BackupAccessCmd(FunctionalState NewState); 131 | void PWR_PVDCmd(FunctionalState NewState); 132 | void PWR_PVDLevelConfig(uint32_t PWR_PVDLevel); 133 | void PWR_WakeUpPinCmd(FunctionalState NewState); 134 | void PWR_EnterSTOPMode(uint32_t PWR_Regulator, uint8_t PWR_STOPEntry); 135 | void PWR_EnterSTANDBYMode(void); 136 | FlagStatus PWR_GetFlagStatus(uint32_t PWR_FLAG); 137 | void PWR_ClearFlag(uint32_t PWR_FLAG); 138 | 139 | #ifdef __cplusplus 140 | } 141 | #endif 142 | 143 | #endif /* __STM32F10x_PWR_H */ 144 | /** 145 | * @} 146 | */ 147 | 148 | /** 149 | * @} 150 | */ 151 | 152 | /** 153 | * @} 154 | */ 155 | 156 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 157 | -------------------------------------------------------------------------------- /USER/TIMER.Uv2.bak: -------------------------------------------------------------------------------- 1 | ### uVision2 Project, (C) Keil Software 2 | ### Do not modify ! 3 | 4 | Target (Target 1), 0x0004 // Tools: 'ARM-ADS' 5 | 6 | Group (USER) 7 | Group (HARDWARE) 8 | Group (SYSTEM) 9 | Group (CORE) 10 | Group (FWLib) 11 | 12 | File 1,1,<.\main.c> 13 | File 1,1,<.\stm32f10x_it.c> 14 | File 1,1,<.\system_stm32f10x.c> 15 | File 2,1,<..\HARDWARE\LED\led.c> 16 | File 2,1,<..\HARDWARE\KEY\key.c> 17 | File 2,1,<..\HARDWARE\EXTI\exti.c> 18 | File 2,1,<..\HARDWARE\WDG\wdg.c> 19 | File 2,1,<..\HARDWARE\TIMER\timer.c> 20 | File 3,1,<..\SYSTEM\delay\delay.c> 21 | File 3,1,<..\SYSTEM\sys\sys.c> 22 | File 3,1,<..\SYSTEM\usart\usart.c> 23 | File 4,1,<..\CORE\core_cm3.c> 24 | File 4,2,<..\CORE\startup_stm32f10x_md.s> 25 | File 5,1,<..\STM32F10x_FWLib\src\misc.c> 26 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_adc.c> 27 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_bkp.c> 28 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_can.c> 29 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_cec.c> 30 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_crc.c> 31 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_dac.c> 32 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_dbgmcu.c> 33 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_dma.c> 34 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_exti.c> 35 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_flash.c> 36 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_fsmc.c> 37 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_gpio.c> 38 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_i2c.c> 39 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_iwdg.c> 40 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_pwr.c> 41 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_rcc.c> 42 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_rtc.c> 43 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_sdio.c> 44 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_spi.c> 45 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_tim.c> 46 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_usart.c> 47 | File 5,1,<..\STM32F10x_FWLib\src\stm32f10x_wwdg.c> 48 | 49 | 50 | Options 1,0,0 // Target 'Target 1' 51 | Device (STM32F103RB) 52 | Vendor (STMicroelectronics) 53 | Cpu (IRAM(0x20000000-0x20004FFF) IROM(0x8000000-0x801FFFF) CLOCK(8000000) CPUTYPE("Cortex-M3")) 54 | FlashUt () 55 | StupF ("STARTUP\ST\STM32F10x.s" ("STM32 Startup Code")) 56 | FlashDR (UL2CM3(-O14 -S0 -C0 -N00("ARM Cortex-M3") -D00(1BA00477) -L00(4) -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000)) 57 | DevID (4231) 58 | Rgf (stm32f10x_lib.h) 59 | Mem () 60 | C () 61 | A () 62 | RL () 63 | OH () 64 | DBC_IFX () 65 | DBC_CMS () 66 | DBC_AMS () 67 | DBC_LMS () 68 | UseEnv=0 69 | EnvBin () 70 | EnvInc () 71 | EnvLib () 72 | EnvReg (ST\STM32F10x\) 73 | OrgReg (ST\STM32F10x\) 74 | TgStat=16 75 | OutDir (.\) 76 | OutName (TIMER) 77 | GenApp=1 78 | GenLib=0 79 | GenHex=1 80 | Debug=1 81 | Browse=1 82 | LstDir (.\) 83 | HexSel=1 84 | MG32K=0 85 | TGMORE=0 86 | RunUsr 0 0 <> 87 | RunUsr 1 0 <> 88 | BrunUsr 0 0 <> 89 | BrunUsr 1 0 <> 90 | CrunUsr 0 0 <> 91 | CrunUsr 1 0 <> 92 | SVCSID <> 93 | GLFLAGS=1790 94 | ADSFLGA { 243,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } 95 | ACPUTYP ("Cortex-M3") 96 | RVDEV () 97 | ADSTFLGA { 0,12,0,2,99,0,0,66,0,0,0,0,0,0,0,0,0,0,0,0 } 98 | OCMADSOCM { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } 99 | OCMADSIRAM { 0,0,0,0,32,0,80,0,0 } 100 | OCMADSIROM { 1,0,0,0,8,0,0,2,0 } 101 | OCMADSXRAM { 0,0,0,0,0,0,0,0,0 } 102 | OCR_RVCT { 1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,8,0,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,80,0,0,0,0,0,0,0,0,0,0,0 } 103 | RV_STAVEC () 104 | ADSCCFLG { 5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } 105 | ADSCMISC () 106 | ADSCDEFN (STM32F10X_MD,USE_STDPERIPH_DRIVER) 107 | ADSCUDEF () 108 | ADSCINCD (..\HARDWARE\LED;..\SYSTEM\delay;..\SYSTEM\sys;..\SYSTEM\usart;..\USER;..\STM32F10x_FWLib\inc;..\CORE;..\HARDWARE\KEY;..\HARDWARE\EXTI;..\HARDWARE\WDG;..\HARDWARE\TIMER) 109 | ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } 110 | ADSAMISC () 111 | ADSADEFN () 112 | ADSAUDEF () 113 | ADSAINCD () 114 | PropFld { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } 115 | IncBld=1 116 | AlwaysBuild=0 117 | GenAsm=0 118 | AsmAsm=0 119 | PublicsOnly=0 120 | StopCode=3 121 | CustArgs () 122 | LibMods () 123 | ADSLDFG { 17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } 124 | ADSLDTA (0x08000000) 125 | ADSLDDA (0x20000000) 126 | ADSLDSC () 127 | ADSLDIB () 128 | ADSLDIC () 129 | ADSLDMC () 130 | ADSLDIF () 131 | ADSLDDW () 132 | OPTDL (SARMCM3.DLL)()(DARMSTM.DLL)(-pSTM32F103RB)(SARMCM3.DLL)()(TARMSTM.DLL)(-pSTM32F103RB) 133 | OPTDBG 48125,1,()()()()()()()()()() (BIN\UL2CM3.DLL)()()() 134 | FLASH1 { 9,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0 } 135 | FLASH2 (BIN\UL2CM3.DLL) 136 | FLASH3 ("" ()) 137 | FLASH4 () 138 | EndOpt 139 | 140 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_iwdg.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_iwdg.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the IWDG firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_iwdg.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup IWDG 30 | * @brief IWDG driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup IWDG_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup IWDG_Private_Defines 43 | * @{ 44 | */ 45 | 46 | /* ---------------------- IWDG registers bit mask ----------------------------*/ 47 | 48 | /* KR register bit mask */ 49 | #define KR_KEY_Reload ((uint16_t)0xAAAA) 50 | #define KR_KEY_Enable ((uint16_t)0xCCCC) 51 | 52 | /** 53 | * @} 54 | */ 55 | 56 | /** @defgroup IWDG_Private_Macros 57 | * @{ 58 | */ 59 | 60 | /** 61 | * @} 62 | */ 63 | 64 | /** @defgroup IWDG_Private_Variables 65 | * @{ 66 | */ 67 | 68 | /** 69 | * @} 70 | */ 71 | 72 | /** @defgroup IWDG_Private_FunctionPrototypes 73 | * @{ 74 | */ 75 | 76 | /** 77 | * @} 78 | */ 79 | 80 | /** @defgroup IWDG_Private_Functions 81 | * @{ 82 | */ 83 | 84 | /** 85 | * @brief Enables or disables write access to IWDG_PR and IWDG_RLR registers. 86 | * @param IWDG_WriteAccess: new state of write access to IWDG_PR and IWDG_RLR registers. 87 | * This parameter can be one of the following values: 88 | * @arg IWDG_WriteAccess_Enable: Enable write access to IWDG_PR and IWDG_RLR registers 89 | * @arg IWDG_WriteAccess_Disable: Disable write access to IWDG_PR and IWDG_RLR registers 90 | * @retval None 91 | */ 92 | void IWDG_WriteAccessCmd(uint16_t IWDG_WriteAccess) 93 | { 94 | /* Check the parameters */ 95 | assert_param(IS_IWDG_WRITE_ACCESS(IWDG_WriteAccess)); 96 | IWDG->KR = IWDG_WriteAccess; 97 | } 98 | 99 | /** 100 | * @brief Sets IWDG Prescaler value. 101 | * @param IWDG_Prescaler: specifies the IWDG Prescaler value. 102 | * This parameter can be one of the following values: 103 | * @arg IWDG_Prescaler_4: IWDG prescaler set to 4 104 | * @arg IWDG_Prescaler_8: IWDG prescaler set to 8 105 | * @arg IWDG_Prescaler_16: IWDG prescaler set to 16 106 | * @arg IWDG_Prescaler_32: IWDG prescaler set to 32 107 | * @arg IWDG_Prescaler_64: IWDG prescaler set to 64 108 | * @arg IWDG_Prescaler_128: IWDG prescaler set to 128 109 | * @arg IWDG_Prescaler_256: IWDG prescaler set to 256 110 | * @retval None 111 | */ 112 | void IWDG_SetPrescaler(uint8_t IWDG_Prescaler) 113 | { 114 | /* Check the parameters */ 115 | assert_param(IS_IWDG_PRESCALER(IWDG_Prescaler)); 116 | IWDG->PR = IWDG_Prescaler; 117 | } 118 | 119 | /** 120 | * @brief Sets IWDG Reload value. 121 | * @param Reload: specifies the IWDG Reload value. 122 | * This parameter must be a number between 0 and 0x0FFF. 123 | * @retval None 124 | */ 125 | void IWDG_SetReload(uint16_t Reload) 126 | { 127 | /* Check the parameters */ 128 | assert_param(IS_IWDG_RELOAD(Reload)); 129 | IWDG->RLR = Reload; 130 | } 131 | 132 | /** 133 | * @brief Reloads IWDG counter with value defined in the reload register 134 | * (write access to IWDG_PR and IWDG_RLR registers disabled). 135 | * @param None 136 | * @retval None 137 | */ 138 | void IWDG_ReloadCounter(void) 139 | { 140 | IWDG->KR = KR_KEY_Reload; 141 | } 142 | 143 | /** 144 | * @brief Enables IWDG (write access to IWDG_PR and IWDG_RLR registers disabled). 145 | * @param None 146 | * @retval None 147 | */ 148 | void IWDG_Enable(void) 149 | { 150 | IWDG->KR = KR_KEY_Enable; 151 | } 152 | 153 | /** 154 | * @brief Checks whether the specified IWDG flag is set or not. 155 | * @param IWDG_FLAG: specifies the flag to check. 156 | * This parameter can be one of the following values: 157 | * @arg IWDG_FLAG_PVU: Prescaler Value Update on going 158 | * @arg IWDG_FLAG_RVU: Reload Value Update on going 159 | * @retval The new state of IWDG_FLAG (SET or RESET). 160 | */ 161 | FlagStatus IWDG_GetFlagStatus(uint16_t IWDG_FLAG) 162 | { 163 | FlagStatus bitstatus = RESET; 164 | /* Check the parameters */ 165 | assert_param(IS_IWDG_FLAG(IWDG_FLAG)); 166 | if ((IWDG->SR & IWDG_FLAG) != (uint32_t)RESET) 167 | { 168 | bitstatus = SET; 169 | } 170 | else 171 | { 172 | bitstatus = RESET; 173 | } 174 | /* Return the flag status */ 175 | return bitstatus; 176 | } 177 | 178 | /** 179 | * @} 180 | */ 181 | 182 | /** 183 | * @} 184 | */ 185 | 186 | /** 187 | * @} 188 | */ 189 | 190 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 191 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_dbgmcu.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_dbgmcu.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the DBGMCU firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_dbgmcu.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup DBGMCU 30 | * @brief DBGMCU driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup DBGMCU_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup DBGMCU_Private_Defines 43 | * @{ 44 | */ 45 | 46 | #define IDCODE_DEVID_MASK ((uint32_t)0x00000FFF) 47 | /** 48 | * @} 49 | */ 50 | 51 | /** @defgroup DBGMCU_Private_Macros 52 | * @{ 53 | */ 54 | 55 | /** 56 | * @} 57 | */ 58 | 59 | /** @defgroup DBGMCU_Private_Variables 60 | * @{ 61 | */ 62 | 63 | /** 64 | * @} 65 | */ 66 | 67 | /** @defgroup DBGMCU_Private_FunctionPrototypes 68 | * @{ 69 | */ 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | /** @defgroup DBGMCU_Private_Functions 76 | * @{ 77 | */ 78 | 79 | /** 80 | * @brief Returns the device revision identifier. 81 | * @param None 82 | * @retval Device revision identifier 83 | */ 84 | uint32_t DBGMCU_GetREVID(void) 85 | { 86 | return(DBGMCU->IDCODE >> 16); 87 | } 88 | 89 | /** 90 | * @brief Returns the device identifier. 91 | * @param None 92 | * @retval Device identifier 93 | */ 94 | uint32_t DBGMCU_GetDEVID(void) 95 | { 96 | return(DBGMCU->IDCODE & IDCODE_DEVID_MASK); 97 | } 98 | 99 | /** 100 | * @brief Configures the specified peripheral and low power mode behavior 101 | * when the MCU under Debug mode. 102 | * @param DBGMCU_Periph: specifies the peripheral and low power mode. 103 | * This parameter can be any combination of the following values: 104 | * @arg DBGMCU_SLEEP: Keep debugger connection during SLEEP mode 105 | * @arg DBGMCU_STOP: Keep debugger connection during STOP mode 106 | * @arg DBGMCU_STANDBY: Keep debugger connection during STANDBY mode 107 | * @arg DBGMCU_IWDG_STOP: Debug IWDG stopped when Core is halted 108 | * @arg DBGMCU_WWDG_STOP: Debug WWDG stopped when Core is halted 109 | * @arg DBGMCU_TIM1_STOP: TIM1 counter stopped when Core is halted 110 | * @arg DBGMCU_TIM2_STOP: TIM2 counter stopped when Core is halted 111 | * @arg DBGMCU_TIM3_STOP: TIM3 counter stopped when Core is halted 112 | * @arg DBGMCU_TIM4_STOP: TIM4 counter stopped when Core is halted 113 | * @arg DBGMCU_CAN1_STOP: Debug CAN2 stopped when Core is halted 114 | * @arg DBGMCU_I2C1_SMBUS_TIMEOUT: I2C1 SMBUS timeout mode stopped when Core is halted 115 | * @arg DBGMCU_I2C2_SMBUS_TIMEOUT: I2C2 SMBUS timeout mode stopped when Core is halted 116 | * @arg DBGMCU_TIM5_STOP: TIM5 counter stopped when Core is halted 117 | * @arg DBGMCU_TIM6_STOP: TIM6 counter stopped when Core is halted 118 | * @arg DBGMCU_TIM7_STOP: TIM7 counter stopped when Core is halted 119 | * @arg DBGMCU_TIM8_STOP: TIM8 counter stopped when Core is halted 120 | * @arg DBGMCU_CAN2_STOP: Debug CAN2 stopped when Core is halted 121 | * @arg DBGMCU_TIM15_STOP: TIM15 counter stopped when Core is halted 122 | * @arg DBGMCU_TIM16_STOP: TIM16 counter stopped when Core is halted 123 | * @arg DBGMCU_TIM17_STOP: TIM17 counter stopped when Core is halted 124 | * @arg DBGMCU_TIM9_STOP: TIM9 counter stopped when Core is halted 125 | * @arg DBGMCU_TIM10_STOP: TIM10 counter stopped when Core is halted 126 | * @arg DBGMCU_TIM11_STOP: TIM11 counter stopped when Core is halted 127 | * @arg DBGMCU_TIM12_STOP: TIM12 counter stopped when Core is halted 128 | * @arg DBGMCU_TIM13_STOP: TIM13 counter stopped when Core is halted 129 | * @arg DBGMCU_TIM14_STOP: TIM14 counter stopped when Core is halted 130 | * @param NewState: new state of the specified peripheral in Debug mode. 131 | * This parameter can be: ENABLE or DISABLE. 132 | * @retval None 133 | */ 134 | void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState) 135 | { 136 | /* Check the parameters */ 137 | assert_param(IS_DBGMCU_PERIPH(DBGMCU_Periph)); 138 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 139 | 140 | if (NewState != DISABLE) 141 | { 142 | DBGMCU->CR |= DBGMCU_Periph; 143 | } 144 | else 145 | { 146 | DBGMCU->CR &= ~DBGMCU_Periph; 147 | } 148 | } 149 | 150 | /** 151 | * @} 152 | */ 153 | 154 | /** 155 | * @} 156 | */ 157 | 158 | /** 159 | * @} 160 | */ 161 | 162 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 163 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_wwdg.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_wwdg.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the WWDG firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_wwdg.h" 24 | #include "stm32f10x_rcc.h" 25 | 26 | /** @addtogroup STM32F10x_StdPeriph_Driver 27 | * @{ 28 | */ 29 | 30 | /** @defgroup WWDG 31 | * @brief WWDG driver modules 32 | * @{ 33 | */ 34 | 35 | /** @defgroup WWDG_Private_TypesDefinitions 36 | * @{ 37 | */ 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | /** @defgroup WWDG_Private_Defines 44 | * @{ 45 | */ 46 | 47 | /* ----------- WWDG registers bit address in the alias region ----------- */ 48 | #define WWDG_OFFSET (WWDG_BASE - PERIPH_BASE) 49 | 50 | /* Alias word address of EWI bit */ 51 | #define CFR_OFFSET (WWDG_OFFSET + 0x04) 52 | #define EWI_BitNumber 0x09 53 | #define CFR_EWI_BB (PERIPH_BB_BASE + (CFR_OFFSET * 32) + (EWI_BitNumber * 4)) 54 | 55 | /* --------------------- WWDG registers bit mask ------------------------ */ 56 | 57 | /* CR register bit mask */ 58 | #define CR_WDGA_Set ((uint32_t)0x00000080) 59 | 60 | /* CFR register bit mask */ 61 | #define CFR_WDGTB_Mask ((uint32_t)0xFFFFFE7F) 62 | #define CFR_W_Mask ((uint32_t)0xFFFFFF80) 63 | #define BIT_Mask ((uint8_t)0x7F) 64 | 65 | /** 66 | * @} 67 | */ 68 | 69 | /** @defgroup WWDG_Private_Macros 70 | * @{ 71 | */ 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | /** @defgroup WWDG_Private_Variables 78 | * @{ 79 | */ 80 | 81 | /** 82 | * @} 83 | */ 84 | 85 | /** @defgroup WWDG_Private_FunctionPrototypes 86 | * @{ 87 | */ 88 | 89 | /** 90 | * @} 91 | */ 92 | 93 | /** @defgroup WWDG_Private_Functions 94 | * @{ 95 | */ 96 | 97 | /** 98 | * @brief Deinitializes the WWDG peripheral registers to their default reset values. 99 | * @param None 100 | * @retval None 101 | */ 102 | void WWDG_DeInit(void) 103 | { 104 | RCC_APB1PeriphResetCmd(RCC_APB1Periph_WWDG, ENABLE); 105 | RCC_APB1PeriphResetCmd(RCC_APB1Periph_WWDG, DISABLE); 106 | } 107 | 108 | /** 109 | * @brief Sets the WWDG Prescaler. 110 | * @param WWDG_Prescaler: specifies the WWDG Prescaler. 111 | * This parameter can be one of the following values: 112 | * @arg WWDG_Prescaler_1: WWDG counter clock = (PCLK1/4096)/1 113 | * @arg WWDG_Prescaler_2: WWDG counter clock = (PCLK1/4096)/2 114 | * @arg WWDG_Prescaler_4: WWDG counter clock = (PCLK1/4096)/4 115 | * @arg WWDG_Prescaler_8: WWDG counter clock = (PCLK1/4096)/8 116 | * @retval None 117 | */ 118 | void WWDG_SetPrescaler(uint32_t WWDG_Prescaler) 119 | { 120 | uint32_t tmpreg = 0; 121 | /* Check the parameters */ 122 | assert_param(IS_WWDG_PRESCALER(WWDG_Prescaler)); 123 | /* Clear WDGTB[1:0] bits */ 124 | tmpreg = WWDG->CFR & CFR_WDGTB_Mask; 125 | /* Set WDGTB[1:0] bits according to WWDG_Prescaler value */ 126 | tmpreg |= WWDG_Prescaler; 127 | /* Store the new value */ 128 | WWDG->CFR = tmpreg; 129 | } 130 | 131 | /** 132 | * @brief Sets the WWDG window value. 133 | * @param WindowValue: specifies the window value to be compared to the downcounter. 134 | * This parameter value must be lower than 0x80. 135 | * @retval None 136 | */ 137 | void WWDG_SetWindowValue(uint8_t WindowValue) 138 | { 139 | __IO uint32_t tmpreg = 0; 140 | 141 | /* Check the parameters */ 142 | assert_param(IS_WWDG_WINDOW_VALUE(WindowValue)); 143 | /* Clear W[6:0] bits */ 144 | 145 | tmpreg = WWDG->CFR & CFR_W_Mask; 146 | 147 | /* Set W[6:0] bits according to WindowValue value */ 148 | tmpreg |= WindowValue & (uint32_t) BIT_Mask; 149 | 150 | /* Store the new value */ 151 | WWDG->CFR = tmpreg; 152 | } 153 | 154 | /** 155 | * @brief Enables the WWDG Early Wakeup interrupt(EWI). 156 | * @param None 157 | * @retval None 158 | */ 159 | void WWDG_EnableIT(void) 160 | { 161 | *(__IO uint32_t *) CFR_EWI_BB = (uint32_t)ENABLE; 162 | } 163 | 164 | /** 165 | * @brief Sets the WWDG counter value. 166 | * @param Counter: specifies the watchdog counter value. 167 | * This parameter must be a number between 0x40 and 0x7F. 168 | * @retval None 169 | */ 170 | void WWDG_SetCounter(uint8_t Counter) 171 | { 172 | /* Check the parameters */ 173 | assert_param(IS_WWDG_COUNTER(Counter)); 174 | /* Write to T[6:0] bits to configure the counter value, no need to do 175 | a read-modify-write; writing a 0 to WDGA bit does nothing */ 176 | WWDG->CR = Counter & BIT_Mask; 177 | } 178 | 179 | /** 180 | * @brief Enables WWDG and load the counter value. 181 | * @param Counter: specifies the watchdog counter value. 182 | * This parameter must be a number between 0x40 and 0x7F. 183 | * @retval None 184 | */ 185 | void WWDG_Enable(uint8_t Counter) 186 | { 187 | /* Check the parameters */ 188 | assert_param(IS_WWDG_COUNTER(Counter)); 189 | WWDG->CR = CR_WDGA_Set | Counter; 190 | } 191 | 192 | /** 193 | * @brief Checks whether the Early Wakeup interrupt flag is set or not. 194 | * @param None 195 | * @retval The new state of the Early Wakeup interrupt flag (SET or RESET) 196 | */ 197 | FlagStatus WWDG_GetFlagStatus(void) 198 | { 199 | return (FlagStatus)(WWDG->SR); 200 | } 201 | 202 | /** 203 | * @brief Clears Early Wakeup interrupt flag. 204 | * @param None 205 | * @retval None 206 | */ 207 | void WWDG_ClearFlag(void) 208 | { 209 | WWDG->SR = (uint32_t)RESET; 210 | } 211 | 212 | /** 213 | * @} 214 | */ 215 | 216 | /** 217 | * @} 218 | */ 219 | 220 | /** 221 | * @} 222 | */ 223 | 224 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 225 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_cec.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_cec.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the CEC firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_CEC_H 25 | #define __STM32F10x_CEC_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup CEC 39 | * @{ 40 | */ 41 | 42 | 43 | /** @defgroup CEC_Exported_Types 44 | * @{ 45 | */ 46 | 47 | /** 48 | * @brief CEC Init structure definition 49 | */ 50 | typedef struct 51 | { 52 | uint16_t CEC_BitTimingMode; /*!< Configures the CEC Bit Timing Error Mode. 53 | This parameter can be a value of @ref CEC_BitTiming_Mode */ 54 | uint16_t CEC_BitPeriodMode; /*!< Configures the CEC Bit Period Error Mode. 55 | This parameter can be a value of @ref CEC_BitPeriod_Mode */ 56 | }CEC_InitTypeDef; 57 | 58 | /** 59 | * @} 60 | */ 61 | 62 | /** @defgroup CEC_Exported_Constants 63 | * @{ 64 | */ 65 | 66 | /** @defgroup CEC_BitTiming_Mode 67 | * @{ 68 | */ 69 | #define CEC_BitTimingStdMode ((uint16_t)0x00) /*!< Bit timing error Standard Mode */ 70 | #define CEC_BitTimingErrFreeMode CEC_CFGR_BTEM /*!< Bit timing error Free Mode */ 71 | 72 | #define IS_CEC_BIT_TIMING_ERROR_MODE(MODE) (((MODE) == CEC_BitTimingStdMode) || \ 73 | ((MODE) == CEC_BitTimingErrFreeMode)) 74 | /** 75 | * @} 76 | */ 77 | 78 | /** @defgroup CEC_BitPeriod_Mode 79 | * @{ 80 | */ 81 | #define CEC_BitPeriodStdMode ((uint16_t)0x00) /*!< Bit period error Standard Mode */ 82 | #define CEC_BitPeriodFlexibleMode CEC_CFGR_BPEM /*!< Bit period error Flexible Mode */ 83 | 84 | #define IS_CEC_BIT_PERIOD_ERROR_MODE(MODE) (((MODE) == CEC_BitPeriodStdMode) || \ 85 | ((MODE) == CEC_BitPeriodFlexibleMode)) 86 | /** 87 | * @} 88 | */ 89 | 90 | 91 | /** @defgroup CEC_interrupts_definition 92 | * @{ 93 | */ 94 | #define CEC_IT_TERR CEC_CSR_TERR 95 | #define CEC_IT_TBTRF CEC_CSR_TBTRF 96 | #define CEC_IT_RERR CEC_CSR_RERR 97 | #define CEC_IT_RBTF CEC_CSR_RBTF 98 | #define IS_CEC_GET_IT(IT) (((IT) == CEC_IT_TERR) || ((IT) == CEC_IT_TBTRF) || \ 99 | ((IT) == CEC_IT_RERR) || ((IT) == CEC_IT_RBTF)) 100 | /** 101 | * @} 102 | */ 103 | 104 | 105 | /** @defgroup CEC_Own_Address 106 | * @{ 107 | */ 108 | #define IS_CEC_ADDRESS(ADDRESS) ((ADDRESS) < 0x10) 109 | /** 110 | * @} 111 | */ 112 | 113 | /** @defgroup CEC_Prescaler 114 | * @{ 115 | */ 116 | #define IS_CEC_PRESCALER(PRESCALER) ((PRESCALER) <= 0x3FFF) 117 | 118 | /** 119 | * @} 120 | */ 121 | 122 | /** @defgroup CEC_flags_definition 123 | * @{ 124 | */ 125 | 126 | /** 127 | * @brief ESR register flags 128 | */ 129 | #define CEC_FLAG_BTE ((uint32_t)0x10010000) 130 | #define CEC_FLAG_BPE ((uint32_t)0x10020000) 131 | #define CEC_FLAG_RBTFE ((uint32_t)0x10040000) 132 | #define CEC_FLAG_SBE ((uint32_t)0x10080000) 133 | #define CEC_FLAG_ACKE ((uint32_t)0x10100000) 134 | #define CEC_FLAG_LINE ((uint32_t)0x10200000) 135 | #define CEC_FLAG_TBTFE ((uint32_t)0x10400000) 136 | 137 | /** 138 | * @brief CSR register flags 139 | */ 140 | #define CEC_FLAG_TEOM ((uint32_t)0x00000002) 141 | #define CEC_FLAG_TERR ((uint32_t)0x00000004) 142 | #define CEC_FLAG_TBTRF ((uint32_t)0x00000008) 143 | #define CEC_FLAG_RSOM ((uint32_t)0x00000010) 144 | #define CEC_FLAG_REOM ((uint32_t)0x00000020) 145 | #define CEC_FLAG_RERR ((uint32_t)0x00000040) 146 | #define CEC_FLAG_RBTF ((uint32_t)0x00000080) 147 | 148 | #define IS_CEC_CLEAR_FLAG(FLAG) ((((FLAG) & (uint32_t)0xFFFFFF03) == 0x00) && ((FLAG) != 0x00)) 149 | 150 | #define IS_CEC_GET_FLAG(FLAG) (((FLAG) == CEC_FLAG_BTE) || ((FLAG) == CEC_FLAG_BPE) || \ 151 | ((FLAG) == CEC_FLAG_RBTFE) || ((FLAG)== CEC_FLAG_SBE) || \ 152 | ((FLAG) == CEC_FLAG_ACKE) || ((FLAG) == CEC_FLAG_LINE) || \ 153 | ((FLAG) == CEC_FLAG_TBTFE) || ((FLAG) == CEC_FLAG_TEOM) || \ 154 | ((FLAG) == CEC_FLAG_TERR) || ((FLAG) == CEC_FLAG_TBTRF) || \ 155 | ((FLAG) == CEC_FLAG_RSOM) || ((FLAG) == CEC_FLAG_REOM) || \ 156 | ((FLAG) == CEC_FLAG_RERR) || ((FLAG) == CEC_FLAG_RBTF)) 157 | 158 | /** 159 | * @} 160 | */ 161 | 162 | /** 163 | * @} 164 | */ 165 | 166 | /** @defgroup CEC_Exported_Macros 167 | * @{ 168 | */ 169 | 170 | /** 171 | * @} 172 | */ 173 | 174 | /** @defgroup CEC_Exported_Functions 175 | * @{ 176 | */ 177 | void CEC_DeInit(void); 178 | void CEC_Init(CEC_InitTypeDef* CEC_InitStruct); 179 | void CEC_Cmd(FunctionalState NewState); 180 | void CEC_ITConfig(FunctionalState NewState); 181 | void CEC_OwnAddressConfig(uint8_t CEC_OwnAddress); 182 | void CEC_SetPrescaler(uint16_t CEC_Prescaler); 183 | void CEC_SendDataByte(uint8_t Data); 184 | uint8_t CEC_ReceiveDataByte(void); 185 | void CEC_StartOfMessage(void); 186 | void CEC_EndOfMessageCmd(FunctionalState NewState); 187 | FlagStatus CEC_GetFlagStatus(uint32_t CEC_FLAG); 188 | void CEC_ClearFlag(uint32_t CEC_FLAG); 189 | ITStatus CEC_GetITStatus(uint8_t CEC_IT); 190 | void CEC_ClearITPendingBit(uint16_t CEC_IT); 191 | 192 | #ifdef __cplusplus 193 | } 194 | #endif 195 | 196 | #endif /* __STM32F10x_CEC_H */ 197 | 198 | /** 199 | * @} 200 | */ 201 | 202 | /** 203 | * @} 204 | */ 205 | 206 | /** 207 | * @} 208 | */ 209 | 210 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 211 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_exti.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_exti.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the EXTI firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_EXTI_H 25 | #define __STM32F10x_EXTI_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup EXTI 39 | * @{ 40 | */ 41 | 42 | /** @defgroup EXTI_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @brief EXTI mode enumeration 48 | */ 49 | 50 | typedef enum 51 | { 52 | EXTI_Mode_Interrupt = 0x00, 53 | EXTI_Mode_Event = 0x04 54 | }EXTIMode_TypeDef; 55 | 56 | #define IS_EXTI_MODE(MODE) (((MODE) == EXTI_Mode_Interrupt) || ((MODE) == EXTI_Mode_Event)) 57 | 58 | /** 59 | * @brief EXTI Trigger enumeration 60 | */ 61 | 62 | typedef enum 63 | { 64 | EXTI_Trigger_Rising = 0x08, 65 | EXTI_Trigger_Falling = 0x0C, 66 | EXTI_Trigger_Rising_Falling = 0x10 67 | }EXTITrigger_TypeDef; 68 | 69 | #define IS_EXTI_TRIGGER(TRIGGER) (((TRIGGER) == EXTI_Trigger_Rising) || \ 70 | ((TRIGGER) == EXTI_Trigger_Falling) || \ 71 | ((TRIGGER) == EXTI_Trigger_Rising_Falling)) 72 | /** 73 | * @brief EXTI Init Structure definition 74 | */ 75 | 76 | typedef struct 77 | { 78 | uint32_t EXTI_Line; /*!< Specifies the EXTI lines to be enabled or disabled. 79 | This parameter can be any combination of @ref EXTI_Lines */ 80 | 81 | EXTIMode_TypeDef EXTI_Mode; /*!< Specifies the mode for the EXTI lines. 82 | This parameter can be a value of @ref EXTIMode_TypeDef */ 83 | 84 | EXTITrigger_TypeDef EXTI_Trigger; /*!< Specifies the trigger signal active edge for the EXTI lines. 85 | This parameter can be a value of @ref EXTIMode_TypeDef */ 86 | 87 | FunctionalState EXTI_LineCmd; /*!< Specifies the new state of the selected EXTI lines. 88 | This parameter can be set either to ENABLE or DISABLE */ 89 | }EXTI_InitTypeDef; 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** @defgroup EXTI_Exported_Constants 96 | * @{ 97 | */ 98 | 99 | /** @defgroup EXTI_Lines 100 | * @{ 101 | */ 102 | 103 | #define EXTI_Line0 ((uint32_t)0x00001) /*!< External interrupt line 0 */ 104 | #define EXTI_Line1 ((uint32_t)0x00002) /*!< External interrupt line 1 */ 105 | #define EXTI_Line2 ((uint32_t)0x00004) /*!< External interrupt line 2 */ 106 | #define EXTI_Line3 ((uint32_t)0x00008) /*!< External interrupt line 3 */ 107 | #define EXTI_Line4 ((uint32_t)0x00010) /*!< External interrupt line 4 */ 108 | #define EXTI_Line5 ((uint32_t)0x00020) /*!< External interrupt line 5 */ 109 | #define EXTI_Line6 ((uint32_t)0x00040) /*!< External interrupt line 6 */ 110 | #define EXTI_Line7 ((uint32_t)0x00080) /*!< External interrupt line 7 */ 111 | #define EXTI_Line8 ((uint32_t)0x00100) /*!< External interrupt line 8 */ 112 | #define EXTI_Line9 ((uint32_t)0x00200) /*!< External interrupt line 9 */ 113 | #define EXTI_Line10 ((uint32_t)0x00400) /*!< External interrupt line 10 */ 114 | #define EXTI_Line11 ((uint32_t)0x00800) /*!< External interrupt line 11 */ 115 | #define EXTI_Line12 ((uint32_t)0x01000) /*!< External interrupt line 12 */ 116 | #define EXTI_Line13 ((uint32_t)0x02000) /*!< External interrupt line 13 */ 117 | #define EXTI_Line14 ((uint32_t)0x04000) /*!< External interrupt line 14 */ 118 | #define EXTI_Line15 ((uint32_t)0x08000) /*!< External interrupt line 15 */ 119 | #define EXTI_Line16 ((uint32_t)0x10000) /*!< External interrupt line 16 Connected to the PVD Output */ 120 | #define EXTI_Line17 ((uint32_t)0x20000) /*!< External interrupt line 17 Connected to the RTC Alarm event */ 121 | #define EXTI_Line18 ((uint32_t)0x40000) /*!< External interrupt line 18 Connected to the USB Device/USB OTG FS 122 | Wakeup from suspend event */ 123 | #define EXTI_Line19 ((uint32_t)0x80000) /*!< External interrupt line 19 Connected to the Ethernet Wakeup event */ 124 | 125 | #define IS_EXTI_LINE(LINE) ((((LINE) & (uint32_t)0xFFF00000) == 0x00) && ((LINE) != (uint16_t)0x00)) 126 | #define IS_GET_EXTI_LINE(LINE) (((LINE) == EXTI_Line0) || ((LINE) == EXTI_Line1) || \ 127 | ((LINE) == EXTI_Line2) || ((LINE) == EXTI_Line3) || \ 128 | ((LINE) == EXTI_Line4) || ((LINE) == EXTI_Line5) || \ 129 | ((LINE) == EXTI_Line6) || ((LINE) == EXTI_Line7) || \ 130 | ((LINE) == EXTI_Line8) || ((LINE) == EXTI_Line9) || \ 131 | ((LINE) == EXTI_Line10) || ((LINE) == EXTI_Line11) || \ 132 | ((LINE) == EXTI_Line12) || ((LINE) == EXTI_Line13) || \ 133 | ((LINE) == EXTI_Line14) || ((LINE) == EXTI_Line15) || \ 134 | ((LINE) == EXTI_Line16) || ((LINE) == EXTI_Line17) || \ 135 | ((LINE) == EXTI_Line18) || ((LINE) == EXTI_Line19)) 136 | 137 | 138 | /** 139 | * @} 140 | */ 141 | 142 | /** 143 | * @} 144 | */ 145 | 146 | /** @defgroup EXTI_Exported_Macros 147 | * @{ 148 | */ 149 | 150 | /** 151 | * @} 152 | */ 153 | 154 | /** @defgroup EXTI_Exported_Functions 155 | * @{ 156 | */ 157 | 158 | void EXTI_DeInit(void); 159 | void EXTI_Init(EXTI_InitTypeDef* EXTI_InitStruct); 160 | void EXTI_StructInit(EXTI_InitTypeDef* EXTI_InitStruct); 161 | void EXTI_GenerateSWInterrupt(uint32_t EXTI_Line); 162 | FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line); 163 | void EXTI_ClearFlag(uint32_t EXTI_Line); 164 | ITStatus EXTI_GetITStatus(uint32_t EXTI_Line); 165 | void EXTI_ClearITPendingBit(uint32_t EXTI_Line); 166 | 167 | #ifdef __cplusplus 168 | } 169 | #endif 170 | 171 | #endif /* __STM32F10x_EXTI_H */ 172 | /** 173 | * @} 174 | */ 175 | 176 | /** 177 | * @} 178 | */ 179 | 180 | /** 181 | * @} 182 | */ 183 | 184 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 185 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/misc.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file misc.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the miscellaneous firmware functions (add-on 8 | * to CMSIS functions). 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Includes ------------------------------------------------------------------*/ 24 | #include "misc.h" 25 | 26 | /** @addtogroup STM32F10x_StdPeriph_Driver 27 | * @{ 28 | */ 29 | 30 | /** @defgroup MISC 31 | * @brief MISC driver modules 32 | * @{ 33 | */ 34 | 35 | /** @defgroup MISC_Private_TypesDefinitions 36 | * @{ 37 | */ 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | /** @defgroup MISC_Private_Defines 44 | * @{ 45 | */ 46 | 47 | #define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000) 48 | /** 49 | * @} 50 | */ 51 | 52 | /** @defgroup MISC_Private_Macros 53 | * @{ 54 | */ 55 | 56 | /** 57 | * @} 58 | */ 59 | 60 | /** @defgroup MISC_Private_Variables 61 | * @{ 62 | */ 63 | 64 | /** 65 | * @} 66 | */ 67 | 68 | /** @defgroup MISC_Private_FunctionPrototypes 69 | * @{ 70 | */ 71 | 72 | /** 73 | * @} 74 | */ 75 | 76 | /** @defgroup MISC_Private_Functions 77 | * @{ 78 | */ 79 | 80 | /** 81 | * @brief Configures the priority grouping: pre-emption priority and subpriority. 82 | * @param NVIC_PriorityGroup: specifies the priority grouping bits length. 83 | * This parameter can be one of the following values: 84 | * @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority 85 | * 4 bits for subpriority 86 | * @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority 87 | * 3 bits for subpriority 88 | * @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority 89 | * 2 bits for subpriority 90 | * @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority 91 | * 1 bits for subpriority 92 | * @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority 93 | * 0 bits for subpriority 94 | * @retval None 95 | */ 96 | void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup) 97 | { 98 | /* Check the parameters */ 99 | assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup)); 100 | 101 | /* Set the PRIGROUP[10:8] bits according to NVIC_PriorityGroup value */ 102 | SCB->AIRCR = AIRCR_VECTKEY_MASK | NVIC_PriorityGroup; 103 | } 104 | 105 | /** 106 | * @brief Initializes the NVIC peripheral according to the specified 107 | * parameters in the NVIC_InitStruct. 108 | * @param NVIC_InitStruct: pointer to a NVIC_InitTypeDef structure that contains 109 | * the configuration information for the specified NVIC peripheral. 110 | * @retval None 111 | */ 112 | void NVIC_Init(NVIC_InitTypeDef* NVIC_InitStruct) 113 | { 114 | uint32_t tmppriority = 0x00, tmppre = 0x00, tmpsub = 0x0F; 115 | 116 | /* Check the parameters */ 117 | assert_param(IS_FUNCTIONAL_STATE(NVIC_InitStruct->NVIC_IRQChannelCmd)); 118 | assert_param(IS_NVIC_PREEMPTION_PRIORITY(NVIC_InitStruct->NVIC_IRQChannelPreemptionPriority)); 119 | assert_param(IS_NVIC_SUB_PRIORITY(NVIC_InitStruct->NVIC_IRQChannelSubPriority)); 120 | 121 | if (NVIC_InitStruct->NVIC_IRQChannelCmd != DISABLE) 122 | { 123 | /* Compute the Corresponding IRQ Priority --------------------------------*/ 124 | tmppriority = (0x700 - ((SCB->AIRCR) & (uint32_t)0x700))>> 0x08; 125 | tmppre = (0x4 - tmppriority); 126 | tmpsub = tmpsub >> tmppriority; 127 | 128 | tmppriority = (uint32_t)NVIC_InitStruct->NVIC_IRQChannelPreemptionPriority << tmppre; 129 | tmppriority |= NVIC_InitStruct->NVIC_IRQChannelSubPriority & tmpsub; 130 | tmppriority = tmppriority << 0x04; 131 | 132 | NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority; 133 | 134 | /* Enable the Selected IRQ Channels --------------------------------------*/ 135 | NVIC->ISER[NVIC_InitStruct->NVIC_IRQChannel >> 0x05] = 136 | (uint32_t)0x01 << (NVIC_InitStruct->NVIC_IRQChannel & (uint8_t)0x1F); 137 | } 138 | else 139 | { 140 | /* Disable the Selected IRQ Channels -------------------------------------*/ 141 | NVIC->ICER[NVIC_InitStruct->NVIC_IRQChannel >> 0x05] = 142 | (uint32_t)0x01 << (NVIC_InitStruct->NVIC_IRQChannel & (uint8_t)0x1F); 143 | } 144 | } 145 | 146 | /** 147 | * @brief Sets the vector table location and Offset. 148 | * @param NVIC_VectTab: specifies if the vector table is in RAM or FLASH memory. 149 | * This parameter can be one of the following values: 150 | * @arg NVIC_VectTab_RAM 151 | * @arg NVIC_VectTab_FLASH 152 | * @param Offset: Vector Table base offset field. This value must be a multiple 153 | * of 0x200. 154 | * @retval None 155 | */ 156 | void NVIC_SetVectorTable(uint32_t NVIC_VectTab, uint32_t Offset) 157 | { 158 | /* Check the parameters */ 159 | assert_param(IS_NVIC_VECTTAB(NVIC_VectTab)); 160 | assert_param(IS_NVIC_OFFSET(Offset)); 161 | 162 | SCB->VTOR = NVIC_VectTab | (Offset & (uint32_t)0x1FFFFF80); 163 | } 164 | 165 | /** 166 | * @brief Selects the condition for the system to enter low power mode. 167 | * @param LowPowerMode: Specifies the new mode for the system to enter low power mode. 168 | * This parameter can be one of the following values: 169 | * @arg NVIC_LP_SEVONPEND 170 | * @arg NVIC_LP_SLEEPDEEP 171 | * @arg NVIC_LP_SLEEPONEXIT 172 | * @param NewState: new state of LP condition. This parameter can be: ENABLE or DISABLE. 173 | * @retval None 174 | */ 175 | void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState) 176 | { 177 | /* Check the parameters */ 178 | assert_param(IS_NVIC_LP(LowPowerMode)); 179 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 180 | 181 | if (NewState != DISABLE) 182 | { 183 | SCB->SCR |= LowPowerMode; 184 | } 185 | else 186 | { 187 | SCB->SCR &= (uint32_t)(~(uint32_t)LowPowerMode); 188 | } 189 | } 190 | 191 | /** 192 | * @brief Configures the SysTick clock source. 193 | * @param SysTick_CLKSource: specifies the SysTick clock source. 194 | * This parameter can be one of the following values: 195 | * @arg SysTick_CLKSource_HCLK_Div8: AHB clock divided by 8 selected as SysTick clock source. 196 | * @arg SysTick_CLKSource_HCLK: AHB clock selected as SysTick clock source. 197 | * @retval None 198 | */ 199 | void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource) 200 | { 201 | /* Check the parameters */ 202 | assert_param(IS_SYSTICK_CLK_SOURCE(SysTick_CLKSource)); 203 | if (SysTick_CLKSource == SysTick_CLKSource_HCLK) 204 | { 205 | SysTick->CTRL |= SysTick_CLKSource_HCLK; 206 | } 207 | else 208 | { 209 | SysTick->CTRL &= SysTick_CLKSource_HCLK_Div8; 210 | } 211 | } 212 | 213 | /** 214 | * @} 215 | */ 216 | 217 | /** 218 | * @} 219 | */ 220 | 221 | /** 222 | * @} 223 | */ 224 | 225 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 226 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_exti.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_exti.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the EXTI firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_exti.h" 24 | 25 | /** @addtogroup STM32F10x_StdPeriph_Driver 26 | * @{ 27 | */ 28 | 29 | /** @defgroup EXTI 30 | * @brief EXTI driver modules 31 | * @{ 32 | */ 33 | 34 | /** @defgroup EXTI_Private_TypesDefinitions 35 | * @{ 36 | */ 37 | 38 | /** 39 | * @} 40 | */ 41 | 42 | /** @defgroup EXTI_Private_Defines 43 | * @{ 44 | */ 45 | 46 | #define EXTI_LINENONE ((uint32_t)0x00000) /* No interrupt selected */ 47 | 48 | /** 49 | * @} 50 | */ 51 | 52 | /** @defgroup EXTI_Private_Macros 53 | * @{ 54 | */ 55 | 56 | /** 57 | * @} 58 | */ 59 | 60 | /** @defgroup EXTI_Private_Variables 61 | * @{ 62 | */ 63 | 64 | /** 65 | * @} 66 | */ 67 | 68 | /** @defgroup EXTI_Private_FunctionPrototypes 69 | * @{ 70 | */ 71 | 72 | /** 73 | * @} 74 | */ 75 | 76 | /** @defgroup EXTI_Private_Functions 77 | * @{ 78 | */ 79 | 80 | /** 81 | * @brief Deinitializes the EXTI peripheral registers to their default reset values. 82 | * @param None 83 | * @retval None 84 | */ 85 | void EXTI_DeInit(void) 86 | { 87 | EXTI->IMR = 0x00000000; 88 | EXTI->EMR = 0x00000000; 89 | EXTI->RTSR = 0x00000000; 90 | EXTI->FTSR = 0x00000000; 91 | EXTI->PR = 0x000FFFFF; 92 | } 93 | 94 | /** 95 | * @brief Initializes the EXTI peripheral according to the specified 96 | * parameters in the EXTI_InitStruct. 97 | * @param EXTI_InitStruct: pointer to a EXTI_InitTypeDef structure 98 | * that contains the configuration information for the EXTI peripheral. 99 | * @retval None 100 | */ 101 | void EXTI_Init(EXTI_InitTypeDef* EXTI_InitStruct) 102 | { 103 | uint32_t tmp = 0; 104 | 105 | /* Check the parameters */ 106 | assert_param(IS_EXTI_MODE(EXTI_InitStruct->EXTI_Mode)); 107 | assert_param(IS_EXTI_TRIGGER(EXTI_InitStruct->EXTI_Trigger)); 108 | assert_param(IS_EXTI_LINE(EXTI_InitStruct->EXTI_Line)); 109 | assert_param(IS_FUNCTIONAL_STATE(EXTI_InitStruct->EXTI_LineCmd)); 110 | 111 | tmp = (uint32_t)EXTI_BASE; 112 | 113 | if (EXTI_InitStruct->EXTI_LineCmd != DISABLE) 114 | { 115 | /* Clear EXTI line configuration */ 116 | EXTI->IMR &= ~EXTI_InitStruct->EXTI_Line; 117 | EXTI->EMR &= ~EXTI_InitStruct->EXTI_Line; 118 | 119 | tmp += EXTI_InitStruct->EXTI_Mode; 120 | 121 | *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; 122 | 123 | /* Clear Rising Falling edge configuration */ 124 | EXTI->RTSR &= ~EXTI_InitStruct->EXTI_Line; 125 | EXTI->FTSR &= ~EXTI_InitStruct->EXTI_Line; 126 | 127 | /* Select the trigger for the selected external interrupts */ 128 | if (EXTI_InitStruct->EXTI_Trigger == EXTI_Trigger_Rising_Falling) 129 | { 130 | /* Rising Falling edge */ 131 | EXTI->RTSR |= EXTI_InitStruct->EXTI_Line; 132 | EXTI->FTSR |= EXTI_InitStruct->EXTI_Line; 133 | } 134 | else 135 | { 136 | tmp = (uint32_t)EXTI_BASE; 137 | tmp += EXTI_InitStruct->EXTI_Trigger; 138 | 139 | *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; 140 | } 141 | } 142 | else 143 | { 144 | tmp += EXTI_InitStruct->EXTI_Mode; 145 | 146 | /* Disable the selected external lines */ 147 | *(__IO uint32_t *) tmp &= ~EXTI_InitStruct->EXTI_Line; 148 | } 149 | } 150 | 151 | /** 152 | * @brief Fills each EXTI_InitStruct member with its reset value. 153 | * @param EXTI_InitStruct: pointer to a EXTI_InitTypeDef structure which will 154 | * be initialized. 155 | * @retval None 156 | */ 157 | void EXTI_StructInit(EXTI_InitTypeDef* EXTI_InitStruct) 158 | { 159 | EXTI_InitStruct->EXTI_Line = EXTI_LINENONE; 160 | EXTI_InitStruct->EXTI_Mode = EXTI_Mode_Interrupt; 161 | EXTI_InitStruct->EXTI_Trigger = EXTI_Trigger_Falling; 162 | EXTI_InitStruct->EXTI_LineCmd = DISABLE; 163 | } 164 | 165 | /** 166 | * @brief Generates a Software interrupt. 167 | * @param EXTI_Line: specifies the EXTI lines to be enabled or disabled. 168 | * This parameter can be any combination of EXTI_Linex where x can be (0..19). 169 | * @retval None 170 | */ 171 | void EXTI_GenerateSWInterrupt(uint32_t EXTI_Line) 172 | { 173 | /* Check the parameters */ 174 | assert_param(IS_EXTI_LINE(EXTI_Line)); 175 | 176 | EXTI->SWIER |= EXTI_Line; 177 | } 178 | 179 | /** 180 | * @brief Checks whether the specified EXTI line flag is set or not. 181 | * @param EXTI_Line: specifies the EXTI line flag to check. 182 | * This parameter can be: 183 | * @arg EXTI_Linex: External interrupt line x where x(0..19) 184 | * @retval The new state of EXTI_Line (SET or RESET). 185 | */ 186 | FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line) 187 | { 188 | FlagStatus bitstatus = RESET; 189 | /* Check the parameters */ 190 | assert_param(IS_GET_EXTI_LINE(EXTI_Line)); 191 | 192 | if ((EXTI->PR & EXTI_Line) != (uint32_t)RESET) 193 | { 194 | bitstatus = SET; 195 | } 196 | else 197 | { 198 | bitstatus = RESET; 199 | } 200 | return bitstatus; 201 | } 202 | 203 | /** 204 | * @brief Clears the EXTI's line pending flags. 205 | * @param EXTI_Line: specifies the EXTI lines flags to clear. 206 | * This parameter can be any combination of EXTI_Linex where x can be (0..19). 207 | * @retval None 208 | */ 209 | void EXTI_ClearFlag(uint32_t EXTI_Line) 210 | { 211 | /* Check the parameters */ 212 | assert_param(IS_EXTI_LINE(EXTI_Line)); 213 | 214 | EXTI->PR = EXTI_Line; 215 | } 216 | 217 | /** 218 | * @brief Checks whether the specified EXTI line is asserted or not. 219 | * @param EXTI_Line: specifies the EXTI line to check. 220 | * This parameter can be: 221 | * @arg EXTI_Linex: External interrupt line x where x(0..19) 222 | * @retval The new state of EXTI_Line (SET or RESET). 223 | */ 224 | ITStatus EXTI_GetITStatus(uint32_t EXTI_Line) 225 | { 226 | ITStatus bitstatus = RESET; 227 | uint32_t enablestatus = 0; 228 | /* Check the parameters */ 229 | assert_param(IS_GET_EXTI_LINE(EXTI_Line)); 230 | 231 | enablestatus = EXTI->IMR & EXTI_Line; 232 | if (((EXTI->PR & EXTI_Line) != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET)) 233 | { 234 | bitstatus = SET; 235 | } 236 | else 237 | { 238 | bitstatus = RESET; 239 | } 240 | return bitstatus; 241 | } 242 | 243 | /** 244 | * @brief Clears the EXTI's line pending bits. 245 | * @param EXTI_Line: specifies the EXTI lines to clear. 246 | * This parameter can be any combination of EXTI_Linex where x can be (0..19). 247 | * @retval None 248 | */ 249 | void EXTI_ClearITPendingBit(uint32_t EXTI_Line) 250 | { 251 | /* Check the parameters */ 252 | assert_param(IS_EXTI_LINE(EXTI_Line)); 253 | 254 | EXTI->PR = EXTI_Line; 255 | } 256 | 257 | /** 258 | * @} 259 | */ 260 | 261 | /** 262 | * @} 263 | */ 264 | 265 | /** 266 | * @} 267 | */ 268 | 269 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 270 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/inc/stm32f10x_bkp.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_bkp.h 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file contains all the functions prototypes for the BKP firmware 8 | * library. 9 | ****************************************************************************** 10 | * @attention 11 | * 12 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 14 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 15 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 16 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 17 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 18 | * 19 | *

© COPYRIGHT 2011 STMicroelectronics

20 | ****************************************************************************** 21 | */ 22 | 23 | /* Define to prevent recursive inclusion -------------------------------------*/ 24 | #ifndef __STM32F10x_BKP_H 25 | #define __STM32F10x_BKP_H 26 | 27 | #ifdef __cplusplus 28 | extern "C" { 29 | #endif 30 | 31 | /* Includes ------------------------------------------------------------------*/ 32 | #include "stm32f10x.h" 33 | 34 | /** @addtogroup STM32F10x_StdPeriph_Driver 35 | * @{ 36 | */ 37 | 38 | /** @addtogroup BKP 39 | * @{ 40 | */ 41 | 42 | /** @defgroup BKP_Exported_Types 43 | * @{ 44 | */ 45 | 46 | /** 47 | * @} 48 | */ 49 | 50 | /** @defgroup BKP_Exported_Constants 51 | * @{ 52 | */ 53 | 54 | /** @defgroup Tamper_Pin_active_level 55 | * @{ 56 | */ 57 | 58 | #define BKP_TamperPinLevel_High ((uint16_t)0x0000) 59 | #define BKP_TamperPinLevel_Low ((uint16_t)0x0001) 60 | #define IS_BKP_TAMPER_PIN_LEVEL(LEVEL) (((LEVEL) == BKP_TamperPinLevel_High) || \ 61 | ((LEVEL) == BKP_TamperPinLevel_Low)) 62 | /** 63 | * @} 64 | */ 65 | 66 | /** @defgroup RTC_output_source_to_output_on_the_Tamper_pin 67 | * @{ 68 | */ 69 | 70 | #define BKP_RTCOutputSource_None ((uint16_t)0x0000) 71 | #define BKP_RTCOutputSource_CalibClock ((uint16_t)0x0080) 72 | #define BKP_RTCOutputSource_Alarm ((uint16_t)0x0100) 73 | #define BKP_RTCOutputSource_Second ((uint16_t)0x0300) 74 | #define IS_BKP_RTC_OUTPUT_SOURCE(SOURCE) (((SOURCE) == BKP_RTCOutputSource_None) || \ 75 | ((SOURCE) == BKP_RTCOutputSource_CalibClock) || \ 76 | ((SOURCE) == BKP_RTCOutputSource_Alarm) || \ 77 | ((SOURCE) == BKP_RTCOutputSource_Second)) 78 | /** 79 | * @} 80 | */ 81 | 82 | /** @defgroup Data_Backup_Register 83 | * @{ 84 | */ 85 | 86 | #define BKP_DR1 ((uint16_t)0x0004) 87 | #define BKP_DR2 ((uint16_t)0x0008) 88 | #define BKP_DR3 ((uint16_t)0x000C) 89 | #define BKP_DR4 ((uint16_t)0x0010) 90 | #define BKP_DR5 ((uint16_t)0x0014) 91 | #define BKP_DR6 ((uint16_t)0x0018) 92 | #define BKP_DR7 ((uint16_t)0x001C) 93 | #define BKP_DR8 ((uint16_t)0x0020) 94 | #define BKP_DR9 ((uint16_t)0x0024) 95 | #define BKP_DR10 ((uint16_t)0x0028) 96 | #define BKP_DR11 ((uint16_t)0x0040) 97 | #define BKP_DR12 ((uint16_t)0x0044) 98 | #define BKP_DR13 ((uint16_t)0x0048) 99 | #define BKP_DR14 ((uint16_t)0x004C) 100 | #define BKP_DR15 ((uint16_t)0x0050) 101 | #define BKP_DR16 ((uint16_t)0x0054) 102 | #define BKP_DR17 ((uint16_t)0x0058) 103 | #define BKP_DR18 ((uint16_t)0x005C) 104 | #define BKP_DR19 ((uint16_t)0x0060) 105 | #define BKP_DR20 ((uint16_t)0x0064) 106 | #define BKP_DR21 ((uint16_t)0x0068) 107 | #define BKP_DR22 ((uint16_t)0x006C) 108 | #define BKP_DR23 ((uint16_t)0x0070) 109 | #define BKP_DR24 ((uint16_t)0x0074) 110 | #define BKP_DR25 ((uint16_t)0x0078) 111 | #define BKP_DR26 ((uint16_t)0x007C) 112 | #define BKP_DR27 ((uint16_t)0x0080) 113 | #define BKP_DR28 ((uint16_t)0x0084) 114 | #define BKP_DR29 ((uint16_t)0x0088) 115 | #define BKP_DR30 ((uint16_t)0x008C) 116 | #define BKP_DR31 ((uint16_t)0x0090) 117 | #define BKP_DR32 ((uint16_t)0x0094) 118 | #define BKP_DR33 ((uint16_t)0x0098) 119 | #define BKP_DR34 ((uint16_t)0x009C) 120 | #define BKP_DR35 ((uint16_t)0x00A0) 121 | #define BKP_DR36 ((uint16_t)0x00A4) 122 | #define BKP_DR37 ((uint16_t)0x00A8) 123 | #define BKP_DR38 ((uint16_t)0x00AC) 124 | #define BKP_DR39 ((uint16_t)0x00B0) 125 | #define BKP_DR40 ((uint16_t)0x00B4) 126 | #define BKP_DR41 ((uint16_t)0x00B8) 127 | #define BKP_DR42 ((uint16_t)0x00BC) 128 | 129 | #define IS_BKP_DR(DR) (((DR) == BKP_DR1) || ((DR) == BKP_DR2) || ((DR) == BKP_DR3) || \ 130 | ((DR) == BKP_DR4) || ((DR) == BKP_DR5) || ((DR) == BKP_DR6) || \ 131 | ((DR) == BKP_DR7) || ((DR) == BKP_DR8) || ((DR) == BKP_DR9) || \ 132 | ((DR) == BKP_DR10) || ((DR) == BKP_DR11) || ((DR) == BKP_DR12) || \ 133 | ((DR) == BKP_DR13) || ((DR) == BKP_DR14) || ((DR) == BKP_DR15) || \ 134 | ((DR) == BKP_DR16) || ((DR) == BKP_DR17) || ((DR) == BKP_DR18) || \ 135 | ((DR) == BKP_DR19) || ((DR) == BKP_DR20) || ((DR) == BKP_DR21) || \ 136 | ((DR) == BKP_DR22) || ((DR) == BKP_DR23) || ((DR) == BKP_DR24) || \ 137 | ((DR) == BKP_DR25) || ((DR) == BKP_DR26) || ((DR) == BKP_DR27) || \ 138 | ((DR) == BKP_DR28) || ((DR) == BKP_DR29) || ((DR) == BKP_DR30) || \ 139 | ((DR) == BKP_DR31) || ((DR) == BKP_DR32) || ((DR) == BKP_DR33) || \ 140 | ((DR) == BKP_DR34) || ((DR) == BKP_DR35) || ((DR) == BKP_DR36) || \ 141 | ((DR) == BKP_DR37) || ((DR) == BKP_DR38) || ((DR) == BKP_DR39) || \ 142 | ((DR) == BKP_DR40) || ((DR) == BKP_DR41) || ((DR) == BKP_DR42)) 143 | 144 | #define IS_BKP_CALIBRATION_VALUE(VALUE) ((VALUE) <= 0x7F) 145 | /** 146 | * @} 147 | */ 148 | 149 | /** 150 | * @} 151 | */ 152 | 153 | /** @defgroup BKP_Exported_Macros 154 | * @{ 155 | */ 156 | 157 | /** 158 | * @} 159 | */ 160 | 161 | /** @defgroup BKP_Exported_Functions 162 | * @{ 163 | */ 164 | 165 | void BKP_DeInit(void); 166 | void BKP_TamperPinLevelConfig(uint16_t BKP_TamperPinLevel); 167 | void BKP_TamperPinCmd(FunctionalState NewState); 168 | void BKP_ITConfig(FunctionalState NewState); 169 | void BKP_RTCOutputConfig(uint16_t BKP_RTCOutputSource); 170 | void BKP_SetRTCCalibrationValue(uint8_t CalibrationValue); 171 | void BKP_WriteBackupRegister(uint16_t BKP_DR, uint16_t Data); 172 | uint16_t BKP_ReadBackupRegister(uint16_t BKP_DR); 173 | FlagStatus BKP_GetFlagStatus(void); 174 | void BKP_ClearFlag(void); 175 | ITStatus BKP_GetITStatus(void); 176 | void BKP_ClearITPendingBit(void); 177 | 178 | #ifdef __cplusplus 179 | } 180 | #endif 181 | 182 | #endif /* __STM32F10x_BKP_H */ 183 | /** 184 | * @} 185 | */ 186 | 187 | /** 188 | * @} 189 | */ 190 | 191 | /** 192 | * @} 193 | */ 194 | 195 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 196 | -------------------------------------------------------------------------------- /STM32F10x_FWLib/src/stm32f10x_bkp.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f10x_bkp.c 4 | * @author MCD Application Team 5 | * @version V3.5.0 6 | * @date 11-March-2011 7 | * @brief This file provides all the BKP firmware functions. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 12 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 13 | * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 14 | * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 15 | * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 16 | * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 17 | * 18 | *

© COPYRIGHT 2011 STMicroelectronics

19 | ****************************************************************************** 20 | */ 21 | 22 | /* Includes ------------------------------------------------------------------*/ 23 | #include "stm32f10x_bkp.h" 24 | #include "stm32f10x_rcc.h" 25 | 26 | /** @addtogroup STM32F10x_StdPeriph_Driver 27 | * @{ 28 | */ 29 | 30 | /** @defgroup BKP 31 | * @brief BKP driver modules 32 | * @{ 33 | */ 34 | 35 | /** @defgroup BKP_Private_TypesDefinitions 36 | * @{ 37 | */ 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | /** @defgroup BKP_Private_Defines 44 | * @{ 45 | */ 46 | 47 | /* ------------ BKP registers bit address in the alias region --------------- */ 48 | #define BKP_OFFSET (BKP_BASE - PERIPH_BASE) 49 | 50 | /* --- CR Register ----*/ 51 | 52 | /* Alias word address of TPAL bit */ 53 | #define CR_OFFSET (BKP_OFFSET + 0x30) 54 | #define TPAL_BitNumber 0x01 55 | #define CR_TPAL_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPAL_BitNumber * 4)) 56 | 57 | /* Alias word address of TPE bit */ 58 | #define TPE_BitNumber 0x00 59 | #define CR_TPE_BB (PERIPH_BB_BASE + (CR_OFFSET * 32) + (TPE_BitNumber * 4)) 60 | 61 | /* --- CSR Register ---*/ 62 | 63 | /* Alias word address of TPIE bit */ 64 | #define CSR_OFFSET (BKP_OFFSET + 0x34) 65 | #define TPIE_BitNumber 0x02 66 | #define CSR_TPIE_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TPIE_BitNumber * 4)) 67 | 68 | /* Alias word address of TIF bit */ 69 | #define TIF_BitNumber 0x09 70 | #define CSR_TIF_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TIF_BitNumber * 4)) 71 | 72 | /* Alias word address of TEF bit */ 73 | #define TEF_BitNumber 0x08 74 | #define CSR_TEF_BB (PERIPH_BB_BASE + (CSR_OFFSET * 32) + (TEF_BitNumber * 4)) 75 | 76 | /* ---------------------- BKP registers bit mask ------------------------ */ 77 | 78 | /* RTCCR register bit mask */ 79 | #define RTCCR_CAL_MASK ((uint16_t)0xFF80) 80 | #define RTCCR_MASK ((uint16_t)0xFC7F) 81 | 82 | /** 83 | * @} 84 | */ 85 | 86 | 87 | /** @defgroup BKP_Private_Macros 88 | * @{ 89 | */ 90 | 91 | /** 92 | * @} 93 | */ 94 | 95 | /** @defgroup BKP_Private_Variables 96 | * @{ 97 | */ 98 | 99 | /** 100 | * @} 101 | */ 102 | 103 | /** @defgroup BKP_Private_FunctionPrototypes 104 | * @{ 105 | */ 106 | 107 | /** 108 | * @} 109 | */ 110 | 111 | /** @defgroup BKP_Private_Functions 112 | * @{ 113 | */ 114 | 115 | /** 116 | * @brief Deinitializes the BKP peripheral registers to their default reset values. 117 | * @param None 118 | * @retval None 119 | */ 120 | void BKP_DeInit(void) 121 | { 122 | RCC_BackupResetCmd(ENABLE); 123 | RCC_BackupResetCmd(DISABLE); 124 | } 125 | 126 | /** 127 | * @brief Configures the Tamper Pin active level. 128 | * @param BKP_TamperPinLevel: specifies the Tamper Pin active level. 129 | * This parameter can be one of the following values: 130 | * @arg BKP_TamperPinLevel_High: Tamper pin active on high level 131 | * @arg BKP_TamperPinLevel_Low: Tamper pin active on low level 132 | * @retval None 133 | */ 134 | void BKP_TamperPinLevelConfig(uint16_t BKP_TamperPinLevel) 135 | { 136 | /* Check the parameters */ 137 | assert_param(IS_BKP_TAMPER_PIN_LEVEL(BKP_TamperPinLevel)); 138 | *(__IO uint32_t *) CR_TPAL_BB = BKP_TamperPinLevel; 139 | } 140 | 141 | /** 142 | * @brief Enables or disables the Tamper Pin activation. 143 | * @param NewState: new state of the Tamper Pin activation. 144 | * This parameter can be: ENABLE or DISABLE. 145 | * @retval None 146 | */ 147 | void BKP_TamperPinCmd(FunctionalState NewState) 148 | { 149 | /* Check the parameters */ 150 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 151 | *(__IO uint32_t *) CR_TPE_BB = (uint32_t)NewState; 152 | } 153 | 154 | /** 155 | * @brief Enables or disables the Tamper Pin Interrupt. 156 | * @param NewState: new state of the Tamper Pin Interrupt. 157 | * This parameter can be: ENABLE or DISABLE. 158 | * @retval None 159 | */ 160 | void BKP_ITConfig(FunctionalState NewState) 161 | { 162 | /* Check the parameters */ 163 | assert_param(IS_FUNCTIONAL_STATE(NewState)); 164 | *(__IO uint32_t *) CSR_TPIE_BB = (uint32_t)NewState; 165 | } 166 | 167 | /** 168 | * @brief Select the RTC output source to output on the Tamper pin. 169 | * @param BKP_RTCOutputSource: specifies the RTC output source. 170 | * This parameter can be one of the following values: 171 | * @arg BKP_RTCOutputSource_None: no RTC output on the Tamper pin. 172 | * @arg BKP_RTCOutputSource_CalibClock: output the RTC clock with frequency 173 | * divided by 64 on the Tamper pin. 174 | * @arg BKP_RTCOutputSource_Alarm: output the RTC Alarm pulse signal on 175 | * the Tamper pin. 176 | * @arg BKP_RTCOutputSource_Second: output the RTC Second pulse signal on 177 | * the Tamper pin. 178 | * @retval None 179 | */ 180 | void BKP_RTCOutputConfig(uint16_t BKP_RTCOutputSource) 181 | { 182 | uint16_t tmpreg = 0; 183 | /* Check the parameters */ 184 | assert_param(IS_BKP_RTC_OUTPUT_SOURCE(BKP_RTCOutputSource)); 185 | tmpreg = BKP->RTCCR; 186 | /* Clear CCO, ASOE and ASOS bits */ 187 | tmpreg &= RTCCR_MASK; 188 | 189 | /* Set CCO, ASOE and ASOS bits according to BKP_RTCOutputSource value */ 190 | tmpreg |= BKP_RTCOutputSource; 191 | /* Store the new value */ 192 | BKP->RTCCR = tmpreg; 193 | } 194 | 195 | /** 196 | * @brief Sets RTC Clock Calibration value. 197 | * @param CalibrationValue: specifies the RTC Clock Calibration value. 198 | * This parameter must be a number between 0 and 0x7F. 199 | * @retval None 200 | */ 201 | void BKP_SetRTCCalibrationValue(uint8_t CalibrationValue) 202 | { 203 | uint16_t tmpreg = 0; 204 | /* Check the parameters */ 205 | assert_param(IS_BKP_CALIBRATION_VALUE(CalibrationValue)); 206 | tmpreg = BKP->RTCCR; 207 | /* Clear CAL[6:0] bits */ 208 | tmpreg &= RTCCR_CAL_MASK; 209 | /* Set CAL[6:0] bits according to CalibrationValue value */ 210 | tmpreg |= CalibrationValue; 211 | /* Store the new value */ 212 | BKP->RTCCR = tmpreg; 213 | } 214 | 215 | /** 216 | * @brief Writes user data to the specified Data Backup Register. 217 | * @param BKP_DR: specifies the Data Backup Register. 218 | * This parameter can be BKP_DRx where x:[1, 42] 219 | * @param Data: data to write 220 | * @retval None 221 | */ 222 | void BKP_WriteBackupRegister(uint16_t BKP_DR, uint16_t Data) 223 | { 224 | __IO uint32_t tmp = 0; 225 | 226 | /* Check the parameters */ 227 | assert_param(IS_BKP_DR(BKP_DR)); 228 | 229 | tmp = (uint32_t)BKP_BASE; 230 | tmp += BKP_DR; 231 | 232 | *(__IO uint32_t *) tmp = Data; 233 | } 234 | 235 | /** 236 | * @brief Reads data from the specified Data Backup Register. 237 | * @param BKP_DR: specifies the Data Backup Register. 238 | * This parameter can be BKP_DRx where x:[1, 42] 239 | * @retval The content of the specified Data Backup Register 240 | */ 241 | uint16_t BKP_ReadBackupRegister(uint16_t BKP_DR) 242 | { 243 | __IO uint32_t tmp = 0; 244 | 245 | /* Check the parameters */ 246 | assert_param(IS_BKP_DR(BKP_DR)); 247 | 248 | tmp = (uint32_t)BKP_BASE; 249 | tmp += BKP_DR; 250 | 251 | return (*(__IO uint16_t *) tmp); 252 | } 253 | 254 | /** 255 | * @brief Checks whether the Tamper Pin Event flag is set or not. 256 | * @param None 257 | * @retval The new state of the Tamper Pin Event flag (SET or RESET). 258 | */ 259 | FlagStatus BKP_GetFlagStatus(void) 260 | { 261 | return (FlagStatus)(*(__IO uint32_t *) CSR_TEF_BB); 262 | } 263 | 264 | /** 265 | * @brief Clears Tamper Pin Event pending flag. 266 | * @param None 267 | * @retval None 268 | */ 269 | void BKP_ClearFlag(void) 270 | { 271 | /* Set CTE bit to clear Tamper Pin Event flag */ 272 | BKP->CSR |= BKP_CSR_CTE; 273 | } 274 | 275 | /** 276 | * @brief Checks whether the Tamper Pin Interrupt has occurred or not. 277 | * @param None 278 | * @retval The new state of the Tamper Pin Interrupt (SET or RESET). 279 | */ 280 | ITStatus BKP_GetITStatus(void) 281 | { 282 | return (ITStatus)(*(__IO uint32_t *) CSR_TIF_BB); 283 | } 284 | 285 | /** 286 | * @brief Clears Tamper Pin Interrupt pending bit. 287 | * @param None 288 | * @retval None 289 | */ 290 | void BKP_ClearITPendingBit(void) 291 | { 292 | /* Set CTI bit to clear Tamper Pin Interrupt pending bit */ 293 | BKP->CSR |= BKP_CSR_CTI; 294 | } 295 | 296 | /** 297 | * @} 298 | */ 299 | 300 | /** 301 | * @} 302 | */ 303 | 304 | /** 305 | * @} 306 | */ 307 | 308 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ 309 | --------------------------------------------------------------------------------