├── Debug ├── checkres.spy ├── debug.ls ├── debug.o ├── functions.ls ├── functions.o ├── gpio.elf ├── gpio.lkf ├── gpio.map ├── gpio.s19 ├── gpio.sm8 ├── main.ls ├── main.o ├── mc_hall.ls ├── mc_hall.o ├── mc_stm8s_clk.ls ├── mc_stm8s_clk.o ├── mc_stm8s_opt.ls ├── mc_stm8s_opt.o ├── mc_stm8s_port.ls ├── mc_stm8s_port.o ├── mc_stm8s_vtimer.ls ├── mc_stm8s_vtimer.o ├── mc_vtimer.ls ├── mc_vtimer.o ├── stm8_interrupt_vector.ls ├── stm8_interrupt_vector.o ├── stm8s_adc1.ls ├── stm8s_adc1.o ├── stm8s_awu.ls ├── stm8s_awu.o ├── stm8s_beep.ls ├── stm8s_beep.o ├── stm8s_clk.ls ├── stm8s_clk.o ├── stm8s_exti.ls ├── stm8s_exti.o ├── stm8s_flash.ls ├── stm8s_flash.o ├── stm8s_gpio.ls ├── stm8s_gpio.o ├── stm8s_i2c.ls ├── stm8s_i2c.o ├── stm8s_it.ls ├── stm8s_it.o └── stm8s_itc.ls ├── FWLIB1.1 └── 1.1.1 │ ├── inc │ ├── stm8s.h │ ├── stm8s_adc1.h │ ├── stm8s_adc2.h │ ├── stm8s_awu.h │ ├── stm8s_beep.h │ ├── stm8s_can.h │ ├── stm8s_clk.h │ ├── stm8s_conf.h │ ├── stm8s_exti.h │ ├── stm8s_flash.h │ ├── stm8s_gpio.h │ ├── stm8s_i2c.h │ ├── stm8s_itc.h │ ├── stm8s_iwdg.h │ ├── stm8s_lib.h │ ├── stm8s_rst.h │ ├── stm8s_spi.h │ ├── stm8s_tim1.h │ ├── stm8s_tim2.h │ ├── stm8s_tim3.h │ ├── stm8s_tim4.h │ ├── stm8s_tim5.h │ ├── stm8s_tim6.h │ ├── stm8s_type.h │ ├── stm8s_uart1.h │ ├── stm8s_uart2.h │ ├── stm8s_uart3.h │ └── stm8s_wwdg.h │ └── src │ ├── stm8s_adc1.c │ ├── stm8s_adc2.c │ ├── stm8s_awu.c │ ├── stm8s_beep.c │ ├── stm8s_can.c │ ├── stm8s_clk.c │ ├── stm8s_exti.c │ ├── stm8s_flash.c │ ├── stm8s_gpio.c │ ├── stm8s_i2c.c │ ├── stm8s_itc.c │ ├── stm8s_iwdg.c │ ├── stm8s_rst.c │ ├── stm8s_spi.c │ ├── stm8s_tim1.c │ ├── stm8s_tim2.c │ ├── stm8s_tim3.c │ └── stm8s_tim4.c ├── GPIO.stw ├── GPIO.wdb ├── GPIO.wed ├── MC_FWLIB_SCALAR └── param │ ├── MC_BLDC_Drive_Param.h │ └── MC_PowerStage_Param.h ├── README.md ├── Release └── gpio.lkf ├── SRC ├── C │ ├── debug.c │ └── functions.c └── H │ ├── debug.h │ └── functions.h ├── STM8_MC_FRAMEWORK ├── inc │ ├── MC_dev_clk.h │ ├── MC_dev_opt.h │ ├── MC_dev_port.h │ ├── MC_dev_vtimer.h │ ├── MC_hall.h │ ├── MC_vtimer.h │ └── dev_type.h ├── param │ ├── MC_stm8s_clk_param.h │ ├── MC_stm8s_hall_param.h │ └── MC_stm8s_port_param.h └── src │ ├── MC_Hall.c │ ├── MC_stm8s_clk.c │ ├── MC_stm8s_opt.c │ ├── MC_stm8s_port.c │ ├── MC_stm8s_vtimer.c │ └── MC_vtimer.c ├── TAGS.txt ├── TAGS_Filelist.txt ├── checkres.spy ├── gpio.dep ├── gpio.mak ├── gpio.pdb ├── gpio.stp ├── gpio_Programmer ├── gpio_STVP.stp └── gpio_STVP_OPTION BYTE.hex ├── gpio_plot_ws.xml ├── main.c ├── stm8_interrupt_vector.c ├── stm8s_it.c ├── stm8s_it.h └── 注.txt /Debug/checkres.spy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/checkres.spy -------------------------------------------------------------------------------- /Debug/debug.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/debug.ls -------------------------------------------------------------------------------- /Debug/debug.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/debug.o -------------------------------------------------------------------------------- /Debug/functions.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/functions.ls -------------------------------------------------------------------------------- /Debug/functions.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/functions.o -------------------------------------------------------------------------------- /Debug/gpio.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/gpio.elf -------------------------------------------------------------------------------- /Debug/gpio.lkf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/gpio.lkf -------------------------------------------------------------------------------- /Debug/gpio.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/gpio.map -------------------------------------------------------------------------------- /Debug/gpio.s19: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/gpio.s19 -------------------------------------------------------------------------------- /Debug/gpio.sm8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/gpio.sm8 -------------------------------------------------------------------------------- /Debug/main.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/main.ls -------------------------------------------------------------------------------- /Debug/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/main.o -------------------------------------------------------------------------------- /Debug/mc_hall.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_hall.ls -------------------------------------------------------------------------------- /Debug/mc_hall.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_hall.o -------------------------------------------------------------------------------- /Debug/mc_stm8s_clk.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_clk.ls -------------------------------------------------------------------------------- /Debug/mc_stm8s_clk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_clk.o -------------------------------------------------------------------------------- /Debug/mc_stm8s_opt.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_opt.ls -------------------------------------------------------------------------------- /Debug/mc_stm8s_opt.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_opt.o -------------------------------------------------------------------------------- /Debug/mc_stm8s_port.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_port.ls -------------------------------------------------------------------------------- /Debug/mc_stm8s_port.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_port.o -------------------------------------------------------------------------------- /Debug/mc_stm8s_vtimer.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_vtimer.ls -------------------------------------------------------------------------------- /Debug/mc_stm8s_vtimer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_stm8s_vtimer.o -------------------------------------------------------------------------------- /Debug/mc_vtimer.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_vtimer.ls -------------------------------------------------------------------------------- /Debug/mc_vtimer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/mc_vtimer.o -------------------------------------------------------------------------------- /Debug/stm8_interrupt_vector.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8_interrupt_vector.ls -------------------------------------------------------------------------------- /Debug/stm8_interrupt_vector.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8_interrupt_vector.o -------------------------------------------------------------------------------- /Debug/stm8s_adc1.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_adc1.ls -------------------------------------------------------------------------------- /Debug/stm8s_adc1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_adc1.o -------------------------------------------------------------------------------- /Debug/stm8s_awu.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_awu.ls -------------------------------------------------------------------------------- /Debug/stm8s_awu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_awu.o -------------------------------------------------------------------------------- /Debug/stm8s_beep.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_beep.ls -------------------------------------------------------------------------------- /Debug/stm8s_beep.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_beep.o -------------------------------------------------------------------------------- /Debug/stm8s_clk.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_clk.ls -------------------------------------------------------------------------------- /Debug/stm8s_clk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_clk.o -------------------------------------------------------------------------------- /Debug/stm8s_exti.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_exti.ls -------------------------------------------------------------------------------- /Debug/stm8s_exti.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_exti.o -------------------------------------------------------------------------------- /Debug/stm8s_flash.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_flash.ls -------------------------------------------------------------------------------- /Debug/stm8s_flash.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_flash.o -------------------------------------------------------------------------------- /Debug/stm8s_gpio.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_gpio.ls -------------------------------------------------------------------------------- /Debug/stm8s_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_gpio.o -------------------------------------------------------------------------------- /Debug/stm8s_i2c.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_i2c.ls -------------------------------------------------------------------------------- /Debug/stm8s_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_i2c.o -------------------------------------------------------------------------------- /Debug/stm8s_it.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_it.ls -------------------------------------------------------------------------------- /Debug/stm8s_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_it.o -------------------------------------------------------------------------------- /Debug/stm8s_itc.ls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Debug/stm8s_itc.ls -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_adc1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_adc1.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_adc2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_adc2.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_awu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_awu.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_beep.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_beep.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_can.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_can.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_clk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_clk.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_conf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_conf.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_exti.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_exti.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_flash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_flash.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_gpio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_gpio.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_i2c.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_i2c.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_itc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_itc.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_iwdg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_iwdg.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_lib.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_rst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_rst.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_spi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_spi.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_tim1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_tim1.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_tim2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_tim2.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_tim3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_tim3.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_tim4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_tim4.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_tim5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_tim5.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_tim6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_tim6.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_type.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_uart1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_uart1.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_uart2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_uart2.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_uart3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_uart3.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/inc/stm8s_wwdg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/inc/stm8s_wwdg.h -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_adc1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_adc1.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_adc2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_adc2.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_awu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_awu.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_beep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_beep.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_can.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_can.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_clk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_clk.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_exti.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_exti.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_flash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_flash.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_gpio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_gpio.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_i2c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_i2c.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_itc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_itc.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_iwdg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_iwdg.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_rst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_rst.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_spi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_spi.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_tim1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_tim1.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_tim2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_tim2.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_tim3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_tim3.c -------------------------------------------------------------------------------- /FWLIB1.1/1.1.1/src/stm8s_tim4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/FWLIB1.1/1.1.1/src/stm8s_tim4.c -------------------------------------------------------------------------------- /GPIO.stw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/GPIO.stw -------------------------------------------------------------------------------- /GPIO.wdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/GPIO.wdb -------------------------------------------------------------------------------- /GPIO.wed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/GPIO.wed -------------------------------------------------------------------------------- /MC_FWLIB_SCALAR/param/MC_BLDC_Drive_Param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/MC_FWLIB_SCALAR/param/MC_BLDC_Drive_Param.h -------------------------------------------------------------------------------- /MC_FWLIB_SCALAR/param/MC_PowerStage_Param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/MC_FWLIB_SCALAR/param/MC_PowerStage_Param.h -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # STM8BLDC-EBIKE 2 | 基于STM8和BLDC驱动的无刷直流电机电动自行车控制器方案设计 3 | -------------------------------------------------------------------------------- /Release/gpio.lkf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/Release/gpio.lkf -------------------------------------------------------------------------------- /SRC/C/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/SRC/C/debug.c -------------------------------------------------------------------------------- /SRC/C/functions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/SRC/C/functions.c -------------------------------------------------------------------------------- /SRC/H/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/SRC/H/debug.h -------------------------------------------------------------------------------- /SRC/H/functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/SRC/H/functions.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/MC_dev_clk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/MC_dev_clk.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/MC_dev_opt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/MC_dev_opt.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/MC_dev_port.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/MC_dev_port.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/MC_dev_vtimer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/MC_dev_vtimer.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/MC_hall.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/MC_hall.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/MC_vtimer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/MC_vtimer.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/inc/dev_type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/inc/dev_type.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/param/MC_stm8s_clk_param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/param/MC_stm8s_clk_param.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/param/MC_stm8s_hall_param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/param/MC_stm8s_hall_param.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/param/MC_stm8s_port_param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/param/MC_stm8s_port_param.h -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/src/MC_Hall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/src/MC_Hall.c -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/src/MC_stm8s_clk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/src/MC_stm8s_clk.c -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/src/MC_stm8s_opt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/src/MC_stm8s_opt.c -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/src/MC_stm8s_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/src/MC_stm8s_port.c -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/src/MC_stm8s_vtimer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/src/MC_stm8s_vtimer.c -------------------------------------------------------------------------------- /STM8_MC_FRAMEWORK/src/MC_vtimer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/STM8_MC_FRAMEWORK/src/MC_vtimer.c -------------------------------------------------------------------------------- /TAGS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/TAGS.txt -------------------------------------------------------------------------------- /TAGS_Filelist.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/TAGS_Filelist.txt -------------------------------------------------------------------------------- /checkres.spy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/checkres.spy -------------------------------------------------------------------------------- /gpio.dep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio.dep -------------------------------------------------------------------------------- /gpio.mak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio.mak -------------------------------------------------------------------------------- /gpio.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio.pdb -------------------------------------------------------------------------------- /gpio.stp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio.stp -------------------------------------------------------------------------------- /gpio_Programmer/gpio_STVP.stp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio_Programmer/gpio_STVP.stp -------------------------------------------------------------------------------- /gpio_Programmer/gpio_STVP_OPTION BYTE.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio_Programmer/gpio_STVP_OPTION BYTE.hex -------------------------------------------------------------------------------- /gpio_plot_ws.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/gpio_plot_ws.xml -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/main.c -------------------------------------------------------------------------------- /stm8_interrupt_vector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/stm8_interrupt_vector.c -------------------------------------------------------------------------------- /stm8s_it.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/stm8s_it.c -------------------------------------------------------------------------------- /stm8s_it.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/stm8s_it.h -------------------------------------------------------------------------------- /注.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rkteddy/STM8BLDC-EBIKE/HEAD/注.txt --------------------------------------------------------------------------------