Improved user buttons experience

Improved interaction with user buttons. The delay in pressing the buttons has decreased.
master
Giuseppe Callipo 2018-07-22 23:06:24 +02:00
rodzic 64db83f499
commit 6bd735d6ab
5 zmienionych plików z 736 dodań i 726 usunięć

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -1308,7 +1308,7 @@ LOAD c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-
0x00000000 __HEAP_SIZE = 0x0 0x00000000 __HEAP_SIZE = 0x0
0x00000100 __STACK_SIZE = 0x100 0x00000100 __STACK_SIZE = 0x100
.text 0x08000000 0x27ac .text 0x08000000 0x27b8
*(.isr_vector) *(.isr_vector)
.isr_vector 0x08000000 0xec obj\release\src\startup_stm32f10x_md.o .isr_vector 0x08000000 0xec obj\release\src\startup_stm32f10x_md.o
0x08000000 __isr_vector 0x08000000 __isr_vector
@ -1444,141 +1444,144 @@ LOAD c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-
.text.decodeFilterStatus .text.decodeFilterStatus
0x08000ab8 0xec obj\release\src\main.o 0x08000ab8 0xec obj\release\src\main.o
0x08000ab8 decodeFilterStatus 0x08000ab8 decodeFilterStatus
.text.chekUserActions
0x08000ba4 0x84 obj\release\src\main.o
0x08000ba4 chekUserActions
.text.startup.main .text.startup.main
0x08000ba4 0xa8 obj\release\src\main.o 0x08000c28 0x30 obj\release\src\main.o
0x08000ba4 main 0x08000c28 main
.text.TIM3_IRQHandler .text.TIM3_IRQHandler
0x08000c4c 0xf0 obj\release\src\main.o 0x08000c58 0xf0 obj\release\src\main.o
0x08000c4c TIM3_IRQHandler 0x08000c58 TIM3_IRQHandler
.text 0x08000d3c 0xb8 obj\release\src\startup_stm32f10x_md.o .text 0x08000d48 0xb8 obj\release\src\startup_stm32f10x_md.o
0x08000d3c Reset_Handler 0x08000d48 Reset_Handler
0x08000d82 NMI_Handler 0x08000d8e NMI_Handler
0x08000d84 HardFault_Handler 0x08000d90 HardFault_Handler
0x08000d86 MemManage_Handler 0x08000d92 MemManage_Handler
0x08000d88 BusFault_Handler 0x08000d94 BusFault_Handler
0x08000d8a UsageFault_Handler 0x08000d96 UsageFault_Handler
0x08000d8c SVC_Handler 0x08000d98 SVC_Handler
0x08000d8e DebugMon_Handler 0x08000d9a DebugMon_Handler
0x08000d90 PendSV_Handler 0x08000d9c PendSV_Handler
0x08000d94 Default_Handler 0x08000da0 Default_Handler
0x08000d96 WWDG_IRQHandler 0x08000da2 WWDG_IRQHandler
0x08000d98 PVD_IRQHandler 0x08000da4 PVD_IRQHandler
0x08000d9a TAMPER_IRQHandler 0x08000da6 TAMPER_IRQHandler
0x08000d9c RTC_IRQHandler 0x08000da8 RTC_IRQHandler
0x08000d9e FLASH_IRQHandler 0x08000daa FLASH_IRQHandler
0x08000da0 RCC_IRQHandler 0x08000dac RCC_IRQHandler
0x08000da2 EXTI0_IRQHandler 0x08000dae EXTI0_IRQHandler
0x08000da4 EXTI1_IRQHandler 0x08000db0 EXTI1_IRQHandler
0x08000da6 EXTI2_IRQHandler 0x08000db2 EXTI2_IRQHandler
0x08000da8 EXTI3_IRQHandler 0x08000db4 EXTI3_IRQHandler
0x08000daa EXTI4_IRQHandler 0x08000db6 EXTI4_IRQHandler
0x08000dac DMA1_Channel1_IRQHandler 0x08000db8 DMA1_Channel1_IRQHandler
0x08000dae DMA1_Channel2_IRQHandler 0x08000dba DMA1_Channel2_IRQHandler
0x08000db0 DMA1_Channel3_IRQHandler 0x08000dbc DMA1_Channel3_IRQHandler
0x08000db2 DMA1_Channel4_IRQHandler 0x08000dbe DMA1_Channel4_IRQHandler
0x08000db4 DMA1_Channel5_IRQHandler 0x08000dc0 DMA1_Channel5_IRQHandler
0x08000db6 DMA1_Channel6_IRQHandler 0x08000dc2 DMA1_Channel6_IRQHandler
0x08000db8 DMA1_Channel7_IRQHandler 0x08000dc4 DMA1_Channel7_IRQHandler
0x08000dba ADC1_2_IRQHandler 0x08000dc6 ADC1_2_IRQHandler
0x08000dbc USB_HP_CAN1_TX_IRQHandler 0x08000dc8 USB_HP_CAN1_TX_IRQHandler
0x08000dbe USB_LP_CAN1_RX0_IRQHandler 0x08000dca USB_LP_CAN1_RX0_IRQHandler
0x08000dc0 CAN1_RX1_IRQHandler 0x08000dcc CAN1_RX1_IRQHandler
0x08000dc2 CAN1_SCE_IRQHandler 0x08000dce CAN1_SCE_IRQHandler
0x08000dc4 EXTI9_5_IRQHandler 0x08000dd0 EXTI9_5_IRQHandler
0x08000dc6 TIM1_BRK_IRQHandler 0x08000dd2 TIM1_BRK_IRQHandler
0x08000dc8 TIM1_UP_IRQHandler 0x08000dd4 TIM1_UP_IRQHandler
0x08000dca TIM1_TRG_COM_IRQHandler 0x08000dd6 TIM1_TRG_COM_IRQHandler
0x08000dcc TIM1_CC_IRQHandler 0x08000dd8 TIM1_CC_IRQHandler
0x08000dce TIM2_IRQHandler 0x08000dda TIM2_IRQHandler
0x08000dd2 TIM4_IRQHandler 0x08000dde TIM4_IRQHandler
0x08000dd4 I2C1_EV_IRQHandler 0x08000de0 I2C1_EV_IRQHandler
0x08000dd6 I2C1_ER_IRQHandler 0x08000de2 I2C1_ER_IRQHandler
0x08000dd8 I2C2_EV_IRQHandler 0x08000de4 I2C2_EV_IRQHandler
0x08000dda I2C2_ER_IRQHandler 0x08000de6 I2C2_ER_IRQHandler
0x08000ddc SPI1_IRQHandler 0x08000de8 SPI1_IRQHandler
0x08000dde SPI2_IRQHandler 0x08000dea SPI2_IRQHandler
0x08000de0 USART1_IRQHandler 0x08000dec USART1_IRQHandler
0x08000de2 USART2_IRQHandler 0x08000dee USART2_IRQHandler
0x08000de4 USART3_IRQHandler 0x08000df0 USART3_IRQHandler
0x08000de6 EXTI15_10_IRQHandler 0x08000df2 EXTI15_10_IRQHandler
0x08000de8 RTCAlarm_IRQHandler 0x08000df4 RTCAlarm_IRQHandler
0x08000dea USBWakeUp_IRQHandler 0x08000df6 USBWakeUp_IRQHandler
.text.SystemInit .text.SystemInit
0x08000df4 0x104 obj\release\src\system_stm32f10x.o 0x08000e00 0x104 obj\release\src\system_stm32f10x.o
0x08000df4 SystemInit 0x08000e00 SystemInit
.text.SystemCoreClockUpdate .text.SystemCoreClockUpdate
0x08000ef8 0x5c obj\release\src\system_stm32f10x.o 0x08000f04 0x5c obj\release\src\system_stm32f10x.o
0x08000ef8 SystemCoreClockUpdate 0x08000f04 SystemCoreClockUpdate
.text.arm_fir_init_f32 .text.arm_fir_init_f32
0x08000f54 0x24 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) 0x08000f60 0x24 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
0x08000f54 arm_fir_init_f32 0x08000f60 arm_fir_init_f32
.text.arm_fir_f32 .text.arm_fir_f32
0x08000f78 0x898 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) 0x08000f84 0x898 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
0x08000f78 arm_fir_f32 0x08000f84 arm_fir_f32
.text 0x08001810 0x370 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_addsubdf3.o) .text 0x0800181c 0x370 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_addsubdf3.o)
0x08001810 __aeabi_drsub 0x0800181c __aeabi_drsub
0x08001818 __aeabi_dsub 0x08001824 __aeabi_dsub
0x08001818 __subdf3 0x08001824 __subdf3
0x0800181c __aeabi_dadd 0x08001828 __aeabi_dadd
0x0800181c __adddf3 0x08001828 __adddf3
0x08001a94 __floatunsidf 0x08001aa0 __floatunsidf
0x08001a94 __aeabi_ui2d 0x08001aa0 __aeabi_ui2d
0x08001ab4 __floatsidf 0x08001ac0 __floatsidf
0x08001ab4 __aeabi_i2d 0x08001ac0 __aeabi_i2d
0x08001ad8 __aeabi_f2d 0x08001ae4 __aeabi_f2d
0x08001ad8 __extendsfdf2 0x08001ae4 __extendsfdf2
0x08001b14 __floatundidf 0x08001b20 __floatundidf
0x08001b14 __aeabi_ul2d 0x08001b20 __aeabi_ul2d
0x08001b24 __floatdidf 0x08001b30 __floatdidf
0x08001b24 __aeabi_l2d 0x08001b30 __aeabi_l2d
.text 0x08001b80 0x424 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_muldivdf3.o) .text 0x08001b8c 0x424 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_muldivdf3.o)
0x08001b80 __aeabi_dmul 0x08001b8c __aeabi_dmul
0x08001b80 __muldf3 0x08001b8c __muldf3
0x08001dd4 __divdf3 0x08001de0 __divdf3
0x08001dd4 __aeabi_ddiv 0x08001de0 __aeabi_ddiv
.text 0x08001fa4 0x40 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_fixunsdfsi.o) .text 0x08001fb0 0x40 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_fixunsdfsi.o)
0x08001fa4 __aeabi_d2uiz 0x08001fb0 __aeabi_d2uiz
0x08001fa4 __fixunsdfsi 0x08001fb0 __fixunsdfsi
.text 0x08001fe4 0xa0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_truncdfsf2.o) .text 0x08001ff0 0xa0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_truncdfsf2.o)
0x08001fe4 __truncdfsf2 0x08001ff0 __truncdfsf2
0x08001fe4 __aeabi_d2f 0x08001ff0 __aeabi_d2f
.text 0x08002084 0x21c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_addsubsf3.o) .text 0x08002090 0x21c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_addsubsf3.o)
0x08002084 __aeabi_frsub 0x08002090 __aeabi_frsub
0x0800208c __subsf3 0x08002098 __subsf3
0x0800208c __aeabi_fsub 0x08002098 __aeabi_fsub
0x08002090 __aeabi_fadd 0x0800209c __aeabi_fadd
0x08002090 __addsf3 0x0800209c __addsf3
0x080021f0 __aeabi_ui2f 0x080021fc __aeabi_ui2f
0x080021f0 __floatunsisf 0x080021fc __floatunsisf
0x080021f8 __aeabi_i2f 0x08002204 __aeabi_i2f
0x080021f8 __floatsisf 0x08002204 __floatsisf
0x08002214 __aeabi_ul2f 0x08002220 __aeabi_ul2f
0x08002214 __floatundisf 0x08002220 __floatundisf
0x08002224 __aeabi_l2f 0x08002230 __aeabi_l2f
0x08002224 __floatdisf 0x08002230 __floatdisf
.text 0x080022a0 0x2a0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_muldivsf3.o) .text 0x080022ac 0x2a0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m\libgcc.a(_arm_muldivsf3.o)
0x080022a0 __mulsf3 0x080022ac __mulsf3
0x080022a0 __aeabi_fmul 0x080022ac __aeabi_fmul
0x08002408 __aeabi_fdiv 0x08002414 __aeabi_fdiv
0x08002408 __divsf3 0x08002414 __divsf3
.text.exit 0x08002540 0x28 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-exit.o) .text.exit 0x0800254c 0x28 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-exit.o)
0x08002540 exit 0x0800254c exit
.text.__libc_init_array .text.__libc_init_array
0x08002568 0x4c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-init.o) 0x08002574 0x4c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-init.o)
0x08002568 __libc_init_array 0x08002574 __libc_init_array
.text.memset 0x080025b4 0x10 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-memset.o) .text.memset 0x080025c0 0x10 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-memset.o)
0x080025b4 memset 0x080025c0 memset
.text._exit 0x080025c4 0x2 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libnosys_s.a(_exit.o) .text._exit 0x080025d0 0x2 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libnosys_s.a(_exit.o)
0x080025c4 _exit 0x080025d0 _exit
*(.init) *(.init)
*fill* 0x080025c6 0x2 *fill* 0x080025d2 0x2
.init 0x080025c8 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crti.o .init 0x080025d4 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crti.o
0x080025c8 _init 0x080025d4 _init
.init 0x080025cc 0x8 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtn.o .init 0x080025d8 0x8 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtn.o
*(.fini) *(.fini)
.fini 0x080025d4 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crti.o .fini 0x080025e0 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crti.o
0x080025d4 _fini 0x080025e0 _fini
.fini 0x080025d8 0x8 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtn.o .fini 0x080025e4 0x8 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtn.o
*crtbegin.o(.ctors) *crtbegin.o(.ctors)
*crtbegin?.o(.ctors) *crtbegin?.o(.ctors)
*(EXCLUDE_FILE(*crtend.o *crtend?.o) .ctors) *(EXCLUDE_FILE(*crtend.o *crtend?.o) .ctors)
@ -1591,56 +1594,56 @@ LOAD c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-
*(.dtors) *(.dtors)
*(.rodata*) *(.rodata*)
.rodata.firCoeffs32 .rodata.firCoeffs32
0x080025e0 0x2c obj\release\src\filter_cmsis.o 0x080025ec 0x2c obj\release\src\filter_cmsis.o
0x080025e0 firCoeffs32 0x080025ec firCoeffs32
.rodata.firCoeffs32_2 .rodata.firCoeffs32_2
0x0800260c 0x24 obj\release\src\filter_cmsis2.o 0x08002618 0x24 obj\release\src\filter_cmsis2.o
0x0800260c firCoeffs32_2 0x08002618 firCoeffs32_2
.rodata.firCoeffs32_cw_nar .rodata.firCoeffs32_cw_nar
0x08002630 0xcc obj\release\src\filter_cmsis_cw_nar.o 0x0800263c 0xcc obj\release\src\filter_cmsis_cw_nar.o
0x08002630 firCoeffs32_cw_nar 0x0800263c firCoeffs32_cw_nar
.rodata.firCoeffs32_cw_nar2 .rodata.firCoeffs32_cw_nar2
0x080026fc 0xa4 obj\release\src\filter_cmsis_cw_nar2.o 0x08002708 0xa4 obj\release\src\filter_cmsis_cw_nar2.o
0x080026fc firCoeffs32_cw_nar2 0x08002708 firCoeffs32_cw_nar2
.rodata.str1.1 .rodata.str1.1
0x080027a0 0x2 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-impure.o) 0x080027ac 0x2 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-impure.o)
*fill* 0x080027a2 0x2 *fill* 0x080027ae 0x2
.rodata._global_impure_ptr .rodata._global_impure_ptr
0x080027a4 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-impure.o) 0x080027b0 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-impure.o)
0x080027a4 _global_impure_ptr 0x080027b0 _global_impure_ptr
*(.eh_frame*) *(.eh_frame*)
.eh_frame 0x080027a8 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o .eh_frame 0x080027b4 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o
.eh_frame 0x080027a8 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtend.o .eh_frame 0x080027b4 0x4 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtend.o
.glue_7 0x080027ac 0x0 .glue_7 0x080027b8 0x0
.glue_7 0x080027ac 0x0 linker stubs .glue_7 0x080027b8 0x0 linker stubs
.glue_7t 0x080027ac 0x0 .glue_7t 0x080027b8 0x0
.glue_7t 0x080027ac 0x0 linker stubs .glue_7t 0x080027b8 0x0 linker stubs
.vfp11_veneer 0x080027ac 0x0 .vfp11_veneer 0x080027b8 0x0
.vfp11_veneer 0x080027ac 0x0 linker stubs .vfp11_veneer 0x080027b8 0x0 linker stubs
.v4_bx 0x080027ac 0x0 .v4_bx 0x080027b8 0x0
.v4_bx 0x080027ac 0x0 linker stubs .v4_bx 0x080027b8 0x0 linker stubs
.iplt 0x080027ac 0x0 .iplt 0x080027b8 0x0
.iplt 0x080027ac 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o .iplt 0x080027b8 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o
.ARM.extab .ARM.extab
*(.ARM.extab* .gnu.linkonce.armextab.*) *(.ARM.extab* .gnu.linkonce.armextab.*)
0x080027ac __exidx_start = . 0x080027b8 __exidx_start = .
.ARM.exidx 0x080027ac 0x8 .ARM.exidx 0x080027b8 0x8
*(.ARM.exidx* .gnu.linkonce.armexidx.*) *(.ARM.exidx* .gnu.linkonce.armexidx.*)
.ARM.exidx 0x080027ac 0x8 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m/crt0.o .ARM.exidx 0x080027b8 0x8 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m/crt0.o
0x080027b4 __exidx_end = . 0x080027c0 __exidx_end = .
0x080027b4 __etext = . 0x080027c0 __etext = .
.rel.dyn 0x080027b4 0x0 .rel.dyn 0x080027c0 0x0
.rel.iplt 0x080027b4 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o .rel.iplt 0x080027c0 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o
.data 0x20000000 0x7c load address 0x080027b4 .data 0x20000000 0x7c load address 0x080027c0
0x20000000 __data_start__ = . 0x20000000 __data_start__ = .
*(vtable) *(vtable)
*(.data*) *(.data*)
@ -1671,13 +1674,13 @@ LOAD c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-
0x2000007c . = ALIGN (0x4) 0x2000007c . = ALIGN (0x4)
0x2000007c __data_end__ = . 0x2000007c __data_end__ = .
.jcr 0x2000007c 0x0 load address 0x08002830 .jcr 0x2000007c 0x0 load address 0x0800283c
.jcr 0x2000007c 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o .jcr 0x2000007c 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o
.igot.plt 0x2000007c 0x0 load address 0x08002830 .igot.plt 0x2000007c 0x0 load address 0x0800283c
.igot.plt 0x2000007c 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o .igot.plt 0x2000007c 0x0 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o
.bss 0x2000007c 0x28c load address 0x08002830 .bss 0x2000007c 0x28c load address 0x0800283c
0x2000007c __bss_start__ = . 0x2000007c __bss_start__ = .
*(.bss*) *(.bss*)
.bss 0x2000007c 0x1c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o .bss 0x2000007c 0x1c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7-m/crtbegin.o
@ -1883,7 +1886,7 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
0x71 (size before relaxing) 0x71 (size before relaxing)
.comment 0x000000de 0x71 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .comment 0x000000de 0x71 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_info 0x00000000 0x74bc .debug_info 0x00000000 0x74de
.debug_info 0x00000000 0x560 obj\release\spl\src\misc.o .debug_info 0x00000000 0x560 obj\release\spl\src\misc.o
.debug_info 0x00000560 0xc2b obj\release\spl\src\stm32f10x_adc.o .debug_info 0x00000560 0xc2b obj\release\spl\src\stm32f10x_adc.o
.debug_info 0x0000118b 0x891 obj\release\spl\src\stm32f10x_gpio.o .debug_info 0x0000118b 0x891 obj\release\spl\src\stm32f10x_gpio.o
@ -1895,13 +1898,13 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_info 0x00004d69 0x23f obj\release\src\filter_cmsis_cw_nar2.o .debug_info 0x00004d69 0x23f obj\release\src\filter_cmsis_cw_nar2.o
.debug_info 0x00004fa8 0x1a2 obj\release\src\filter_noise_reduction.o .debug_info 0x00004fa8 0x1a2 obj\release\src\filter_noise_reduction.o
.debug_info 0x0000514a 0x111b obj\release\src\io_routines.o .debug_info 0x0000514a 0x111b obj\release\src\io_routines.o
.debug_info 0x00006265 0x801 obj\release\src\main.o .debug_info 0x00006265 0x823 obj\release\src\main.o
.debug_info 0x00006a66 0x59 obj\release\src\startup_stm32f10x_md.o .debug_info 0x00006a88 0x59 obj\release\src\startup_stm32f10x_md.o
.debug_info 0x00006abf 0x4c8 obj\release\src\system_stm32f10x.o .debug_info 0x00006ae1 0x4c8 obj\release\src\system_stm32f10x.o
.debug_info 0x00006f87 0x1b1 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_info 0x00006fa9 0x1b1 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_info 0x00007138 0x384 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_info 0x0000715a 0x384 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_abbrev 0x00000000 0x17c1 .debug_abbrev 0x00000000 0x17f0
.debug_abbrev 0x00000000 0x158 obj\release\spl\src\misc.o .debug_abbrev 0x00000000 0x158 obj\release\spl\src\misc.o
.debug_abbrev 0x00000158 0x1e8 obj\release\spl\src\stm32f10x_adc.o .debug_abbrev 0x00000158 0x1e8 obj\release\spl\src\stm32f10x_adc.o
.debug_abbrev 0x00000340 0x202 obj\release\spl\src\stm32f10x_gpio.o .debug_abbrev 0x00000340 0x202 obj\release\spl\src\stm32f10x_gpio.o
@ -1913,11 +1916,11 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_abbrev 0x00000e18 0x136 obj\release\src\filter_cmsis_cw_nar2.o .debug_abbrev 0x00000e18 0x136 obj\release\src\filter_cmsis_cw_nar2.o
.debug_abbrev 0x00000f4e 0xf3 obj\release\src\filter_noise_reduction.o .debug_abbrev 0x00000f4e 0xf3 obj\release\src\filter_noise_reduction.o
.debug_abbrev 0x00001041 0x2ff obj\release\src\io_routines.o .debug_abbrev 0x00001041 0x2ff obj\release\src\io_routines.o
.debug_abbrev 0x00001340 0x14d obj\release\src\main.o .debug_abbrev 0x00001340 0x17c obj\release\src\main.o
.debug_abbrev 0x0000148d 0x14 obj\release\src\startup_stm32f10x_md.o .debug_abbrev 0x000014bc 0x14 obj\release\src\startup_stm32f10x_md.o
.debug_abbrev 0x000014a1 0x170 obj\release\src\system_stm32f10x.o .debug_abbrev 0x000014d0 0x170 obj\release\src\system_stm32f10x.o
.debug_abbrev 0x00001611 0xe8 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_abbrev 0x00001640 0xe8 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_abbrev 0x000016f9 0xc8 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_abbrev 0x00001728 0xc8 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_loc 0x00000000 0x510b .debug_loc 0x00000000 0x510b
.debug_loc 0x00000000 0x193 obj\release\spl\src\misc.o .debug_loc 0x00000000 0x193 obj\release\spl\src\misc.o
@ -1936,7 +1939,7 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_loc 0x000039f5 0xb6 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_loc 0x000039f5 0xb6 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_loc 0x00003aab 0x1660 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_loc 0x00003aab 0x1660 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_aranges 0x00000000 0x800 .debug_aranges 0x00000000 0x808
.debug_aranges .debug_aranges
0x00000000 0x40 obj\release\spl\src\misc.o 0x00000000 0x40 obj\release\spl\src\misc.o
.debug_aranges .debug_aranges
@ -1960,17 +1963,17 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_aranges .debug_aranges
0x000006d0 0x70 obj\release\src\io_routines.o 0x000006d0 0x70 obj\release\src\io_routines.o
.debug_aranges .debug_aranges
0x00000740 0x38 obj\release\src\main.o 0x00000740 0x40 obj\release\src\main.o
.debug_aranges .debug_aranges
0x00000778 0x20 obj\release\src\startup_stm32f10x_md.o 0x00000780 0x20 obj\release\src\startup_stm32f10x_md.o
.debug_aranges .debug_aranges
0x00000798 0x28 obj\release\src\system_stm32f10x.o 0x000007a0 0x28 obj\release\src\system_stm32f10x.o
.debug_aranges .debug_aranges
0x000007c0 0x20 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) 0x000007c8 0x20 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_aranges .debug_aranges
0x000007e0 0x20 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) 0x000007e8 0x20 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_ranges 0x00000000 0x888 .debug_ranges 0x00000000 0x890
.debug_ranges 0x00000000 0x30 obj\release\spl\src\misc.o .debug_ranges 0x00000000 0x30 obj\release\spl\src\misc.o
.debug_ranges 0x00000030 0x128 obj\release\spl\src\stm32f10x_adc.o .debug_ranges 0x00000030 0x128 obj\release\spl\src\stm32f10x_adc.o
.debug_ranges 0x00000158 0x98 obj\release\spl\src\stm32f10x_gpio.o .debug_ranges 0x00000158 0x98 obj\release\spl\src\stm32f10x_gpio.o
@ -1982,12 +1985,12 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_ranges 0x00000738 0x18 obj\release\src\filter_cmsis_cw_nar2.o .debug_ranges 0x00000738 0x18 obj\release\src\filter_cmsis_cw_nar2.o
.debug_ranges 0x00000750 0x18 obj\release\src\filter_noise_reduction.o .debug_ranges 0x00000750 0x18 obj\release\src\filter_noise_reduction.o
.debug_ranges 0x00000768 0x98 obj\release\src\io_routines.o .debug_ranges 0x00000768 0x98 obj\release\src\io_routines.o
.debug_ranges 0x00000800 0x28 obj\release\src\main.o .debug_ranges 0x00000800 0x30 obj\release\src\main.o
.debug_ranges 0x00000828 0x40 obj\release\src\system_stm32f10x.o .debug_ranges 0x00000830 0x40 obj\release\src\system_stm32f10x.o
.debug_ranges 0x00000868 0x10 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_ranges 0x00000870 0x10 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_ranges 0x00000878 0x10 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_ranges 0x00000880 0x10 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_line 0x00000000 0x309f .debug_line 0x00000000 0x30b0
.debug_line 0x00000000 0x1ae obj\release\spl\src\misc.o .debug_line 0x00000000 0x1ae obj\release\spl\src\misc.o
.debug_line 0x000001ae 0x4ac obj\release\spl\src\stm32f10x_adc.o .debug_line 0x000001ae 0x4ac obj\release\spl\src\stm32f10x_adc.o
.debug_line 0x0000065a 0x357 obj\release\spl\src\stm32f10x_gpio.o .debug_line 0x0000065a 0x357 obj\release\spl\src\stm32f10x_gpio.o
@ -1999,13 +2002,13 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_line 0x00001dfd 0x170 obj\release\src\filter_cmsis_cw_nar2.o .debug_line 0x00001dfd 0x170 obj\release\src\filter_cmsis_cw_nar2.o
.debug_line 0x00001f6d 0x165 obj\release\src\filter_noise_reduction.o .debug_line 0x00001f6d 0x165 obj\release\src\filter_noise_reduction.o
.debug_line 0x000020d2 0x329 obj\release\src\io_routines.o .debug_line 0x000020d2 0x329 obj\release\src\io_routines.o
.debug_line 0x000023fb 0x2d7 obj\release\src\main.o .debug_line 0x000023fb 0x2e8 obj\release\src\main.o
.debug_line 0x000026d2 0xa8 obj\release\src\startup_stm32f10x_md.o .debug_line 0x000026e3 0xa8 obj\release\src\startup_stm32f10x_md.o
.debug_line 0x0000277a 0x1b1 obj\release\src\system_stm32f10x.o .debug_line 0x0000278b 0x1b1 obj\release\src\system_stm32f10x.o
.debug_line 0x0000292b 0x14b ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_line 0x0000293c 0x14b ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_line 0x00002a76 0x629 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_line 0x00002a87 0x629 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_str 0x00000000 0x2495 .debug_str 0x00000000 0x24a5
.debug_str 0x00000000 0x396 obj\release\spl\src\misc.o .debug_str 0x00000000 0x396 obj\release\spl\src\misc.o
0x3ea (size before relaxing) 0x3ea (size before relaxing)
.debug_str 0x00000396 0x54a obj\release\spl\src\stm32f10x_adc.o .debug_str 0x00000396 0x54a obj\release\spl\src\stm32f10x_adc.o
@ -2028,16 +2031,16 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
0x205 (size before relaxing) 0x205 (size before relaxing)
.debug_str 0x00001dd8 0x3b9 obj\release\src\io_routines.o .debug_str 0x00001dd8 0x3b9 obj\release\src\io_routines.o
0xc07 (size before relaxing) 0xc07 (size before relaxing)
.debug_str 0x00002191 0x11c obj\release\src\main.o .debug_str 0x00002191 0x12c obj\release\src\main.o
0x59e (size before relaxing) 0x5ae (size before relaxing)
.debug_str 0x000022ad 0x62 obj\release\src\system_stm32f10x.o .debug_str 0x000022bd 0x62 obj\release\src\system_stm32f10x.o
0x318 (size before relaxing) 0x318 (size before relaxing)
.debug_str 0x0000230f 0x116 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_str 0x0000231f 0x116 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
0x230 (size before relaxing) 0x230 (size before relaxing)
.debug_str 0x00002425 0x70 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_str 0x00002435 0x70 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
0x26b (size before relaxing) 0x26b (size before relaxing)
.debug_frame 0x00000000 0x12c4 .debug_frame 0x00000000 0x12e8
.debug_frame 0x00000000 0x6c obj\release\spl\src\misc.o .debug_frame 0x00000000 0x6c obj\release\spl\src\misc.o
.debug_frame 0x0000006c 0x2c0 obj\release\spl\src\stm32f10x_adc.o .debug_frame 0x0000006c 0x2c0 obj\release\spl\src\stm32f10x_adc.o
.debug_frame 0x0000032c 0x1b0 obj\release\spl\src\stm32f10x_gpio.o .debug_frame 0x0000032c 0x1b0 obj\release\spl\src\stm32f10x_gpio.o
@ -2049,11 +2052,11 @@ OUTPUT(bin\Release\RadioDSP_Fast.elf elf32-littlearm)
.debug_frame 0x00000f30 0x48 obj\release\src\filter_cmsis_cw_nar2.o .debug_frame 0x00000f30 0x48 obj\release\src\filter_cmsis_cw_nar2.o
.debug_frame 0x00000f78 0x4c obj\release\src\filter_noise_reduction.o .debug_frame 0x00000f78 0x4c obj\release\src\filter_noise_reduction.o
.debug_frame 0x00000fc4 0x120 obj\release\src\io_routines.o .debug_frame 0x00000fc4 0x120 obj\release\src\io_routines.o
.debug_frame 0x000010e4 0x94 obj\release\src\main.o .debug_frame 0x000010e4 0xb8 obj\release\src\main.o
.debug_frame 0x00001178 0x48 obj\release\src\system_stm32f10x.o .debug_frame 0x0000119c 0x48 obj\release\src\system_stm32f10x.o
.debug_frame 0x000011c0 0x2c ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o) .debug_frame 0x000011e4 0x2c ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_init_f32.o)
.debug_frame 0x000011ec 0x44 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o) .debug_frame 0x00001210 0x44 ..\CMSIS-4.5.0\CMSIS-4.5.0\CMSIS\Lib\GCC\libarm_cortexM3l_math.a(arm_fir_f32.o)
.debug_frame 0x00001230 0x28 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-exit.o) .debug_frame 0x00001254 0x28 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-exit.o)
.debug_frame 0x00001258 0x2c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-init.o) .debug_frame 0x0000127c 0x2c c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-init.o)
.debug_frame 0x00001284 0x20 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-memset.o) .debug_frame 0x000012a8 0x20 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libg_n.a(lib_a-memset.o)
.debug_frame 0x000012a4 0x20 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libnosys_s.a(_exit.o) .debug_frame 0x000012c8 0x20 c:/program files (x86)/embitz/1.11/share/em_armgcc/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7-m\libnosys_s.a(_exit.o)

Wyświetl plik

@ -127,7 +127,6 @@ uint16_t ADC_Read()
* IO BUTTON AND LED SETUP * IO BUTTON AND LED SETUP
* *
********************************************************************/ ********************************************************************/
void GPIO_Setup() void GPIO_Setup()
{ {
GPIO_InitTypeDef GPIO_InitStruct; GPIO_InitTypeDef GPIO_InitStruct;

Wyświetl plik

@ -79,9 +79,9 @@ volatile uint16_t sel_filter_3 = 0;
void blinkDiode(){ void blinkDiode(){
GPIO_ResetBits(GPIOC, GPIO_Pin_13); GPIO_ResetBits(GPIOC, GPIO_Pin_13);
DelayMs(80); DelayMs(30);
GPIO_SetBits(GPIOC, GPIO_Pin_13); GPIO_SetBits(GPIOC, GPIO_Pin_13);
DelayMs(80); DelayMs(30);
} }
void decodeFilterStatus (){ void decodeFilterStatus (){
@ -140,25 +140,9 @@ void decodeFilterStatus (){
} }
int main(void) void chekUserActions(){
{
// Initialize delay function
DelayInit();
// Initialize ADC, PWM, and GPIO // Read input switch (active low)
ADC_Setup();
PWM_Setup();
GPIO_Setup();
init_firFilter1_cmsis();
init_firFilter2_cmsis();
init_firFilter1_cmsis_cw_nar();
init_firFilter2_cmsis_cw_nar();
while (1)
{
// Read input switch (active low)
sel_filter_0 = GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_12); sel_filter_0 = GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_12);
sel_filter_1 = GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_13); sel_filter_1 = GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_13);
sel_filter_2 = GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_14); sel_filter_2 = GPIO_ReadInputDataBit(GPIOB, GPIO_Pin_14);
@ -178,8 +162,30 @@ int main(void)
GPIO_SetBits(GPIOC, GPIO_Pin_13); GPIO_SetBits(GPIOC, GPIO_Pin_13);
} }
}
int main(void)
{
// Initialize delay function
DelayInit();
// Initialize ADC, PWM, and GPIO
ADC_Setup();
PWM_Setup();
GPIO_Setup();
init_firFilter1_cmsis();
init_firFilter2_cmsis();
init_firFilter1_cmsis_cw_nar();
init_firFilter2_cmsis_cw_nar();
while (1)
{
chekUserActions();
// Hihh delay for debounce // Hihh delay for debounce
DelayMs(50); DelayMs(10);
} }
} }
@ -188,6 +194,7 @@ int main(void)
// Checks whether the TIM3 interrupt has occurred or not // Checks whether the TIM3 interrupt has occurred or not
if (TIM_GetITStatus(TIM3, TIM_IT_Update)) if (TIM_GetITStatus(TIM3, TIM_IT_Update))
{ {
// Read ADC value downsize to 10 bit (10-bit PWM) // Read ADC value downsize to 10 bit (10-bit PWM)
adcValue = ADC_Read() >> 2; adcValue = ADC_Read() >> 2;
adcValueF = inputConvert(adcValue); adcValueF = inputConvert(adcValue);