├── .mxproject ├── Drivers ├── CMSIS │ ├── DSP_Lib │ │ └── Source │ │ │ ├── BasicMathFunctions │ │ │ ├── arm_abs_f32.c │ │ │ ├── arm_abs_q15.c │ │ │ ├── arm_abs_q31.c │ │ │ ├── arm_abs_q7.c │ │ │ ├── arm_add_f32.c │ │ │ ├── arm_add_q15.c │ │ │ ├── arm_add_q31.c │ │ │ ├── arm_add_q7.c │ │ │ ├── arm_dot_prod_f32.c │ │ │ ├── arm_dot_prod_q15.c │ │ │ ├── arm_dot_prod_q31.c │ │ │ ├── arm_dot_prod_q7.c │ │ │ ├── arm_mult_f32.c │ │ │ ├── arm_mult_q15.c │ │ │ ├── arm_mult_q31.c │ │ │ ├── arm_mult_q7.c │ │ │ ├── arm_negate_f32.c │ │ │ ├── arm_negate_q15.c │ │ │ ├── arm_negate_q31.c │ │ │ ├── arm_negate_q7.c │ │ │ ├── arm_offset_f32.c │ │ │ ├── arm_offset_q15.c │ │ │ ├── arm_offset_q31.c │ │ │ ├── arm_offset_q7.c │ │ │ ├── arm_scale_f32.c │ │ │ ├── arm_scale_q15.c │ │ │ ├── arm_scale_q31.c │ │ │ ├── arm_scale_q7.c │ │ │ ├── arm_shift_q15.c │ │ │ ├── arm_shift_q31.c │ │ │ ├── arm_shift_q7.c │ │ │ ├── arm_sub_f32.c │ │ │ ├── arm_sub_q15.c │ │ │ ├── arm_sub_q31.c │ │ │ └── arm_sub_q7.c │ │ │ ├── CommonTables │ │ │ ├── arm_common_tables.c │ │ │ └── arm_const_structs.c │ │ │ ├── ComplexMathFunctions │ │ │ ├── arm_cmplx_conj_f32.c │ │ │ ├── arm_cmplx_conj_q15.c │ │ │ ├── arm_cmplx_conj_q31.c │ │ │ ├── arm_cmplx_dot_prod_f32.c │ │ │ ├── arm_cmplx_dot_prod_q15.c │ │ │ ├── arm_cmplx_dot_prod_q31.c │ │ │ ├── arm_cmplx_mag_f32.c │ │ │ ├── arm_cmplx_mag_q15.c │ │ │ ├── arm_cmplx_mag_q31.c │ │ │ ├── arm_cmplx_mag_squared_f32.c │ │ │ ├── arm_cmplx_mag_squared_q15.c │ │ │ ├── arm_cmplx_mag_squared_q31.c │ │ │ ├── arm_cmplx_mult_cmplx_f32.c │ │ │ ├── arm_cmplx_mult_cmplx_q15.c │ │ │ ├── arm_cmplx_mult_cmplx_q31.c │ │ │ ├── arm_cmplx_mult_real_f32.c │ │ │ ├── arm_cmplx_mult_real_q15.c │ │ │ └── arm_cmplx_mult_real_q31.c │ │ │ ├── ControllerFunctions │ │ │ ├── arm_pid_init_f32.c │ │ │ ├── arm_pid_init_q15.c │ │ │ ├── arm_pid_init_q31.c │ │ │ ├── arm_pid_reset_f32.c │ │ │ ├── arm_pid_reset_q15.c │ │ │ ├── arm_pid_reset_q31.c │ │ │ ├── arm_sin_cos_f32.c │ │ │ └── arm_sin_cos_q31.c │ │ │ ├── FastMathFunctions │ │ │ ├── arm_cos_f32.c │ │ │ ├── arm_cos_q15.c │ │ │ ├── arm_cos_q31.c │ │ │ ├── arm_sin_f32.c │ │ │ ├── arm_sin_q15.c │ │ │ ├── arm_sin_q31.c │ │ │ ├── arm_sqrt_q15.c │ │ │ └── arm_sqrt_q31.c │ │ │ ├── FilteringFunctions │ │ │ ├── arm_biquad_cascade_df1_32x64_init_q31.c │ │ │ ├── arm_biquad_cascade_df1_32x64_q31.c │ │ │ ├── arm_biquad_cascade_df1_f32.c │ │ │ ├── arm_biquad_cascade_df1_fast_q15.c │ │ │ ├── arm_biquad_cascade_df1_fast_q31.c │ │ │ ├── arm_biquad_cascade_df1_init_f32.c │ │ │ ├── arm_biquad_cascade_df1_init_q15.c │ │ │ ├── arm_biquad_cascade_df1_init_q31.c │ │ │ ├── arm_biquad_cascade_df1_q15.c │ │ │ ├── arm_biquad_cascade_df1_q31.c │ │ │ ├── arm_biquad_cascade_df2T_f32.c │ │ │ ├── arm_biquad_cascade_df2T_f64.c │ │ │ ├── arm_biquad_cascade_df2T_init_f32.c │ │ │ ├── arm_biquad_cascade_df2T_init_f64.c │ │ │ ├── arm_biquad_cascade_stereo_df2T_f32.c │ │ │ ├── arm_biquad_cascade_stereo_df2T_init_f32.c │ │ │ ├── arm_conv_f32.c │ │ │ ├── arm_conv_fast_opt_q15.c │ │ │ ├── arm_conv_fast_q15.c │ │ │ ├── arm_conv_fast_q31.c │ │ │ ├── arm_conv_opt_q15.c │ │ │ ├── arm_conv_opt_q7.c │ │ │ ├── arm_conv_partial_f32.c │ │ │ ├── arm_conv_partial_fast_opt_q15.c │ │ │ ├── arm_conv_partial_fast_q15.c │ │ │ ├── arm_conv_partial_fast_q31.c │ │ │ ├── arm_conv_partial_opt_q15.c │ │ │ ├── arm_conv_partial_opt_q7.c │ │ │ ├── arm_conv_partial_q15.c │ │ │ ├── arm_conv_partial_q31.c │ │ │ ├── arm_conv_partial_q7.c │ │ │ ├── arm_conv_q15.c │ │ │ ├── arm_conv_q31.c │ │ │ ├── arm_conv_q7.c │ │ │ ├── arm_correlate_f32.c │ │ │ ├── arm_correlate_fast_opt_q15.c │ │ │ ├── arm_correlate_fast_q15.c │ │ │ ├── arm_correlate_fast_q31.c │ │ │ ├── arm_correlate_opt_q15.c │ │ │ ├── arm_correlate_opt_q7.c │ │ │ ├── arm_correlate_q15.c │ │ │ ├── arm_correlate_q31.c │ │ │ ├── arm_correlate_q7.c │ │ │ ├── arm_fir_decimate_f32.c │ │ │ ├── arm_fir_decimate_fast_q15.c │ │ │ ├── arm_fir_decimate_fast_q31.c │ │ │ ├── arm_fir_decimate_init_f32.c │ │ │ ├── arm_fir_decimate_init_q15.c │ │ │ ├── arm_fir_decimate_init_q31.c │ │ │ ├── arm_fir_decimate_q15.c │ │ │ ├── arm_fir_decimate_q31.c │ │ │ ├── arm_fir_f32.c │ │ │ ├── arm_fir_fast_q15.c │ │ │ ├── arm_fir_fast_q31.c │ │ │ ├── arm_fir_init_f32.c │ │ │ ├── arm_fir_init_q15.c │ │ │ ├── arm_fir_init_q31.c │ │ │ ├── arm_fir_init_q7.c │ │ │ ├── arm_fir_interpolate_f32.c │ │ │ ├── arm_fir_interpolate_init_f32.c │ │ │ ├── arm_fir_interpolate_init_q15.c │ │ │ ├── arm_fir_interpolate_init_q31.c │ │ │ ├── arm_fir_interpolate_q15.c │ │ │ ├── arm_fir_interpolate_q31.c │ │ │ ├── arm_fir_lattice_f32.c │ │ │ ├── arm_fir_lattice_init_f32.c │ │ │ ├── arm_fir_lattice_init_q15.c │ │ │ ├── arm_fir_lattice_init_q31.c │ │ │ ├── arm_fir_lattice_q15.c │ │ │ ├── arm_fir_lattice_q31.c │ │ │ ├── arm_fir_q15.c │ │ │ ├── arm_fir_q31.c │ │ │ ├── arm_fir_q7.c │ │ │ ├── arm_fir_sparse_f32.c │ │ │ ├── arm_fir_sparse_init_f32.c │ │ │ ├── arm_fir_sparse_init_q15.c │ │ │ ├── arm_fir_sparse_init_q31.c │ │ │ ├── arm_fir_sparse_init_q7.c │ │ │ ├── arm_fir_sparse_q15.c │ │ │ ├── arm_fir_sparse_q31.c │ │ │ ├── arm_fir_sparse_q7.c │ │ │ ├── arm_iir_lattice_f32.c │ │ │ ├── arm_iir_lattice_init_f32.c │ │ │ ├── arm_iir_lattice_init_q15.c │ │ │ ├── arm_iir_lattice_init_q31.c │ │ │ ├── arm_iir_lattice_q15.c │ │ │ ├── arm_iir_lattice_q31.c │ │ │ ├── arm_lms_f32.c │ │ │ ├── arm_lms_init_f32.c │ │ │ ├── arm_lms_init_q15.c │ │ │ ├── arm_lms_init_q31.c │ │ │ ├── arm_lms_norm_f32.c │ │ │ ├── arm_lms_norm_init_f32.c │ │ │ ├── arm_lms_norm_init_q15.c │ │ │ ├── arm_lms_norm_init_q31.c │ │ │ ├── arm_lms_norm_q15.c │ │ │ ├── arm_lms_norm_q31.c │ │ │ ├── arm_lms_q15.c │ │ │ └── arm_lms_q31.c │ │ │ ├── MatrixFunctions │ │ │ ├── arm_mat_add_f32.c │ │ │ ├── arm_mat_add_q15.c │ │ │ ├── arm_mat_add_q31.c │ │ │ ├── arm_mat_cmplx_mult_f32.c │ │ │ ├── arm_mat_cmplx_mult_q15.c │ │ │ ├── arm_mat_cmplx_mult_q31.c │ │ │ ├── arm_mat_init_f32.c │ │ │ ├── arm_mat_init_q15.c │ │ │ ├── arm_mat_init_q31.c │ │ │ ├── arm_mat_inverse_f32.c │ │ │ ├── arm_mat_inverse_f64.c │ │ │ ├── arm_mat_mult_f32.c │ │ │ ├── arm_mat_mult_fast_q15.c │ │ │ ├── arm_mat_mult_fast_q31.c │ │ │ ├── arm_mat_mult_q15.c │ │ │ ├── arm_mat_mult_q31.c │ │ │ ├── arm_mat_scale_f32.c │ │ │ ├── arm_mat_scale_q15.c │ │ │ ├── arm_mat_scale_q31.c │ │ │ ├── arm_mat_sub_f32.c │ │ │ ├── arm_mat_sub_q15.c │ │ │ ├── arm_mat_sub_q31.c │ │ │ ├── arm_mat_trans_f32.c │ │ │ ├── arm_mat_trans_q15.c │ │ │ └── arm_mat_trans_q31.c │ │ │ ├── StatisticsFunctions │ │ │ ├── arm_max_f32.c │ │ │ ├── arm_max_q15.c │ │ │ ├── arm_max_q31.c │ │ │ ├── arm_max_q7.c │ │ │ ├── arm_mean_f32.c │ │ │ ├── arm_mean_q15.c │ │ │ ├── arm_mean_q31.c │ │ │ ├── arm_mean_q7.c │ │ │ ├── arm_min_f32.c │ │ │ ├── arm_min_q15.c │ │ │ ├── arm_min_q31.c │ │ │ ├── arm_min_q7.c │ │ │ ├── arm_power_f32.c │ │ │ ├── arm_power_q15.c │ │ │ ├── arm_power_q31.c │ │ │ ├── arm_power_q7.c │ │ │ ├── arm_rms_f32.c │ │ │ ├── arm_rms_q15.c │ │ │ ├── arm_rms_q31.c │ │ │ ├── arm_std_f32.c │ │ │ ├── arm_std_q15.c │ │ │ ├── arm_std_q31.c │ │ │ ├── arm_var_f32.c │ │ │ ├── arm_var_q15.c │ │ │ └── arm_var_q31.c │ │ │ ├── SupportFunctions │ │ │ ├── arm_copy_f32.c │ │ │ ├── arm_copy_q15.c │ │ │ ├── arm_copy_q31.c │ │ │ ├── arm_copy_q7.c │ │ │ ├── arm_fill_f32.c │ │ │ ├── arm_fill_q15.c │ │ │ ├── arm_fill_q31.c │ │ │ ├── arm_fill_q7.c │ │ │ ├── arm_float_to_q15.c │ │ │ ├── arm_float_to_q31.c │ │ │ ├── arm_float_to_q7.c │ │ │ ├── arm_q15_to_float.c │ │ │ ├── arm_q15_to_q31.c │ │ │ ├── arm_q15_to_q7.c │ │ │ ├── arm_q31_to_float.c │ │ │ ├── arm_q31_to_q15.c │ │ │ ├── arm_q31_to_q7.c │ │ │ ├── arm_q7_to_float.c │ │ │ ├── arm_q7_to_q15.c │ │ │ └── arm_q7_to_q31.c │ │ │ └── TransformFunctions │ │ │ ├── arm_bitreversal.c │ │ │ ├── arm_cfft_f32.c │ │ │ ├── arm_cfft_q15.c │ │ │ ├── arm_cfft_q31.c │ │ │ ├── arm_cfft_radix2_f32.c │ │ │ ├── arm_cfft_radix2_init_f32.c │ │ │ ├── arm_cfft_radix2_init_q15.c │ │ │ ├── arm_cfft_radix2_init_q31.c │ │ │ ├── arm_cfft_radix2_q15.c │ │ │ ├── arm_cfft_radix2_q31.c │ │ │ ├── arm_cfft_radix4_f32.c │ │ │ ├── arm_cfft_radix4_init_f32.c │ │ │ ├── arm_cfft_radix4_init_q15.c │ │ │ ├── arm_cfft_radix4_init_q31.c │ │ │ ├── arm_cfft_radix4_q15.c │ │ │ ├── arm_cfft_radix4_q31.c │ │ │ ├── arm_cfft_radix8_f32.c │ │ │ ├── arm_dct4_f32.c │ │ │ ├── arm_dct4_init_f32.c │ │ │ ├── arm_dct4_init_q15.c │ │ │ ├── arm_dct4_init_q31.c │ │ │ ├── arm_dct4_q15.c │ │ │ ├── arm_dct4_q31.c │ │ │ ├── arm_rfft_f32.c │ │ │ ├── arm_rfft_fast_f32.c │ │ │ ├── arm_rfft_fast_init_f32.c │ │ │ ├── arm_rfft_init_f32.c │ │ │ ├── arm_rfft_init_q15.c │ │ │ ├── arm_rfft_init_q31.c │ │ │ ├── arm_rfft_q15.c │ │ │ └── arm_rfft_q31.c │ ├── Device │ │ └── ST │ │ │ └── STM32F0xx │ │ │ ├── Include │ │ │ ├── stm32f030x6.h │ │ │ ├── stm32f030x8.h │ │ │ ├── stm32f030xc.h │ │ │ ├── stm32f031x6.h │ │ │ ├── stm32f038xx.h │ │ │ ├── stm32f042x6.h │ │ │ ├── stm32f048xx.h │ │ │ ├── stm32f051x8.h │ │ │ ├── stm32f058xx.h │ │ │ ├── stm32f070x6.h │ │ │ ├── stm32f070xb.h │ │ │ ├── stm32f071xb.h │ │ │ ├── stm32f072xb.h │ │ │ ├── stm32f078xx.h │ │ │ ├── stm32f091xc.h │ │ │ ├── stm32f098xx.h │ │ │ ├── stm32f0xx.h │ │ │ └── system_stm32f0xx.h │ │ │ └── Source │ │ │ └── Templates │ │ │ ├── arm │ │ │ ├── startup_stm32f030x6.s │ │ │ ├── startup_stm32f030x8.s │ │ │ ├── startup_stm32f030xc.s │ │ │ ├── startup_stm32f031x6.s │ │ │ ├── startup_stm32f038xx.s │ │ │ ├── startup_stm32f042x6.s │ │ │ ├── startup_stm32f048xx.s │ │ │ ├── startup_stm32f051x8.s │ │ │ ├── startup_stm32f058xx.s │ │ │ ├── startup_stm32f070x6.s │ │ │ ├── startup_stm32f070xb.s │ │ │ ├── startup_stm32f071xb.s │ │ │ ├── startup_stm32f072xb.s │ │ │ ├── startup_stm32f078xx.s │ │ │ ├── startup_stm32f091xc.s │ │ │ └── startup_stm32f098xx.s │ │ │ ├── gcc │ │ │ ├── startup_stm32f030x6.s │ │ │ ├── startup_stm32f030x8.s │ │ │ ├── startup_stm32f030xc.s │ │ │ ├── startup_stm32f031x6.s │ │ │ ├── startup_stm32f038xx.s │ │ │ ├── startup_stm32f042x6.s │ │ │ ├── startup_stm32f048xx.s │ │ │ ├── startup_stm32f051x8.s │ │ │ ├── startup_stm32f058xx.s │ │ │ ├── startup_stm32f070x6.s │ │ │ ├── startup_stm32f070xb.s │ │ │ ├── startup_stm32f071xb.s │ │ │ ├── startup_stm32f072xb.s │ │ │ ├── startup_stm32f078xx.s │ │ │ ├── startup_stm32f091xc.s │ │ │ └── startup_stm32f098xx.s │ │ │ ├── iar │ │ │ ├── linker │ │ │ │ ├── stm32f030x6_flash.icf │ │ │ │ ├── stm32f030x8_flash.icf │ │ │ │ ├── stm32f030xc_flash.icf │ │ │ │ ├── stm32f031x6_flash.icf │ │ │ │ ├── stm32f038xx_flash.icf │ │ │ │ ├── stm32f042x6_flash.icf │ │ │ │ ├── stm32f048xx_flash.icf │ │ │ │ ├── stm32f051x8_flash.icf │ │ │ │ ├── stm32f058xx_flash.icf │ │ │ │ ├── stm32f070x6_flash.icf │ │ │ │ ├── stm32f070xb_flash.icf │ │ │ │ ├── stm32f071xb_flash.icf │ │ │ │ ├── stm32f072xb_flash.icf │ │ │ │ ├── stm32f078xx_flash.icf │ │ │ │ ├── stm32f091xc_flash.icf │ │ │ │ ├── stm32f091xc_sram.icf │ │ │ │ ├── stm32f098xx_flash.icf │ │ │ │ └── stm32f098xx_sram.icf │ │ │ ├── startup_stm32f030x6.s │ │ │ ├── startup_stm32f030x8.s │ │ │ ├── startup_stm32f030xc.s │ │ │ ├── startup_stm32f031x6.s │ │ │ ├── startup_stm32f038xx.s │ │ │ ├── startup_stm32f042x6.s │ │ │ ├── startup_stm32f048xx.s │ │ │ ├── startup_stm32f051x8.s │ │ │ ├── startup_stm32f058xx.s │ │ │ ├── startup_stm32f070x6.s │ │ │ ├── startup_stm32f070xb.s │ │ │ ├── startup_stm32f071xb.s │ │ │ ├── startup_stm32f072xb.s │ │ │ ├── startup_stm32f078xx.s │ │ │ ├── startup_stm32f091xc.s │ │ │ └── startup_stm32f098xx.s │ │ │ └── system_stm32f0xx.c │ ├── Include │ │ ├── arm_common_tables.h │ │ ├── arm_const_structs.h │ │ ├── arm_math.h │ │ ├── cmsis_armcc.h │ │ ├── cmsis_armcc_V6.h │ │ ├── cmsis_gcc.h │ │ ├── core_cm0.h │ │ ├── core_cm0plus.h │ │ ├── core_cm3.h │ │ ├── core_cm4.h │ │ ├── core_cm7.h │ │ ├── core_cmFunc.h │ │ ├── core_cmInstr.h │ │ ├── core_cmSimd.h │ │ ├── core_sc000.h │ │ └── core_sc300.h │ └── RTOS │ │ └── Template │ │ └── cmsis_os.h └── STM32F0xx_HAL_Driver │ ├── Inc │ ├── Legacy │ │ └── stm32_hal_legacy.h │ ├── stm32_assert_template.h │ ├── stm32f0xx_hal.h │ ├── stm32f0xx_hal_adc.h │ ├── stm32f0xx_hal_adc_ex.h │ ├── stm32f0xx_hal_can.h │ ├── stm32f0xx_hal_cec.h │ ├── stm32f0xx_hal_comp.h │ ├── stm32f0xx_hal_conf_template.h │ ├── stm32f0xx_hal_cortex.h │ ├── stm32f0xx_hal_crc.h │ ├── stm32f0xx_hal_crc_ex.h │ ├── stm32f0xx_hal_dac.h │ ├── stm32f0xx_hal_dac_ex.h │ ├── stm32f0xx_hal_def.h │ ├── stm32f0xx_hal_dma.h │ ├── stm32f0xx_hal_dma_ex.h │ ├── stm32f0xx_hal_flash.h │ ├── stm32f0xx_hal_flash_ex.h │ ├── stm32f0xx_hal_gpio.h │ ├── stm32f0xx_hal_gpio_ex.h │ ├── stm32f0xx_hal_i2c.h │ ├── stm32f0xx_hal_i2c_ex.h │ ├── stm32f0xx_hal_i2s.h │ ├── stm32f0xx_hal_irda.h │ ├── stm32f0xx_hal_irda_ex.h │ ├── stm32f0xx_hal_iwdg.h │ ├── stm32f0xx_hal_pcd.h │ ├── stm32f0xx_hal_pcd_ex.h │ ├── stm32f0xx_hal_pwr.h │ ├── stm32f0xx_hal_pwr_ex.h │ ├── stm32f0xx_hal_rcc.h │ ├── stm32f0xx_hal_rcc_ex.h │ ├── stm32f0xx_hal_rtc.h │ ├── stm32f0xx_hal_rtc_ex.h │ ├── stm32f0xx_hal_smartcard.h │ ├── stm32f0xx_hal_smartcard_ex.h │ ├── stm32f0xx_hal_smbus.h │ ├── stm32f0xx_hal_spi.h │ ├── stm32f0xx_hal_spi_ex.h │ ├── stm32f0xx_hal_tim.h │ ├── stm32f0xx_hal_tim_ex.h │ ├── stm32f0xx_hal_tsc.h │ ├── stm32f0xx_hal_uart.h │ ├── stm32f0xx_hal_uart_ex.h │ ├── stm32f0xx_hal_usart.h │ ├── stm32f0xx_hal_usart_ex.h │ ├── stm32f0xx_hal_wwdg.h │ ├── stm32f0xx_ll_adc.h │ ├── stm32f0xx_ll_bus.h │ ├── stm32f0xx_ll_comp.h │ ├── stm32f0xx_ll_cortex.h │ ├── stm32f0xx_ll_crc.h │ ├── stm32f0xx_ll_crs.h │ ├── stm32f0xx_ll_dac.h │ ├── stm32f0xx_ll_dma.h │ ├── stm32f0xx_ll_exti.h │ ├── stm32f0xx_ll_gpio.h │ ├── stm32f0xx_ll_i2c.h │ ├── stm32f0xx_ll_iwdg.h │ ├── stm32f0xx_ll_pwr.h │ ├── stm32f0xx_ll_rcc.h │ ├── stm32f0xx_ll_rtc.h │ ├── stm32f0xx_ll_spi.h │ ├── stm32f0xx_ll_system.h │ ├── stm32f0xx_ll_tim.h │ ├── stm32f0xx_ll_usart.h │ ├── stm32f0xx_ll_utils.h │ └── stm32f0xx_ll_wwdg.h │ └── Src │ ├── stm32f0xx_hal.c │ ├── stm32f0xx_hal_adc.c │ ├── stm32f0xx_hal_adc_ex.c │ ├── stm32f0xx_hal_can.c │ ├── stm32f0xx_hal_cec.c │ ├── stm32f0xx_hal_comp.c │ ├── stm32f0xx_hal_cortex.c │ ├── stm32f0xx_hal_crc.c │ ├── stm32f0xx_hal_crc_ex.c │ ├── stm32f0xx_hal_dac.c │ ├── stm32f0xx_hal_dac_ex.c │ ├── stm32f0xx_hal_dma.c │ ├── stm32f0xx_hal_flash.c │ ├── stm32f0xx_hal_flash_ex.c │ ├── stm32f0xx_hal_gpio.c │ ├── stm32f0xx_hal_i2c.c │ ├── stm32f0xx_hal_i2c_ex.c │ ├── stm32f0xx_hal_i2s.c │ ├── stm32f0xx_hal_irda.c │ ├── stm32f0xx_hal_iwdg.c │ ├── stm32f0xx_hal_msp_template.c │ ├── stm32f0xx_hal_pcd.c │ ├── stm32f0xx_hal_pcd_ex.c │ ├── stm32f0xx_hal_pwr.c │ ├── stm32f0xx_hal_pwr_ex.c │ ├── stm32f0xx_hal_rcc.c │ ├── stm32f0xx_hal_rcc_ex.c │ ├── stm32f0xx_hal_rtc.c │ ├── stm32f0xx_hal_rtc_ex.c │ ├── stm32f0xx_hal_smartcard.c │ ├── stm32f0xx_hal_smartcard_ex.c │ ├── stm32f0xx_hal_smbus.c │ ├── stm32f0xx_hal_spi.c │ ├── stm32f0xx_hal_spi_ex.c │ ├── stm32f0xx_hal_tim.c │ ├── stm32f0xx_hal_tim_ex.c │ ├── stm32f0xx_hal_timebase_rtc_alarm_template.c │ ├── stm32f0xx_hal_timebase_rtc_wakeup_template.c │ ├── stm32f0xx_hal_timebase_tim_template.c │ ├── stm32f0xx_hal_tsc.c │ ├── stm32f0xx_hal_uart.c │ ├── stm32f0xx_hal_uart_ex.c │ ├── stm32f0xx_hal_usart.c │ ├── stm32f0xx_hal_wwdg.c │ ├── stm32f0xx_ll_adc.c │ ├── stm32f0xx_ll_comp.c │ ├── stm32f0xx_ll_crc.c │ ├── stm32f0xx_ll_crs.c │ ├── stm32f0xx_ll_dac.c │ ├── stm32f0xx_ll_dma.c │ ├── stm32f0xx_ll_exti.c │ ├── stm32f0xx_ll_gpio.c │ ├── stm32f0xx_ll_i2c.c │ ├── stm32f0xx_ll_pwr.c │ ├── stm32f0xx_ll_rcc.c │ ├── stm32f0xx_ll_rtc.c │ ├── stm32f0xx_ll_spi.c │ ├── stm32f0xx_ll_tim.c │ ├── stm32f0xx_ll_usart.c │ └── stm32f0xx_ll_utils.c ├── Inc ├── main.h ├── stm32f0xx_hal_conf.h └── stm32f0xx_it.h ├── MDK-ARM ├── RTE │ └── RTE_Components.h ├── master.uvguix.Administrator ├── master.uvoptx ├── master.uvprojx ├── master │ ├── ExtDll.iex │ ├── main.crf │ ├── main.d │ ├── main.o │ ├── master.axf │ ├── master.build_log.htm │ ├── master.htm │ ├── master.lnp │ ├── master.map │ ├── master.sct │ ├── master_master.dep │ ├── modbus_master.crf │ ├── modbus_master.d │ ├── modbus_master.o │ ├── ringbuffer.crf │ ├── ringbuffer.d │ ├── ringbuffer.o │ ├── startup_stm32f042x6.d │ ├── startup_stm32f042x6.o │ ├── stm32f0xx_hal.crf │ ├── stm32f0xx_hal.d │ ├── stm32f0xx_hal.o │ ├── stm32f0xx_hal_cortex.crf │ ├── stm32f0xx_hal_cortex.d │ ├── stm32f0xx_hal_cortex.o │ ├── stm32f0xx_hal_dma.crf │ ├── stm32f0xx_hal_dma.d │ ├── stm32f0xx_hal_dma.o │ ├── stm32f0xx_hal_flash.crf │ ├── stm32f0xx_hal_flash.d │ ├── stm32f0xx_hal_flash.o │ ├── stm32f0xx_hal_flash_ex.crf │ ├── stm32f0xx_hal_flash_ex.d │ ├── stm32f0xx_hal_flash_ex.o │ ├── stm32f0xx_hal_gpio.crf │ ├── stm32f0xx_hal_gpio.d │ ├── stm32f0xx_hal_gpio.o │ ├── stm32f0xx_hal_i2c.crf │ ├── stm32f0xx_hal_i2c.d │ ├── stm32f0xx_hal_i2c.o │ ├── stm32f0xx_hal_i2c_ex.crf │ ├── stm32f0xx_hal_i2c_ex.d │ ├── stm32f0xx_hal_i2c_ex.o │ ├── stm32f0xx_hal_msp.crf │ ├── stm32f0xx_hal_msp.d │ ├── stm32f0xx_hal_msp.o │ ├── stm32f0xx_hal_pwr.crf │ ├── stm32f0xx_hal_pwr.d │ ├── stm32f0xx_hal_pwr.o │ ├── stm32f0xx_hal_pwr_ex.crf │ ├── stm32f0xx_hal_pwr_ex.d │ ├── stm32f0xx_hal_pwr_ex.o │ ├── stm32f0xx_hal_rcc.crf │ ├── stm32f0xx_hal_rcc.d │ ├── stm32f0xx_hal_rcc.o │ ├── stm32f0xx_hal_rcc_ex.crf │ ├── stm32f0xx_hal_rcc_ex.d │ ├── stm32f0xx_hal_rcc_ex.o │ ├── stm32f0xx_hal_tim.crf │ ├── stm32f0xx_hal_tim.d │ ├── stm32f0xx_hal_tim.o │ ├── stm32f0xx_hal_tim_ex.crf │ ├── stm32f0xx_hal_tim_ex.d │ ├── stm32f0xx_hal_tim_ex.o │ ├── stm32f0xx_hal_uart.crf │ ├── stm32f0xx_hal_uart.d │ ├── stm32f0xx_hal_uart.o │ ├── stm32f0xx_hal_uart_ex.crf │ ├── stm32f0xx_hal_uart_ex.d │ ├── stm32f0xx_hal_uart_ex.o │ ├── stm32f0xx_it.crf │ ├── stm32f0xx_it.d │ ├── stm32f0xx_it.o │ ├── system_stm32f0xx.crf │ ├── system_stm32f0xx.d │ ├── system_stm32f0xx.o │ ├── trans_recieve_buff_control.crf │ ├── trans_recieve_buff_control.d │ └── trans_recieve_buff_control.o ├── startup_stm32f042x6.lst └── startup_stm32f042x6.s ├── Modbus_Master ├── bsp_board.h ├── crc16.h ├── modbus_master.c ├── modbus_master.h ├── ringbuffer.c ├── ringbuffer.h ├── trans_recieve_buff_control.c ├── trans_recieve_buff_control.h └── word.h ├── README.md ├── Src ├── main.c ├── stm32f0xx_hal_msp.c ├── stm32f0xx_it.c └── system_stm32f0xx.c └── master.ioc /Drivers/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_init_f32.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_init_f32.c 9 | * 10 | * Description: Floating-point PID Control initialization function 11 | * 12 | * 13 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 14 | * 15 | * Redistribution and use in source and binary forms, with or without 16 | * modification, are permitted provided that the following conditions 17 | * are met: 18 | * - Redistributions of source code must retain the above copyright 19 | * notice, this list of conditions and the following disclaimer. 20 | * - Redistributions in binary form must reproduce the above copyright 21 | * notice, this list of conditions and the following disclaimer in 22 | * the documentation and/or other materials provided with the 23 | * distribution. 24 | * - Neither the name of ARM LIMITED nor the names of its contributors 25 | * may be used to endorse or promote products derived from this 26 | * software without specific prior written permission. 27 | * 28 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 30 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 31 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 32 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 33 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 34 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 35 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 36 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 37 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 38 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 39 | * POSSIBILITY OF SUCH DAMAGE. 40 | * ------------------------------------------------------------------- */ 41 | 42 | #include "arm_math.h" 43 | 44 | /** 45 | * @addtogroup PID 46 | * @{ 47 | */ 48 | 49 | /** 50 | * @brief Initialization function for the floating-point PID Control. 51 | * @param[in,out] *S points to an instance of the PID structure. 52 | * @param[in] resetStateFlag flag to reset the state. 0 = no change in state & 1 = reset the state. 53 | * @return none. 54 | * \par Description: 55 | * \par 56 | * The resetStateFlag specifies whether to set state to zero or not. \n 57 | * The function computes the structure fields: A0, A1 A2 58 | * using the proportional gain( \c Kp), integral gain( \c Ki) and derivative gain( \c Kd) 59 | * also sets the state variables to all zeros. 60 | */ 61 | 62 | void arm_pid_init_f32( 63 | arm_pid_instance_f32 * S, 64 | int32_t resetStateFlag) 65 | { 66 | 67 | /* Derived coefficient A0 */ 68 | S->A0 = S->Kp + S->Ki + S->Kd; 69 | 70 | /* Derived coefficient A1 */ 71 | S->A1 = (-S->Kp) - ((float32_t) 2.0 * S->Kd); 72 | 73 | /* Derived coefficient A2 */ 74 | S->A2 = S->Kd; 75 | 76 | /* Check whether state needs reset or not */ 77 | if(resetStateFlag) 78 | { 79 | /* Clear the state buffer. The size will be always 3 samples */ 80 | memset(S->state, 0, 3u * sizeof(float32_t)); 81 | } 82 | 83 | } 84 | 85 | /** 86 | * @} end of PID group 87 | */ 88 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_f32.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_reset_f32.c 9 | * 10 | * Description: Floating-point PID Control reset function 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @addtogroup PID 45 | * @{ 46 | */ 47 | 48 | /** 49 | * @brief Reset function for the floating-point PID Control. 50 | * @param[in] *S Instance pointer of PID control data structure. 51 | * @return none. 52 | * \par Description: 53 | * The function resets the state buffer to zeros. 54 | */ 55 | void arm_pid_reset_f32( 56 | arm_pid_instance_f32 * S) 57 | { 58 | 59 | /* Clear the state buffer. The size will be always 3 samples */ 60 | memset(S->state, 0, 3u * sizeof(float32_t)); 61 | } 62 | 63 | /** 64 | * @} end of PID group 65 | */ 66 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_q15.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_reset_q15.c 9 | * 10 | * Description: Q15 PID Control reset function 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @addtogroup PID 45 | * @{ 46 | */ 47 | 48 | /** 49 | * @brief Reset function for the Q15 PID Control. 50 | * @param[in] *S Instance pointer of PID control data structure. 51 | * @return none. 52 | * \par Description: 53 | * The function resets the state buffer to zeros. 54 | */ 55 | void arm_pid_reset_q15( 56 | arm_pid_instance_q15 * S) 57 | { 58 | /* Reset state to zero, The size will be always 3 samples */ 59 | memset(S->state, 0, 3u * sizeof(q15_t)); 60 | } 61 | 62 | /** 63 | * @} end of PID group 64 | */ 65 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/ControllerFunctions/arm_pid_reset_q31.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_pid_reset_q31.c 9 | * 10 | * Description: Q31 PID Control reset function 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @addtogroup PID 45 | * @{ 46 | */ 47 | 48 | /** 49 | * @brief Reset function for the Q31 PID Control. 50 | * @param[in] *S Instance pointer of PID control data structure. 51 | * @return none. 52 | * \par Description: 53 | * The function resets the state buffer to zeros. 54 | */ 55 | void arm_pid_reset_q31( 56 | arm_pid_instance_q31 * S) 57 | { 58 | 59 | /* Clear the state buffer. The size will be always 3 samples */ 60 | memset(S->state, 0, 3u * sizeof(q31_t)); 61 | } 62 | 63 | /** 64 | * @} end of PID group 65 | */ 66 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FastMathFunctions/arm_cos_q15.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 07. September 2015 5 | * $Revision: V.1.4.5 a 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_cos_q15.c 9 | * 10 | * Description: Fast cosine calculation for Q15 values. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | #include "arm_common_tables.h" 43 | 44 | /** 45 | * @ingroup groupFastMath 46 | */ 47 | 48 | /** 49 | * @addtogroup cos 50 | * @{ 51 | */ 52 | 53 | /** 54 | * @brief Fast approximation to the trigonometric cosine function for Q15 data. 55 | * @param[in] x Scaled input value in radians. 56 | * @return cos(x). 57 | * 58 | * The Q15 input value is in the range [0 +0.9999] and is mapped to a radian 59 | * value in the range [0 2*pi). 60 | */ 61 | 62 | q15_t arm_cos_q15( 63 | q15_t x) 64 | { 65 | q15_t cosVal; /* Temporary variables for input, output */ 66 | int32_t index; /* Index variables */ 67 | q15_t a, b; /* Four nearest output values */ 68 | q15_t fract; /* Temporary values for fractional values */ 69 | 70 | /* add 0.25 (pi/2) to read sine table */ 71 | x = (uint16_t)x + 0x2000; 72 | if(x < 0) 73 | { /* convert negative numbers to corresponding positive ones */ 74 | x = (uint16_t)x + 0x8000; 75 | } 76 | 77 | /* Calculate the nearest index */ 78 | index = (uint32_t)x >> FAST_MATH_Q15_SHIFT; 79 | 80 | /* Calculation of fractional value */ 81 | fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; 82 | 83 | /* Read two nearest values of input value from the sin table */ 84 | a = sinTable_q15[index]; 85 | b = sinTable_q15[index+1]; 86 | 87 | /* Linear interpolation process */ 88 | cosVal = (q31_t)(0x8000-fract)*a >> 16; 89 | cosVal = (q15_t)((((q31_t)cosVal << 16) + ((q31_t)fract*b)) >> 16); 90 | 91 | return cosVal << 1; 92 | } 93 | 94 | /** 95 | * @} end of cos group 96 | */ 97 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FastMathFunctions/arm_cos_q31.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 07. September 2015 5 | * $Revision: V.1.4.5 a 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_cos_q31.c 9 | * 10 | * Description: Fast cosine calculation for Q31 values. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | #include "arm_common_tables.h" 43 | 44 | /** 45 | * @ingroup groupFastMath 46 | */ 47 | 48 | /** 49 | * @addtogroup cos 50 | * @{ 51 | */ 52 | 53 | /** 54 | * @brief Fast approximation to the trigonometric cosine function for Q31 data. 55 | * @param[in] x Scaled input value in radians. 56 | * @return cos(x). 57 | * 58 | * The Q31 input value is in the range [0 +0.9999] and is mapped to a radian 59 | * value in the range [0 2*pi). 60 | */ 61 | 62 | q31_t arm_cos_q31( 63 | q31_t x) 64 | { 65 | q31_t cosVal; /* Temporary variables for input, output */ 66 | int32_t index; /* Index variables */ 67 | q31_t a, b; /* Four nearest output values */ 68 | q31_t fract; /* Temporary values for fractional values */ 69 | 70 | /* add 0.25 (pi/2) to read sine table */ 71 | x = (uint32_t)x + 0x20000000; 72 | if(x < 0) 73 | { /* convert negative numbers to corresponding positive ones */ 74 | x = (uint32_t)x + 0x80000000; 75 | } 76 | 77 | /* Calculate the nearest index */ 78 | index = (uint32_t)x >> FAST_MATH_Q31_SHIFT; 79 | 80 | /* Calculation of fractional value */ 81 | fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; 82 | 83 | /* Read two nearest values of input value from the sin table */ 84 | a = sinTable_q31[index]; 85 | b = sinTable_q31[index+1]; 86 | 87 | /* Linear interpolation process */ 88 | cosVal = (q63_t)(0x80000000-fract)*a >> 32; 89 | cosVal = (q31_t)((((q63_t)cosVal << 32) + ((q63_t)fract*b)) >> 32); 90 | 91 | return cosVal << 1; 92 | } 93 | 94 | /** 95 | * @} end of cos group 96 | */ 97 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sin_q15.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_sin_q15.c 9 | * 10 | * Description: Fast sine calculation for Q15 values. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | #include "arm_common_tables.h" 43 | 44 | /** 45 | * @ingroup groupFastMath 46 | */ 47 | 48 | /** 49 | * @addtogroup sin 50 | * @{ 51 | */ 52 | 53 | /** 54 | * @brief Fast approximation to the trigonometric sine function for Q15 data. 55 | * @param[in] x Scaled input value in radians. 56 | * @return sin(x). 57 | * 58 | * The Q15 input value is in the range [0 +0.9999] and is mapped to a radian value in the range [0 2*pi). 59 | */ 60 | 61 | q15_t arm_sin_q15( 62 | q15_t x) 63 | { 64 | q15_t sinVal; /* Temporary variables for input, output */ 65 | int32_t index; /* Index variables */ 66 | q15_t a, b; /* Four nearest output values */ 67 | q15_t fract; /* Temporary values for fractional values */ 68 | 69 | /* Calculate the nearest index */ 70 | index = (uint32_t)x >> FAST_MATH_Q15_SHIFT; 71 | 72 | /* Calculation of fractional value */ 73 | fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; 74 | 75 | /* Read two nearest values of input value from the sin table */ 76 | a = sinTable_q15[index]; 77 | b = sinTable_q15[index+1]; 78 | 79 | /* Linear interpolation process */ 80 | sinVal = (q31_t)(0x8000-fract)*a >> 16; 81 | sinVal = (q15_t)((((q31_t)sinVal << 16) + ((q31_t)fract*b)) >> 16); 82 | 83 | return sinVal << 1; 84 | } 85 | 86 | /** 87 | * @} end of sin group 88 | */ 89 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FastMathFunctions/arm_sin_q31.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_sin_q31.c 9 | * 10 | * Description: Fast sine calculation for Q31 values. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | #include "arm_common_tables.h" 43 | 44 | /** 45 | * @ingroup groupFastMath 46 | */ 47 | 48 | /** 49 | * @addtogroup sin 50 | * @{ 51 | */ 52 | 53 | /** 54 | * @brief Fast approximation to the trigonometric sine function for Q31 data. 55 | * @param[in] x Scaled input value in radians. 56 | * @return sin(x). 57 | * 58 | * The Q31 input value is in the range [0 +0.9999] and is mapped to a radian value in the range [0 2*pi). */ 59 | 60 | q31_t arm_sin_q31( 61 | q31_t x) 62 | { 63 | q31_t sinVal; /* Temporary variables for input, output */ 64 | int32_t index; /* Index variables */ 65 | q31_t a, b; /* Four nearest output values */ 66 | q31_t fract; /* Temporary values for fractional values */ 67 | 68 | /* Calculate the nearest index */ 69 | index = (uint32_t)x >> FAST_MATH_Q31_SHIFT; 70 | 71 | /* Calculation of fractional value */ 72 | fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; 73 | 74 | /* Read two nearest values of input value from the sin table */ 75 | a = sinTable_q31[index]; 76 | b = sinTable_q31[index+1]; 77 | 78 | /* Linear interpolation process */ 79 | sinVal = (q63_t)(0x80000000-fract)*a >> 32; 80 | sinVal = (q31_t)((((q63_t)sinVal << 32) + ((q63_t)fract*b)) >> 32); 81 | 82 | return sinVal << 1; 83 | } 84 | 85 | /** 86 | * @} end of sin group 87 | */ 88 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_f32.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_fir_init_f32.c 9 | * 10 | * Description: Floating-point FIR filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup FIR 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @details 54 | * 55 | * @param[in,out] *S points to an instance of the floating-point FIR filter structure. 56 | * @param[in] numTaps Number of filter coefficients in the filter. 57 | * @param[in] *pCoeffs points to the filter coefficients buffer. 58 | * @param[in] *pState points to the state buffer. 59 | * @param[in] blockSize number of samples that are processed per call. 60 | * @return none. 61 | * 62 | * Description: 63 | * \par 64 | * pCoeffs points to the array of filter coefficients stored in time reversed order: 65 | *
    
66 |  *    {b[numTaps-1], b[numTaps-2], b[N-2], ..., b[1], b[0]}    
67 |  * 
68 | * \par 69 | * pState points to the array of state variables. 70 | * pState is of length numTaps+blockSize-1 samples, where blockSize is the number of input samples processed by each call to arm_fir_f32(). 71 | */ 72 | 73 | void arm_fir_init_f32( 74 | arm_fir_instance_f32 * S, 75 | uint16_t numTaps, 76 | float32_t * pCoeffs, 77 | float32_t * pState, 78 | uint32_t blockSize) 79 | { 80 | /* Assign filter taps */ 81 | S->numTaps = numTaps; 82 | 83 | /* Assign coefficient pointer */ 84 | S->pCoeffs = pCoeffs; 85 | 86 | /* Clear state buffer and the size of state buffer is (blockSize + numTaps - 1) */ 87 | memset(pState, 0, (numTaps + (blockSize - 1u)) * sizeof(float32_t)); 88 | 89 | /* Assign state pointer */ 90 | S->pState = pState; 91 | 92 | } 93 | 94 | /** 95 | * @} end of FIR group 96 | */ 97 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_q31.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_fir_init_q31.c 9 | * 10 | * Description: Q31 FIR filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup FIR 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @details 54 | * 55 | * @param[in,out] *S points to an instance of the Q31 FIR filter structure. 56 | * @param[in] numTaps Number of filter coefficients in the filter. 57 | * @param[in] *pCoeffs points to the filter coefficients buffer. 58 | * @param[in] *pState points to the state buffer. 59 | * @param[in] blockSize number of samples that are processed per call. 60 | * @return none. 61 | * 62 | * Description: 63 | * \par 64 | * pCoeffs points to the array of filter coefficients stored in time reversed order: 65 | *
    
66 |  *    {b[numTaps-1], b[numTaps-2], b[N-2], ..., b[1], b[0]}    
67 |  * 
68 | * \par 69 | * pState points to the array of state variables. 70 | * pState is of length numTaps+blockSize-1 samples, where blockSize is the number of input samples processed by each call to arm_fir_q31(). 71 | */ 72 | 73 | void arm_fir_init_q31( 74 | arm_fir_instance_q31 * S, 75 | uint16_t numTaps, 76 | q31_t * pCoeffs, 77 | q31_t * pState, 78 | uint32_t blockSize) 79 | { 80 | /* Assign filter taps */ 81 | S->numTaps = numTaps; 82 | 83 | /* Assign coefficient pointer */ 84 | S->pCoeffs = pCoeffs; 85 | 86 | /* Clear state buffer and state array size is (blockSize + numTaps - 1) */ 87 | memset(pState, 0, (blockSize + ((uint32_t) numTaps - 1u)) * sizeof(q31_t)); 88 | 89 | /* Assign state pointer */ 90 | S->pState = pState; 91 | 92 | } 93 | 94 | /** 95 | * @} end of FIR group 96 | */ 97 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_init_q7.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_fir_init_q7.c 9 | * 10 | * Description: Q7 FIR filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup FIR 49 | * @{ 50 | */ 51 | /** 52 | * @param[in,out] *S points to an instance of the Q7 FIR filter structure. 53 | * @param[in] numTaps Number of filter coefficients in the filter. 54 | * @param[in] *pCoeffs points to the filter coefficients buffer. 55 | * @param[in] *pState points to the state buffer. 56 | * @param[in] blockSize number of samples that are processed per call. 57 | * @return none 58 | * 59 | * Description: 60 | * \par 61 | * pCoeffs points to the array of filter coefficients stored in time reversed order: 62 | *
    
63 |  *    {b[numTaps-1], b[numTaps-2], b[N-2], ..., b[1], b[0]}    
64 |  * 
65 | * \par 66 | * pState points to the array of state variables. 67 | * pState is of length numTaps+blockSize-1 samples, where blockSize is the number of input samples processed by each call to arm_fir_q7(). 68 | */ 69 | 70 | void arm_fir_init_q7( 71 | arm_fir_instance_q7 * S, 72 | uint16_t numTaps, 73 | q7_t * pCoeffs, 74 | q7_t * pState, 75 | uint32_t blockSize) 76 | { 77 | 78 | /* Assign filter taps */ 79 | S->numTaps = numTaps; 80 | 81 | /* Assign coefficient pointer */ 82 | S->pCoeffs = pCoeffs; 83 | 84 | /* Clear the state buffer. The size is always (blockSize + numTaps - 1) */ 85 | memset(pState, 0, (numTaps + (blockSize - 1u)) * sizeof(q7_t)); 86 | 87 | /* Assign state pointer */ 88 | S->pState = pState; 89 | 90 | } 91 | 92 | /** 93 | * @} end of FIR group 94 | */ 95 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_init_f32.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_fir_lattice_init_f32.c 9 | * 10 | * Description: Floating-point FIR Lattice filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup FIR_Lattice 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @brief Initialization function for the floating-point FIR lattice filter. 54 | * @param[in] *S points to an instance of the floating-point FIR lattice structure. 55 | * @param[in] numStages number of filter stages. 56 | * @param[in] *pCoeffs points to the coefficient buffer. The array is of length numStages. 57 | * @param[in] *pState points to the state buffer. The array is of length numStages. 58 | * @return none. 59 | */ 60 | 61 | void arm_fir_lattice_init_f32( 62 | arm_fir_lattice_instance_f32 * S, 63 | uint16_t numStages, 64 | float32_t * pCoeffs, 65 | float32_t * pState) 66 | { 67 | /* Assign filter taps */ 68 | S->numStages = numStages; 69 | 70 | /* Assign coefficient pointer */ 71 | S->pCoeffs = pCoeffs; 72 | 73 | /* Clear state buffer and size is always numStages */ 74 | memset(pState, 0, (numStages) * sizeof(float32_t)); 75 | 76 | /* Assign state pointer */ 77 | S->pState = pState; 78 | 79 | } 80 | 81 | /** 82 | * @} end of FIR_Lattice group 83 | */ 84 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_init_q15.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_fir_lattice_init_q15.c 9 | * 10 | * Description: Q15 FIR Lattice filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup FIR_Lattice 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @brief Initialization function for the Q15 FIR lattice filter. 54 | * @param[in] *S points to an instance of the Q15 FIR lattice structure. 55 | * @param[in] numStages number of filter stages. 56 | * @param[in] *pCoeffs points to the coefficient buffer. The array is of length numStages. 57 | * @param[in] *pState points to the state buffer. The array is of length numStages. 58 | * @return none. 59 | */ 60 | 61 | void arm_fir_lattice_init_q15( 62 | arm_fir_lattice_instance_q15 * S, 63 | uint16_t numStages, 64 | q15_t * pCoeffs, 65 | q15_t * pState) 66 | { 67 | /* Assign filter taps */ 68 | S->numStages = numStages; 69 | 70 | /* Assign coefficient pointer */ 71 | S->pCoeffs = pCoeffs; 72 | 73 | /* Clear state buffer and size is always numStages */ 74 | memset(pState, 0, (numStages) * sizeof(q15_t)); 75 | 76 | /* Assign state pointer */ 77 | S->pState = pState; 78 | 79 | } 80 | 81 | /** 82 | * @} end of FIR_Lattice group 83 | */ 84 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_lattice_init_q31.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_fir_lattice_init_q31.c 9 | * 10 | * Description: Q31 FIR lattice filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup FIR_Lattice 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @brief Initialization function for the Q31 FIR lattice filter. 54 | * @param[in] *S points to an instance of the Q31 FIR lattice structure. 55 | * @param[in] numStages number of filter stages. 56 | * @param[in] *pCoeffs points to the coefficient buffer. The array is of length numStages. 57 | * @param[in] *pState points to the state buffer. The array is of length numStages. 58 | * @return none. 59 | */ 60 | 61 | void arm_fir_lattice_init_q31( 62 | arm_fir_lattice_instance_q31 * S, 63 | uint16_t numStages, 64 | q31_t * pCoeffs, 65 | q31_t * pState) 66 | { 67 | /* Assign filter taps */ 68 | S->numStages = numStages; 69 | 70 | /* Assign coefficient pointer */ 71 | S->pCoeffs = pCoeffs; 72 | 73 | /* Clear state buffer and size is always numStages */ 74 | memset(pState, 0, (numStages) * sizeof(q31_t)); 75 | 76 | /* Assign state pointer */ 77 | S->pState = pState; 78 | 79 | } 80 | 81 | /** 82 | * @} end of FIR_Lattice group 83 | */ 84 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_init_f32.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_iir_lattice_init_f32.c 9 | * 10 | * Description: Floating-point IIR lattice filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup IIR_Lattice 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @brief Initialization function for the floating-point IIR lattice filter. 54 | * @param[in] *S points to an instance of the floating-point IIR lattice structure. 55 | * @param[in] numStages number of stages in the filter. 56 | * @param[in] *pkCoeffs points to the reflection coefficient buffer. The array is of length numStages. 57 | * @param[in] *pvCoeffs points to the ladder coefficient buffer. The array is of length numStages+1. 58 | * @param[in] *pState points to the state buffer. The array is of length numStages+blockSize. 59 | * @param[in] blockSize number of samples to process. 60 | * @return none. 61 | */ 62 | 63 | void arm_iir_lattice_init_f32( 64 | arm_iir_lattice_instance_f32 * S, 65 | uint16_t numStages, 66 | float32_t * pkCoeffs, 67 | float32_t * pvCoeffs, 68 | float32_t * pState, 69 | uint32_t blockSize) 70 | { 71 | /* Assign filter taps */ 72 | S->numStages = numStages; 73 | 74 | /* Assign reflection coefficient pointer */ 75 | S->pkCoeffs = pkCoeffs; 76 | 77 | /* Assign ladder coefficient pointer */ 78 | S->pvCoeffs = pvCoeffs; 79 | 80 | /* Clear state buffer and size is always blockSize + numStages */ 81 | memset(pState, 0, (numStages + blockSize) * sizeof(float32_t)); 82 | 83 | /* Assign state pointer */ 84 | S->pState = pState; 85 | 86 | 87 | } 88 | 89 | /** 90 | * @} end of IIR_Lattice group 91 | */ 92 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_init_q15.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_iir_lattice_init_q15.c 9 | * 10 | * Description: Q15 IIR lattice filter initialization function. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup IIR_Lattice 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @brief Initialization function for the Q15 IIR lattice filter. 54 | * @param[in] *S points to an instance of the Q15 IIR lattice structure. 55 | * @param[in] numStages number of stages in the filter. 56 | * @param[in] *pkCoeffs points to reflection coefficient buffer. The array is of length numStages. 57 | * @param[in] *pvCoeffs points to ladder coefficient buffer. The array is of length numStages+1. 58 | * @param[in] *pState points to state buffer. The array is of length numStages+blockSize. 59 | * @param[in] blockSize number of samples to process per call. 60 | * @return none. 61 | */ 62 | 63 | void arm_iir_lattice_init_q15( 64 | arm_iir_lattice_instance_q15 * S, 65 | uint16_t numStages, 66 | q15_t * pkCoeffs, 67 | q15_t * pvCoeffs, 68 | q15_t * pState, 69 | uint32_t blockSize) 70 | { 71 | /* Assign filter taps */ 72 | S->numStages = numStages; 73 | 74 | /* Assign reflection coefficient pointer */ 75 | S->pkCoeffs = pkCoeffs; 76 | 77 | /* Assign ladder coefficient pointer */ 78 | S->pvCoeffs = pvCoeffs; 79 | 80 | /* Clear state buffer and size is always blockSize + numStages */ 81 | memset(pState, 0, (numStages + blockSize) * sizeof(q15_t)); 82 | 83 | /* Assign state pointer */ 84 | S->pState = pState; 85 | 86 | 87 | } 88 | 89 | /** 90 | * @} end of IIR_Lattice group 91 | */ 92 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_iir_lattice_init_q31.c: -------------------------------------------------------------------------------- 1 | /*----------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_iir_lattice_init_q31.c 9 | * 10 | * Description: Initialization function for the Q31 IIR lattice filter. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * ---------------------------------------------------------------------------*/ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupFilters 45 | */ 46 | 47 | /** 48 | * @addtogroup IIR_Lattice 49 | * @{ 50 | */ 51 | 52 | /** 53 | * @brief Initialization function for the Q31 IIR lattice filter. 54 | * @param[in] *S points to an instance of the Q31 IIR lattice structure. 55 | * @param[in] numStages number of stages in the filter. 56 | * @param[in] *pkCoeffs points to the reflection coefficient buffer. The array is of length numStages. 57 | * @param[in] *pvCoeffs points to the ladder coefficient buffer. The array is of length numStages+1. 58 | * @param[in] *pState points to the state buffer. The array is of length numStages+blockSize. 59 | * @param[in] blockSize number of samples to process. 60 | * @return none. 61 | */ 62 | 63 | void arm_iir_lattice_init_q31( 64 | arm_iir_lattice_instance_q31 * S, 65 | uint16_t numStages, 66 | q31_t * pkCoeffs, 67 | q31_t * pvCoeffs, 68 | q31_t * pState, 69 | uint32_t blockSize) 70 | { 71 | /* Assign filter taps */ 72 | S->numStages = numStages; 73 | 74 | /* Assign reflection coefficient pointer */ 75 | S->pkCoeffs = pkCoeffs; 76 | 77 | /* Assign ladder coefficient pointer */ 78 | S->pvCoeffs = pvCoeffs; 79 | 80 | /* Clear state buffer and size is always blockSize + numStages */ 81 | memset(pState, 0, (numStages + blockSize) * sizeof(q31_t)); 82 | 83 | /* Assign state pointer */ 84 | S->pState = pState; 85 | 86 | 87 | } 88 | 89 | /** 90 | * @} end of IIR_Lattice group 91 | */ 92 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_f32.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_mat_init_f32.c 9 | * 10 | * Description: Floating-point matrix initialization. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------------- */ 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupMatrix 45 | */ 46 | 47 | /** 48 | * @defgroup MatrixInit Matrix Initialization 49 | * 50 | * Initializes the underlying matrix data structure. 51 | * The functions set the numRows, 52 | * numCols, and pData fields 53 | * of the matrix data structure. 54 | */ 55 | 56 | /** 57 | * @addtogroup MatrixInit 58 | * @{ 59 | */ 60 | 61 | /** 62 | * @brief Floating-point matrix initialization. 63 | * @param[in,out] *S points to an instance of the floating-point matrix structure. 64 | * @param[in] nRows number of rows in the matrix. 65 | * @param[in] nColumns number of columns in the matrix. 66 | * @param[in] *pData points to the matrix data array. 67 | * @return none 68 | */ 69 | 70 | void arm_mat_init_f32( 71 | arm_matrix_instance_f32 * S, 72 | uint16_t nRows, 73 | uint16_t nColumns, 74 | float32_t * pData) 75 | { 76 | /* Assign Number of Rows */ 77 | S->numRows = nRows; 78 | 79 | /* Assign Number of Columns */ 80 | S->numCols = nColumns; 81 | 82 | /* Assign Data pointer */ 83 | S->pData = pData; 84 | } 85 | 86 | /** 87 | * @} end of MatrixInit group 88 | */ 89 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_q15.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_mat_init_q15.c 9 | * 10 | * Description: Q15 matrix initialization. 11 | * 12 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 13 | * 14 | * Redistribution and use in source and binary forms, with or without 15 | * modification, are permitted provided that the following conditions 16 | * are met: 17 | * - Redistributions of source code must retain the above copyright 18 | * notice, this list of conditions and the following disclaimer. 19 | * - Redistributions in binary form must reproduce the above copyright 20 | * notice, this list of conditions and the following disclaimer in 21 | * the documentation and/or other materials provided with the 22 | * distribution. 23 | * - Neither the name of ARM LIMITED nor the names of its contributors 24 | * may be used to endorse or promote products derived from this 25 | * software without specific prior written permission. 26 | * 27 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 30 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 31 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 32 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 33 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 35 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 37 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 38 | * POSSIBILITY OF SUCH DAMAGE. 39 | * -------------------------------------------------------------------------- */ 40 | 41 | 42 | #include "arm_math.h" 43 | 44 | /** 45 | * @ingroup groupMatrix 46 | */ 47 | 48 | /** 49 | * @addtogroup MatrixInit 50 | * @{ 51 | */ 52 | 53 | /** 54 | * @brief Q15 matrix initialization. 55 | * @param[in,out] *S points to an instance of the floating-point matrix structure. 56 | * @param[in] nRows number of rows in the matrix. 57 | * @param[in] nColumns number of columns in the matrix. 58 | * @param[in] *pData points to the matrix data array. 59 | * @return none 60 | */ 61 | 62 | void arm_mat_init_q15( 63 | arm_matrix_instance_q15 * S, 64 | uint16_t nRows, 65 | uint16_t nColumns, 66 | q15_t * pData) 67 | { 68 | /* Assign Number of Rows */ 69 | S->numRows = nRows; 70 | 71 | /* Assign Number of Columns */ 72 | S->numCols = nColumns; 73 | 74 | /* Assign Data pointer */ 75 | S->pData = pData; 76 | } 77 | 78 | /** 79 | * @} end of MatrixInit group 80 | */ 81 | -------------------------------------------------------------------------------- /Drivers/CMSIS/DSP_Lib/Source/MatrixFunctions/arm_mat_init_q31.c: -------------------------------------------------------------------------------- 1 | /* ---------------------------------------------------------------------- 2 | * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 3 | * 4 | * $Date: 19. March 2015 5 | * $Revision: V.1.4.5 6 | * 7 | * Project: CMSIS DSP Library 8 | * Title: arm_mat_init_q31.c 9 | * 10 | * Description: Q31 matrix initialization. 11 | * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 12 | * 13 | * Redistribution and use in source and binary forms, with or without 14 | * modification, are permitted provided that the following conditions 15 | * are met: 16 | * - Redistributions of source code must retain the above copyright 17 | * notice, this list of conditions and the following disclaimer. 18 | * - Redistributions in binary form must reproduce the above copyright 19 | * notice, this list of conditions and the following disclaimer in 20 | * the documentation and/or other materials provided with the 21 | * distribution. 22 | * - Neither the name of ARM LIMITED nor the names of its contributors 23 | * may be used to endorse or promote products derived from this 24 | * software without specific prior written permission. 25 | * 26 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 29 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 30 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 31 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 32 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 33 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 34 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 36 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 37 | * POSSIBILITY OF SUCH DAMAGE. 38 | * -------------------------------------------------------------------------- */ 39 | 40 | 41 | #include "arm_math.h" 42 | 43 | /** 44 | * @ingroup groupMatrix 45 | */ 46 | 47 | /** 48 | * @defgroup MatrixInit Matrix Initialization 49 | * 50 | */ 51 | 52 | /** 53 | * @addtogroup MatrixInit 54 | * @{ 55 | */ 56 | 57 | /** 58 | * @brief Q31 matrix initialization. 59 | * @param[in,out] *S points to an instance of the floating-point matrix structure. 60 | * @param[in] nRows number of rows in the matrix. 61 | * @param[in] nColumns number of columns in the matrix. 62 | * @param[in] *pData points to the matrix data array. 63 | * @return none 64 | */ 65 | 66 | void arm_mat_init_q31( 67 | arm_matrix_instance_q31 * S, 68 | uint16_t nRows, 69 | uint16_t nColumns, 70 | q31_t * pData) 71 | { 72 | /* Assign Number of Rows */ 73 | S->numRows = nRows; 74 | 75 | /* Assign Number of Columns */ 76 | S->numCols = nColumns; 77 | 78 | /* Assign Data pointer */ 79 | S->pData = pData; 80 | } 81 | 82 | /** 83 | * @} end of MatrixInit group 84 | */ 85 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x8.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030xc.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f031x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f031x6.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f038xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f038xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f048xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f048xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f051x8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f051x8.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f058xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f058xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f070x6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f070x6.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f070xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f070xb.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f071xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f071xb.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f072xb.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f078xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f078xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f091xc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f091xc.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f098xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f098xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f030x6_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20000FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f030x8_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20001FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f030xc_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f031x6_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20000FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f038xx_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20000FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f042x6_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x200017FF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f048xx_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x200017FF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f051x8_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20001FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f058xx_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20001FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f070x6_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x200017FF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f070xb_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f071xb_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f072xb_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f078xx_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f091xc_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f091xc_sram.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x20000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x20000000 ; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x20003FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20004000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | 17 | define memory mem with size = 4G; 18 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 19 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 20 | 21 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 22 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 23 | 24 | initialize by copy { readwrite }; 25 | do not initialize { section .noinit }; 26 | 27 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 28 | 29 | place in ROM_region { readonly }; 30 | place in RAM_region { readwrite, 31 | block CSTACK, block HEAP }; -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f098xx_flash.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0803FFFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | define memory mem with size = 4G; 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 19 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 22 | 23 | initialize by copy { readwrite }; 24 | do not initialize { section .noinit }; 25 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 27 | 28 | place in ROM_region { readonly }; 29 | place in RAM_region { readwrite, 30 | block CSTACK, block HEAP }; 31 | 32 | export symbol __ICFEDIT_region_RAM_start__; 33 | export symbol __ICFEDIT_region_RAM_end__; 34 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/iar/linker/stm32f098xx_sram.icf: -------------------------------------------------------------------------------- 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 | /*-Editor annotation file-*/ 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ 4 | /*-Specials-*/ 5 | define symbol __ICFEDIT_intvec_start__ = 0x20000000; 6 | /*-Memory Regions-*/ 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x20000000 ; 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x20003FFF; 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20004000; 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; 11 | /*-Sizes-*/ 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; 13 | define symbol __ICFEDIT_size_heap__ = 0x200; 14 | /**** End of ICF editor section. ###ICF###*/ 15 | 16 | 17 | define memory mem with size = 4G; 18 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; 19 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; 20 | 21 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; 22 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; 23 | 24 | initialize by copy { readwrite }; 25 | do not initialize { section .noinit }; 26 | 27 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; 28 | 29 | place in ROM_region { readonly }; 30 | place in RAM_region { readwrite, 31 | block CSTACK, block HEAP }; -------------------------------------------------------------------------------- /Drivers/CMSIS/Include/core_cmFunc.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************//** 2 | * @file core_cmFunc.h 3 | * @brief CMSIS Cortex-M Core Function Access Header File 4 | * @version V4.30 5 | * @date 20. October 2015 6 | ******************************************************************************/ 7 | /* Copyright (c) 2009 - 2015 ARM LIMITED 8 | 9 | All rights reserved. 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions are met: 12 | - Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | - Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in the 16 | documentation and/or other materials provided with the distribution. 17 | - Neither the name of ARM nor the names of its contributors may be used 18 | to endorse or promote products derived from this software without 19 | specific prior written permission. 20 | * 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE 25 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 | POSSIBILITY OF SUCH DAMAGE. 32 | ---------------------------------------------------------------------------*/ 33 | 34 | 35 | #if defined ( __ICCARM__ ) 36 | #pragma system_include /* treat file as system include file for MISRA check */ 37 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 38 | #pragma clang system_header /* treat file as system include file */ 39 | #endif 40 | 41 | #ifndef __CORE_CMFUNC_H 42 | #define __CORE_CMFUNC_H 43 | 44 | 45 | /* ########################### Core Function Access ########################### */ 46 | /** \ingroup CMSIS_Core_FunctionInterface 47 | \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions 48 | @{ 49 | */ 50 | 51 | /*------------------ RealView Compiler -----------------*/ 52 | #if defined ( __CC_ARM ) 53 | #include "cmsis_armcc.h" 54 | 55 | /*------------------ ARM Compiler V6 -------------------*/ 56 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 57 | #include "cmsis_armcc_V6.h" 58 | 59 | /*------------------ GNU Compiler ----------------------*/ 60 | #elif defined ( __GNUC__ ) 61 | #include "cmsis_gcc.h" 62 | 63 | /*------------------ ICC Compiler ----------------------*/ 64 | #elif defined ( __ICCARM__ ) 65 | #include 66 | 67 | /*------------------ TI CCS Compiler -------------------*/ 68 | #elif defined ( __TMS470__ ) 69 | #include 70 | 71 | /*------------------ TASKING Compiler ------------------*/ 72 | #elif defined ( __TASKING__ ) 73 | /* 74 | * The CMSIS functions have been implemented as intrinsics in the compiler. 75 | * Please use "carm -?i" to get an up to date list of all intrinsics, 76 | * Including the CMSIS ones. 77 | */ 78 | 79 | /*------------------ COSMIC Compiler -------------------*/ 80 | #elif defined ( __CSMC__ ) 81 | #include 82 | 83 | #endif 84 | 85 | /*@} end of CMSIS_Core_RegAccFunctions */ 86 | 87 | #endif /* __CORE_CMFUNC_H */ 88 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Include/core_cmInstr.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************//** 2 | * @file core_cmInstr.h 3 | * @brief CMSIS Cortex-M Core Instruction Access Header File 4 | * @version V4.30 5 | * @date 20. October 2015 6 | ******************************************************************************/ 7 | /* Copyright (c) 2009 - 2015 ARM LIMITED 8 | 9 | All rights reserved. 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions are met: 12 | - Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | - Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in the 16 | documentation and/or other materials provided with the distribution. 17 | - Neither the name of ARM nor the names of its contributors may be used 18 | to endorse or promote products derived from this software without 19 | specific prior written permission. 20 | * 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE 25 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 | POSSIBILITY OF SUCH DAMAGE. 32 | ---------------------------------------------------------------------------*/ 33 | 34 | 35 | #if defined ( __ICCARM__ ) 36 | #pragma system_include /* treat file as system include file for MISRA check */ 37 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 38 | #pragma clang system_header /* treat file as system include file */ 39 | #endif 40 | 41 | #ifndef __CORE_CMINSTR_H 42 | #define __CORE_CMINSTR_H 43 | 44 | 45 | /* ########################## Core Instruction Access ######################### */ 46 | /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface 47 | Access to dedicated instructions 48 | @{ 49 | */ 50 | 51 | /*------------------ RealView Compiler -----------------*/ 52 | #if defined ( __CC_ARM ) 53 | #include "cmsis_armcc.h" 54 | 55 | /*------------------ ARM Compiler V6 -------------------*/ 56 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 57 | #include "cmsis_armcc_V6.h" 58 | 59 | /*------------------ GNU Compiler ----------------------*/ 60 | #elif defined ( __GNUC__ ) 61 | #include "cmsis_gcc.h" 62 | 63 | /*------------------ ICC Compiler ----------------------*/ 64 | #elif defined ( __ICCARM__ ) 65 | #include 66 | 67 | /*------------------ TI CCS Compiler -------------------*/ 68 | #elif defined ( __TMS470__ ) 69 | #include 70 | 71 | /*------------------ TASKING Compiler ------------------*/ 72 | #elif defined ( __TASKING__ ) 73 | /* 74 | * The CMSIS functions have been implemented as intrinsics in the compiler. 75 | * Please use "carm -?i" to get an up to date list of all intrinsics, 76 | * Including the CMSIS ones. 77 | */ 78 | 79 | /*------------------ COSMIC Compiler -------------------*/ 80 | #elif defined ( __CSMC__ ) 81 | #include 82 | 83 | #endif 84 | 85 | /*@}*/ /* end of group CMSIS_Core_InstructionInterface */ 86 | 87 | #endif /* __CORE_CMINSTR_H */ 88 | -------------------------------------------------------------------------------- /Drivers/CMSIS/Include/core_cmSimd.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************//** 2 | * @file core_cmSimd.h 3 | * @brief CMSIS Cortex-M SIMD Header File 4 | * @version V4.30 5 | * @date 20. October 2015 6 | ******************************************************************************/ 7 | /* Copyright (c) 2009 - 2015 ARM LIMITED 8 | 9 | All rights reserved. 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions are met: 12 | - Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | - Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in the 16 | documentation and/or other materials provided with the distribution. 17 | - Neither the name of ARM nor the names of its contributors may be used 18 | to endorse or promote products derived from this software without 19 | specific prior written permission. 20 | * 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE 25 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 | POSSIBILITY OF SUCH DAMAGE. 32 | ---------------------------------------------------------------------------*/ 33 | 34 | 35 | #if defined ( __ICCARM__ ) 36 | #pragma system_include /* treat file as system include file for MISRA check */ 37 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 38 | #pragma clang system_header /* treat file as system include file */ 39 | #endif 40 | 41 | #ifndef __CORE_CMSIMD_H 42 | #define __CORE_CMSIMD_H 43 | 44 | #ifdef __cplusplus 45 | extern "C" { 46 | #endif 47 | 48 | 49 | /* ################### Compiler specific Intrinsics ########################### */ 50 | /** \defgroup CMSIS_SIMD_intrinsics CMSIS SIMD Intrinsics 51 | Access to dedicated SIMD instructions 52 | @{ 53 | */ 54 | 55 | /*------------------ RealView Compiler -----------------*/ 56 | #if defined ( __CC_ARM ) 57 | #include "cmsis_armcc.h" 58 | 59 | /*------------------ ARM Compiler V6 -------------------*/ 60 | #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) 61 | #include "cmsis_armcc_V6.h" 62 | 63 | /*------------------ GNU Compiler ----------------------*/ 64 | #elif defined ( __GNUC__ ) 65 | #include "cmsis_gcc.h" 66 | 67 | /*------------------ ICC Compiler ----------------------*/ 68 | #elif defined ( __ICCARM__ ) 69 | #include 70 | 71 | /*------------------ TI CCS Compiler -------------------*/ 72 | #elif defined ( __TMS470__ ) 73 | #include 74 | 75 | /*------------------ TASKING Compiler ------------------*/ 76 | #elif defined ( __TASKING__ ) 77 | /* 78 | * The CMSIS functions have been implemented as intrinsics in the compiler. 79 | * Please use "carm -?i" to get an up to date list of all intrinsics, 80 | * Including the CMSIS ones. 81 | */ 82 | 83 | /*------------------ COSMIC Compiler -------------------*/ 84 | #elif defined ( __CSMC__ ) 85 | #include 86 | 87 | #endif 88 | 89 | /*@} end of group CMSIS_SIMD_intrinsics */ 90 | 91 | 92 | #ifdef __cplusplus 93 | } 94 | #endif 95 | 96 | #endif /* __CORE_CMSIMD_H */ 97 | -------------------------------------------------------------------------------- /Drivers/STM32F0xx_HAL_Driver/Inc/stm32_assert_template.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32_assert.h 4 | * @author MCD Application Team 5 | * @brief STM32 assert template file. 6 | * This file should be copied to the application folder and renamed 7 | * to stm32_assert.h. 8 | ****************************************************************************** 9 | * @attention 10 | * 11 | *

© COPYRIGHT(c) 2016 STMicroelectronics

12 | * 13 | * Redistribution and use in source and binary forms, with or without modification, 14 | * are permitted provided that the following conditions are met: 15 | * 1. Redistributions of source code must retain the above copyright notice, 16 | * this list of conditions and the following disclaimer. 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, 18 | * this list of conditions and the following disclaimer in the documentation 19 | * and/or other materials provided with the distribution. 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors 21 | * may be used to endorse or promote products derived from this software 22 | * without specific prior written permission. 23 | * 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 | * 35 | ****************************************************************************** 36 | */ 37 | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ 39 | #ifndef __STM32_ASSERT_H 40 | #define __STM32_ASSERT_H 41 | 42 | #ifdef __cplusplus 43 | extern "C" { 44 | #endif 45 | 46 | /* Exported types ------------------------------------------------------------*/ 47 | /* Exported constants --------------------------------------------------------*/ 48 | /* Includes ------------------------------------------------------------------*/ 49 | /* Exported macro ------------------------------------------------------------*/ 50 | #ifdef USE_FULL_ASSERT 51 | /** 52 | * @brief The assert_param macro is used for function's parameters check. 53 | * @param expr If expr is false, it calls assert_failed function 54 | * which reports the name of the source file and the source 55 | * line number of the call that failed. 56 | * If expr is true, it returns no value. 57 | * @retval None 58 | */ 59 | #define assert_param(expr) ((expr) ? (void)0U : assert_failed((char *)__FILE__, __LINE__)) 60 | /* Exported functions ------------------------------------------------------- */ 61 | void assert_failed(char* file, uint32_t line); 62 | #else 63 | #define assert_param(expr) ((void)0U) 64 | #endif /* USE_FULL_ASSERT */ 65 | 66 | #ifdef __cplusplus 67 | } 68 | #endif 69 | 70 | #endif /* __STM32_ASSERT_H */ 71 | 72 | 73 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 74 | -------------------------------------------------------------------------------- /Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_spi_ex.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f0xx_hal_spi_ex.h 4 | * @author MCD Application Team 5 | * @brief Header file of SPI HAL Extended module. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© COPYRIGHT(c) 2016 STMicroelectronics

10 | * 11 | * Redistribution and use in source and binary forms, with or without modification, 12 | * are permitted provided that the following conditions are met: 13 | * 1. Redistributions of source code must retain the above copyright notice, 14 | * this list of conditions and the following disclaimer. 15 | * 2. Redistributions in binary form must reproduce the above copyright notice, 16 | * this list of conditions and the following disclaimer in the documentation 17 | * and/or other materials provided with the distribution. 18 | * 3. Neither the name of STMicroelectronics nor the names of its contributors 19 | * may be used to endorse or promote products derived from this software 20 | * without specific prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | * 33 | ****************************************************************************** 34 | */ 35 | 36 | /* Define to prevent recursive inclusion -------------------------------------*/ 37 | #ifndef __STM32F0xx_HAL_SPI_EX_H 38 | #define __STM32F0xx_HAL_SPI_EX_H 39 | 40 | #ifdef __cplusplus 41 | extern "C" { 42 | #endif 43 | 44 | /* Includes ------------------------------------------------------------------*/ 45 | #include "stm32f0xx_hal_def.h" 46 | 47 | /** @addtogroup STM32F0xx_HAL_Driver 48 | * @{ 49 | */ 50 | 51 | /** @addtogroup SPIEx 52 | * @{ 53 | */ 54 | 55 | /* Exported types ------------------------------------------------------------*/ 56 | /* Exported constants --------------------------------------------------------*/ 57 | /* Exported macros -----------------------------------------------------------*/ 58 | /* Exported functions --------------------------------------------------------*/ 59 | /** @addtogroup SPIEx_Exported_Functions 60 | * @{ 61 | */ 62 | 63 | /* Initialization and de-initialization functions ****************************/ 64 | /* IO operation functions *****************************************************/ 65 | /** @addtogroup SPIEx_Exported_Functions_Group1 66 | * @{ 67 | */ 68 | HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(SPI_HandleTypeDef *hspi); 69 | /** 70 | * @} 71 | */ 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | /** 78 | * @} 79 | */ 80 | 81 | /** 82 | * @} 83 | */ 84 | 85 | #ifdef __cplusplus 86 | } 87 | #endif 88 | 89 | #endif /* __STM32F0xx_HAL_SPI_EX_H */ 90 | 91 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 92 | -------------------------------------------------------------------------------- /Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_alarm_template.c -------------------------------------------------------------------------------- /Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_timebase_rtc_wakeup_template.c -------------------------------------------------------------------------------- /Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_ll_crs.c: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f0xx_ll_crs.h 4 | * @author MCD Application Team 5 | * @brief CRS LL module driver. 6 | ****************************************************************************** 7 | * @attention 8 | * 9 | *

© COPYRIGHT(c) 2016 STMicroelectronics

10 | * 11 | * Redistribution and use in source and binary forms, with or without modification, 12 | * are permitted provided that the following conditions are met: 13 | * 1. Redistributions of source code must retain the above copyright notice, 14 | * this list of conditions and the following disclaimer. 15 | * 2. Redistributions in binary form must reproduce the above copyright notice, 16 | * this list of conditions and the following disclaimer in the documentation 17 | * and/or other materials provided with the distribution. 18 | * 3. Neither the name of STMicroelectronics nor the names of its contributors 19 | * may be used to endorse or promote products derived from this software 20 | * without specific prior written permission. 21 | * 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | * 33 | ****************************************************************************** 34 | */ 35 | #if defined(USE_FULL_LL_DRIVER) 36 | 37 | /* Includes ------------------------------------------------------------------*/ 38 | #include "stm32f0xx_ll_crs.h" 39 | #include "stm32f0xx_ll_bus.h" 40 | 41 | /** @addtogroup STM32F0xx_LL_Driver 42 | * @{ 43 | */ 44 | 45 | #if defined(CRS) 46 | 47 | /** @defgroup CRS_LL CRS 48 | * @{ 49 | */ 50 | 51 | /* Private types -------------------------------------------------------------*/ 52 | /* Private variables ---------------------------------------------------------*/ 53 | /* Private constants ---------------------------------------------------------*/ 54 | /* Private macros ------------------------------------------------------------*/ 55 | /* Private function prototypes -----------------------------------------------*/ 56 | 57 | /* Exported functions --------------------------------------------------------*/ 58 | /** @addtogroup CRS_LL_Exported_Functions 59 | * @{ 60 | */ 61 | 62 | /** @addtogroup CRS_LL_EF_Init 63 | * @{ 64 | */ 65 | 66 | /** 67 | * @brief De-Initializes CRS peripheral registers to their default reset values. 68 | * @retval An ErrorStatus enumeration value: 69 | * - SUCCESS: CRS registers are de-initialized 70 | * - ERROR: not applicable 71 | */ 72 | ErrorStatus LL_CRS_DeInit(void) 73 | { 74 | LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_CRS); 75 | LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_CRS); 76 | 77 | return SUCCESS; 78 | } 79 | 80 | 81 | 82 | /** 83 | * @} 84 | */ 85 | 86 | /** 87 | * @} 88 | */ 89 | 90 | /** 91 | * @} 92 | */ 93 | 94 | #endif /* defined(CRS) */ 95 | 96 | /** 97 | * @} 98 | */ 99 | 100 | #endif /* USE_FULL_LL_DRIVER */ 101 | 102 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 103 | -------------------------------------------------------------------------------- /Inc/main.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * File Name : main.h 4 | * Description : This file contains the common defines of the application 5 | ****************************************************************************** 6 | ** This notice applies to any and all portions of this file 7 | * that are not between comment pairs USER CODE BEGIN and 8 | * USER CODE END. Other portions of this file, whether 9 | * inserted by the user or by software development tools 10 | * are owned by their respective copyright owners. 11 | * 12 | * COPYRIGHT(c) 2017 STMicroelectronics 13 | * 14 | * Redistribution and use in source and binary forms, with or without modification, 15 | * are permitted provided that the following conditions are met: 16 | * 1. Redistributions of source code must retain the above copyright notice, 17 | * this list of conditions and the following disclaimer. 18 | * 2. Redistributions in binary form must reproduce the above copyright notice, 19 | * this list of conditions and the following disclaimer in the documentation 20 | * and/or other materials provided with the distribution. 21 | * 3. Neither the name of STMicroelectronics nor the names of its contributors 22 | * may be used to endorse or promote products derived from this software 23 | * without specific prior written permission. 24 | * 25 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 26 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 28 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 29 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 31 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 32 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 33 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 | * 36 | ****************************************************************************** 37 | */ 38 | /* Define to prevent recursive inclusion -------------------------------------*/ 39 | #ifndef __MAIN_H 40 | #define __MAIN_H 41 | /* Includes ------------------------------------------------------------------*/ 42 | 43 | /* USER CODE BEGIN Includes */ 44 | 45 | /* USER CODE END Includes */ 46 | 47 | /* Private define ------------------------------------------------------------*/ 48 | 49 | /* USER CODE BEGIN Private defines */ 50 | 51 | /* USER CODE END Private defines */ 52 | 53 | void _Error_Handler(char *, int); 54 | 55 | #define Error_Handler() _Error_Handler(__FILE__, __LINE__) 56 | 57 | /** 58 | * @} 59 | */ 60 | 61 | /** 62 | * @} 63 | */ 64 | 65 | #endif /* __MAIN_H */ 66 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 67 | -------------------------------------------------------------------------------- /Inc/stm32f0xx_it.h: -------------------------------------------------------------------------------- 1 | /** 2 | ****************************************************************************** 3 | * @file stm32f0xx_it.h 4 | * @brief This file contains the headers of the interrupt handlers. 5 | ****************************************************************************** 6 | * 7 | * COPYRIGHT(c) 2017 STMicroelectronics 8 | * 9 | * Redistribution and use in source and binary forms, with or without modification, 10 | * are permitted provided that the following conditions are met: 11 | * 1. Redistributions of source code must retain the above copyright notice, 12 | * this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright notice, 14 | * this list of conditions and the following disclaimer in the documentation 15 | * and/or other materials provided with the distribution. 16 | * 3. Neither the name of STMicroelectronics nor the names of its contributors 17 | * may be used to endorse or promote products derived from this software 18 | * without specific prior written permission. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | * 31 | ****************************************************************************** 32 | */ 33 | 34 | /* Define to prevent recursive inclusion -------------------------------------*/ 35 | #ifndef __STM32F0xx_IT_H 36 | #define __STM32F0xx_IT_H 37 | 38 | #ifdef __cplusplus 39 | extern "C" { 40 | #endif 41 | 42 | /* Includes ------------------------------------------------------------------*/ 43 | #include "stm32f0xx_hal.h" 44 | #include "main.h" 45 | /* Exported types ------------------------------------------------------------*/ 46 | /* Exported constants --------------------------------------------------------*/ 47 | /* Exported macro ------------------------------------------------------------*/ 48 | /* Exported functions ------------------------------------------------------- */ 49 | 50 | void NMI_Handler(void); 51 | void HardFault_Handler(void); 52 | void SVC_Handler(void); 53 | void PendSV_Handler(void); 54 | void SysTick_Handler(void); 55 | void USART2_IRQHandler(void); 56 | 57 | #ifdef __cplusplus 58 | } 59 | #endif 60 | 61 | #endif /* __STM32F0xx_IT_H */ 62 | 63 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 64 | -------------------------------------------------------------------------------- /MDK-ARM/RTE/RTE_Components.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Auto generated Run-Time-Environment Component Configuration File 4 | * *** Do not modify ! *** 5 | * 6 | * Project: 'master' 7 | * Target: 'master' 8 | */ 9 | 10 | #ifndef RTE_COMPONENTS_H 11 | #define RTE_COMPONENTS_H 12 | 13 | 14 | #endif /* RTE_COMPONENTS_H */ 15 | -------------------------------------------------------------------------------- /MDK-ARM/master/ExtDll.iex: -------------------------------------------------------------------------------- 1 | [EXTDLL] 2 | Count=0 3 | -------------------------------------------------------------------------------- /MDK-ARM/master/main.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/main.crf -------------------------------------------------------------------------------- /MDK-ARM/master/main.d: -------------------------------------------------------------------------------- 1 | master\main.o: ../Src/main.c 2 | master\main.o: ../Inc/main.h 3 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 4 | master\main.o: ../Inc/stm32f0xx_hal_conf.h 5 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\main.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\main.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\main.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\main.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\main.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\main.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\main.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\main.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\main.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\main.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | master\main.o: ..\Modbus_Master\modbus_master.h 32 | master\main.o: ..\Modbus_Master\bsp_board.h 33 | master\main.o: ..\Modbus_Master\crc16.h 34 | master\main.o: ..\Modbus_Master\word.h 35 | -------------------------------------------------------------------------------- /MDK-ARM/master/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/main.o -------------------------------------------------------------------------------- /MDK-ARM/master/master.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/master.axf -------------------------------------------------------------------------------- /MDK-ARM/master/master.build_log.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/master.build_log.htm -------------------------------------------------------------------------------- /MDK-ARM/master/master.lnp: -------------------------------------------------------------------------------- 1 | --cpu Cortex-M0 2 | "master\stm32f0xx_it.o" 3 | "master\stm32f0xx_hal_msp.o" 4 | "master\main.o" 5 | "master\ringbuffer.o" 6 | "master\modbus_master.o" 7 | "master\trans_recieve_buff_control.o" 8 | "master\startup_stm32f042x6.o" 9 | "master\stm32f0xx_hal_pwr_ex.o" 10 | "master\stm32f0xx_hal.o" 11 | "master\stm32f0xx_hal_cortex.o" 12 | "master\stm32f0xx_hal_flash_ex.o" 13 | "master\stm32f0xx_hal_tim.o" 14 | "master\stm32f0xx_hal_uart.o" 15 | "master\stm32f0xx_hal_rcc.o" 16 | "master\stm32f0xx_hal_i2c_ex.o" 17 | "master\stm32f0xx_hal_uart_ex.o" 18 | "master\stm32f0xx_hal_rcc_ex.o" 19 | "master\stm32f0xx_hal_dma.o" 20 | "master\stm32f0xx_hal_tim_ex.o" 21 | "master\stm32f0xx_hal_gpio.o" 22 | "master\stm32f0xx_hal_i2c.o" 23 | "master\stm32f0xx_hal_pwr.o" 24 | "master\stm32f0xx_hal_flash.o" 25 | "master\system_stm32f0xx.o" 26 | --library_type=microlib --strict --scatter "master\master.sct" 27 | 28 | --diag_suppress=L6329 --summary_stderr --info summarysizes --map --xref --callgraph --symbols 29 | --info sizes --info totals --info unused --info veneers 30 | --list "master.map" -o master\master.axf -------------------------------------------------------------------------------- /MDK-ARM/master/master.sct: -------------------------------------------------------------------------------- 1 | ; ************************************************************* 2 | ; *** Scatter-Loading Description File generated by uVision *** 3 | ; ************************************************************* 4 | 5 | LR_IROM1 0x08000000 0x00008000 { ; load region size_region 6 | ER_IROM1 0x08000000 0x00008000 { ; load address = execution address 7 | *.o (RESET, +First) 8 | *(InRoot$$Sections) 9 | .ANY (+RO) 10 | } 11 | RW_IRAM1 0x20000000 0x00001800 { ; RW data 12 | .ANY (+RW +ZI) 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /MDK-ARM/master/modbus_master.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/modbus_master.crf -------------------------------------------------------------------------------- /MDK-ARM/master/modbus_master.d: -------------------------------------------------------------------------------- 1 | master\modbus_master.o: ..\Modbus_Master\modbus_master.c 2 | master\modbus_master.o: ..\Modbus_Master\modbus_master.h 3 | master\modbus_master.o: ..\Modbus_Master\bsp_board.h 4 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 5 | master\modbus_master.o: ../Inc/stm32f0xx_hal_conf.h 6 | master\modbus_master.o: ../Inc/main.h 7 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 8 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 9 | master\modbus_master.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 10 | master\modbus_master.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 11 | master\modbus_master.o: ../Drivers/CMSIS/Include/core_cm0.h 12 | master\modbus_master.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 13 | master\modbus_master.o: ../Drivers/CMSIS/Include/core_cmInstr.h 14 | master\modbus_master.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | master\modbus_master.o: ../Drivers/CMSIS/Include/core_cmFunc.h 16 | master\modbus_master.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 17 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 18 | master\modbus_master.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 19 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 20 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 21 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 22 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 23 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 24 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 25 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 26 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 27 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 28 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 29 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 30 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 31 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 32 | master\modbus_master.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 33 | master\modbus_master.o: ..\Modbus_Master\crc16.h 34 | master\modbus_master.o: ..\Modbus_Master\word.h 35 | master\modbus_master.o: ..\Modbus_Master\trans_recieve_buff_control.h 36 | -------------------------------------------------------------------------------- /MDK-ARM/master/modbus_master.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/modbus_master.o -------------------------------------------------------------------------------- /MDK-ARM/master/ringbuffer.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/ringbuffer.crf -------------------------------------------------------------------------------- /MDK-ARM/master/ringbuffer.d: -------------------------------------------------------------------------------- 1 | master\ringbuffer.o: ..\Modbus_Master\ringbuffer.c 2 | master\ringbuffer.o: ..\Modbus_Master\ringbuffer.h 3 | master\ringbuffer.o: ..\Modbus_Master\bsp_board.h 4 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 5 | master\ringbuffer.o: ../Inc/stm32f0xx_hal_conf.h 6 | master\ringbuffer.o: ../Inc/main.h 7 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 8 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 9 | master\ringbuffer.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 10 | master\ringbuffer.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 11 | master\ringbuffer.o: ../Drivers/CMSIS/Include/core_cm0.h 12 | master\ringbuffer.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 13 | master\ringbuffer.o: ../Drivers/CMSIS/Include/core_cmInstr.h 14 | master\ringbuffer.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | master\ringbuffer.o: ../Drivers/CMSIS/Include/core_cmFunc.h 16 | master\ringbuffer.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 17 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 18 | master\ringbuffer.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 19 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 20 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 21 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 22 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 23 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 24 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 25 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 26 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 27 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 28 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 29 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 30 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 31 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 32 | master\ringbuffer.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 33 | -------------------------------------------------------------------------------- /MDK-ARM/master/ringbuffer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/ringbuffer.o -------------------------------------------------------------------------------- /MDK-ARM/master/startup_stm32f042x6.d: -------------------------------------------------------------------------------- 1 | master\startup_stm32f042x6.o: startup_stm32f042x6.s 2 | -------------------------------------------------------------------------------- /MDK-ARM/master/startup_stm32f042x6.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/startup_stm32f042x6.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c 2 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal.o: ../Inc/main.h 5 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_cortex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_cortex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_cortex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c 2 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_cortex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_cortex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_cortex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_cortex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_cortex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_cortex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_cortex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_cortex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_dma.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_dma.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_dma.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c 2 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_dma.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_dma.o: ../Inc/main.h 5 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_dma.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_dma.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_dma.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_dma.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_dma.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_dma.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_flash.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_flash.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_flash.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c 2 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_flash.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_flash.o: ../Inc/main.h 5 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_flash.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_flash.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_flash.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_flash.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_flash.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_flash.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_flash_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_flash_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_flash_ex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c 2 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_flash_ex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_flash_ex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_flash_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_flash_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_flash_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_flash_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_flash_ex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_gpio.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_gpio.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_gpio.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.c 2 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_gpio.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_gpio.o: ../Inc/main.h 5 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_gpio.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_gpio.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_gpio.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_gpio.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_gpio.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_gpio.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_i2c.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_i2c.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_i2c.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.c 2 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_i2c.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_i2c.o: ../Inc/main.h 5 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_i2c.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_i2c.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_i2c.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_i2c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_i2c.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_i2c.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_i2c_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_i2c_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_i2c_ex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.c 2 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_i2c_ex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_i2c_ex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_i2c_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_i2c_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_i2c_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_i2c_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_i2c_ex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_msp.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_msp.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_msp.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_msp.o: ../Src/stm32f0xx_hal_msp.c 2 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_msp.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_msp.o: ../Inc/main.h 5 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_msp.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_msp.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_msp.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_msp.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_msp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_msp.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_pwr.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_pwr.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_pwr.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.c 2 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_pwr.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_pwr.o: ../Inc/main.h 5 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_pwr.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_pwr.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_pwr.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_pwr.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_pwr.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_pwr.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_pwr_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_pwr_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_pwr_ex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.c 2 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_pwr_ex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_pwr_ex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_pwr_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_pwr_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_pwr_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_pwr_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_pwr_ex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_rcc.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_rcc.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_rcc.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.c 2 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_rcc.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_rcc.o: ../Inc/main.h 5 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_rcc.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_rcc.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_rcc.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_rcc.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_rcc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_rcc.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_rcc_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_rcc_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_rcc_ex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.c 2 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_rcc_ex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_rcc_ex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_rcc_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_rcc_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_rcc_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_rcc_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_rcc_ex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_tim.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_tim.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_tim.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.c 2 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_tim.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_tim.o: ../Inc/main.h 5 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_tim.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_tim.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_tim.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_tim.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_tim.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_tim.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_tim_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_tim_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_tim_ex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.c 2 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_tim_ex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_tim_ex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_tim_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_tim_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_tim_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_tim_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_tim_ex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_uart.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_uart.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_uart.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart.c 2 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_uart.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_uart.o: ../Inc/main.h 5 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_uart.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_uart.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_uart.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_uart.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_uart.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_uart.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_uart_ex.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_uart_ex.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_uart_ex.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_uart_ex.c 2 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_hal_uart_ex.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_hal_uart_ex.o: ../Inc/main.h 5 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_hal_uart_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_hal_uart_ex.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_hal_uart_ex.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_hal_uart_ex.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_hal_uart_ex.o -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_it.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_it.crf -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_it.d: -------------------------------------------------------------------------------- 1 | master\stm32f0xx_it.o: ../Src/stm32f0xx_it.c 2 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 3 | master\stm32f0xx_it.o: ../Inc/stm32f0xx_hal_conf.h 4 | master\stm32f0xx_it.o: ../Inc/main.h 5 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 6 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 7 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 8 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 9 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Include/core_cm0.h 10 | master\stm32f0xx_it.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 11 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Include/core_cmInstr.h 12 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 13 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Include/core_cmFunc.h 14 | master\stm32f0xx_it.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 15 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 16 | master\stm32f0xx_it.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\stm32f0xx_it.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | master\stm32f0xx_it.o: ../Inc/stm32f0xx_it.h 32 | master\stm32f0xx_it.o: ..\Modbus_Master\trans_recieve_buff_control.h 33 | master\stm32f0xx_it.o: ..\Modbus_Master\bsp_board.h 34 | -------------------------------------------------------------------------------- /MDK-ARM/master/stm32f0xx_it.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/stm32f0xx_it.o -------------------------------------------------------------------------------- /MDK-ARM/master/system_stm32f0xx.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/system_stm32f0xx.crf -------------------------------------------------------------------------------- /MDK-ARM/master/system_stm32f0xx.d: -------------------------------------------------------------------------------- 1 | master\system_stm32f0xx.o: ../Src/system_stm32f0xx.c 2 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 3 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 4 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Include/core_cm0.h 5 | master\system_stm32f0xx.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 6 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Include/core_cmInstr.h 7 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 8 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Include/core_cmFunc.h 9 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 10 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 11 | master\system_stm32f0xx.o: ../Inc/stm32f0xx_hal_conf.h 12 | master\system_stm32f0xx.o: ../Inc/main.h 13 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 14 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 15 | master\system_stm32f0xx.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 16 | master\system_stm32f0xx.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 17 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 18 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 19 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 20 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 21 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 22 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 23 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 24 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 25 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 26 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 27 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 28 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 29 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 30 | master\system_stm32f0xx.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 31 | -------------------------------------------------------------------------------- /MDK-ARM/master/system_stm32f0xx.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/system_stm32f0xx.o -------------------------------------------------------------------------------- /MDK-ARM/master/trans_recieve_buff_control.crf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/trans_recieve_buff_control.crf -------------------------------------------------------------------------------- /MDK-ARM/master/trans_recieve_buff_control.d: -------------------------------------------------------------------------------- 1 | master\trans_recieve_buff_control.o: ..\Modbus_Master\trans_recieve_buff_control.c 2 | master\trans_recieve_buff_control.o: ..\Modbus_Master\trans_recieve_buff_control.h 3 | master\trans_recieve_buff_control.o: ..\Modbus_Master\bsp_board.h 4 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 5 | master\trans_recieve_buff_control.o: ../Inc/stm32f0xx_hal_conf.h 6 | master\trans_recieve_buff_control.o: ../Inc/main.h 7 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h 8 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h 9 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h 10 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h 11 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Include/core_cm0.h 12 | master\trans_recieve_buff_control.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdint.h 13 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Include/core_cmInstr.h 14 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Include/cmsis_armcc.h 15 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Include/core_cmFunc.h 16 | master\trans_recieve_buff_control.o: ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h 17 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h 18 | master\trans_recieve_buff_control.o: D:\gutaipan\keil5\ARM\ARMCC\Bin\..\include\stdio.h 19 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h 20 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h 21 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h 22 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h 23 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h 24 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h 25 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h 26 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h 27 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h 28 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h 29 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h 30 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h 31 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart.h 32 | master\trans_recieve_buff_control.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_uart_ex.h 33 | master\trans_recieve_buff_control.o: ..\Modbus_Master\ringbuffer.h 34 | -------------------------------------------------------------------------------- /MDK-ARM/master/trans_recieve_buff_control.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/MDK-ARM/master/trans_recieve_buff_control.o -------------------------------------------------------------------------------- /Modbus_Master/bsp_board.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Modbus_Master/bsp_board.h -------------------------------------------------------------------------------- /Modbus_Master/crc16.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file 3 | CRC Computations 4 | 5 | @defgroup util_crc16 "util/crc16.h": CRC Computations 6 | @code#include "util/crc16.h"@endcode 7 | 8 | This header file provides functions for calculating 9 | cyclic redundancy checks (CRC) using common polynomials. 10 | Modified by Doc Walker to be processor-independent (removed inline 11 | assembler to allow it to compile on SAM3X8E processors). 12 | 13 | @par References: 14 | Jack Crenshaw's "Implementing CRCs" article in the January 1992 issue of @e 15 | Embedded @e Systems @e Programming. This may be difficult to find, but it 16 | explains CRC's in very clear and concise terms. Well worth the effort to 17 | obtain a copy. 18 | 19 | */ 20 | /* Copyright (c) 2002, 2003, 2004 Marek Michalkiewicz 21 | Copyright (c) 2005, 2007 Joerg Wunsch 22 | Copyright (c) 2013 Dave Hylands 23 | Copyright (c) 2013 Frederic Nadeau 24 | Copyright (c) 2015 Doc Walker 25 | All rights reserved. 26 | 27 | Redistribution and use in source and binary forms, with or without 28 | modification, are permitted provided that the following conditions are met: 29 | 30 | * Redistributions of source code must retain the above copyright 31 | notice, this list of conditions and the following disclaimer. 32 | 33 | * Redistributions in binary form must reproduce the above copyright 34 | notice, this list of conditions and the following disclaimer in 35 | the documentation and/or other materials provided with the 36 | distribution. 37 | 38 | * Neither the name of the copyright holders nor the names of 39 | contributors may be used to endorse or promote products derived 40 | from this software without specific prior written permission. 41 | 42 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 43 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 44 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 45 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 46 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 47 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 48 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 49 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 50 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 51 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 52 | POSSIBILITY OF SUCH DAMAGE. */ 53 | 54 | 55 | #ifndef _UTIL_CRC16_H_ 56 | #define _UTIL_CRC16_H_ 57 | 58 | 59 | /** @ingroup util_crc16 60 | Processor-independent CRC-16 calculation. 61 | 62 | Polynomial: x^16 + x^15 + x^2 + 1 (0xA001)
63 | Initial value: 0xFFFF 64 | 65 | This CRC is normally used in disk-drive controllers. 66 | 67 | @param uint16_t crc (0x0000..0xFFFF) 68 | @param uint8_t a (0x00..0xFF) 69 | @return calculated CRC (0x0000..0xFFFF) 70 | */ 71 | static uint16_t crc16_update(uint16_t crc, uint8_t a) 72 | { 73 | int i; 74 | 75 | crc ^= a; 76 | for (i = 0; i < 8; ++i) 77 | { 78 | if (crc & 1) 79 | crc = (crc >> 1) ^ 0xA001; 80 | else 81 | crc = (crc >> 1); 82 | } 83 | 84 | return crc; 85 | } 86 | 87 | 88 | #endif /* _UTIL_CRC16_H_ */ 89 | -------------------------------------------------------------------------------- /Modbus_Master/modbus_master.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Modbus_Master/modbus_master.c -------------------------------------------------------------------------------- /Modbus_Master/modbus_master.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Modbus_Master/modbus_master.h -------------------------------------------------------------------------------- /Modbus_Master/ringbuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Modbus_Master/ringbuffer.c -------------------------------------------------------------------------------- /Modbus_Master/ringbuffer.h: -------------------------------------------------------------------------------- 1 | #ifndef __RINGBUFFER_H 2 | #define __RINGBUFFER_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "bsp_board.h" 9 | #include 10 | 11 | typedef struct { 12 | uint8_t* pBuff; 13 | uint8_t* pEnd; // pBuff + legnth 14 | uint8_t* wp; // Write Point 15 | uint8_t* rp; // Read Point 16 | uint16_t length; 17 | uint8_t flagOverflow; // set when buffer overflowed 18 | } RingBuffer; 19 | 20 | 21 | void rbInitialize(RingBuffer* pRingBuff, uint8_t* buff, uint16_t length); 22 | void rbClear(RingBuffer* pRingBuff); 23 | void rbPush(RingBuffer* pRingBuff, uint8_t value); 24 | uint8_t rbPop(RingBuffer* pRingBuff); 25 | uint16_t rbGetCount(const RingBuffer* pRingBuff); 26 | int8_t rbIsEmpty(const RingBuffer* pRingBuff); 27 | int8_t rbIsFull(const RingBuffer* pRingBuff); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /Modbus_Master/trans_recieve_buff_control.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Modbus_Master/trans_recieve_buff_control.c -------------------------------------------------------------------------------- /Modbus_Master/trans_recieve_buff_control.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Modbus_Master/trans_recieve_buff_control.h -------------------------------------------------------------------------------- /Modbus_Master/word.h: -------------------------------------------------------------------------------- 1 | /** 2 | @file 3 | Utility Functions for Manipulating Words 4 | 5 | @defgroup util_word "util/word.h": Utility Functions for Manipulating Words 6 | @code#include "util/word.h"@endcode 7 | 8 | This header file provides utility functions for manipulating words. 9 | 10 | */ 11 | /* 12 | 13 | word.h - Utility Functions for Manipulating Words 14 | 15 | This file is part of ModbusMaster. 16 | 17 | ModbusMaster is free software: you can redistribute it and/or modify 18 | it under the terms of the GNU General Public License as published by 19 | the Free Software Foundation, either version 3 of the License, or 20 | (at your option) any later version. 21 | 22 | ModbusMaster is distributed in the hope that it will be useful, 23 | but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | GNU General Public License for more details. 26 | 27 | You should have received a copy of the GNU General Public License 28 | along with ModbusMaster. If not, see . 29 | 30 | Written by Doc Walker (Rx) 31 | Copyright © 2009-2015 Doc Walker <4-20ma at wvfans dot net> 32 | 33 | */ 34 | 35 | 36 | #ifndef _UTIL_WORD_H_ 37 | #define _UTIL_WORD_H_ 38 | 39 | #include "bsp_board.h" 40 | 41 | /** @ingroup util_word 42 | Return low word of a 32-bit integer. 43 | 44 | @param uint32_t ww (0x00000000..0xFFFFFFFF) 45 | @return low word of input (0x0000..0xFFFF) 46 | */ 47 | static inline uint16_t lowWord(uint32_t ww) 48 | { 49 | return (uint16_t) ((ww) & 0xFFFF); 50 | } 51 | 52 | 53 | /** @ingroup util_word 54 | Return high word of a 32-bit integer. 55 | 56 | @param uint32_t ww (0x00000000..0xFFFFFFFF) 57 | @return high word of input (0x0000..0xFFFF) 58 | */ 59 | static inline uint16_t highWord(uint32_t ww) 60 | { 61 | return (uint16_t) ((ww) >> 16); 62 | } 63 | 64 | 65 | /*模拟ardunio函数*************************************************/ 66 | static inline uint8_t lowByte(uint16_t ww) 67 | { 68 | return (uint8_t) ((ww) & 0x00FF); 69 | } 70 | 71 | 72 | static inline uint8_t highByte(uint16_t ww) 73 | { 74 | return (uint8_t) ((ww) >> 8); 75 | } 76 | 77 | static inline uint16_t word(uint8_t H_Byte,uint8_t L_Byte) 78 | { 79 | uint16_t word; 80 | word = (uint16_t)(H_Byte<<8); 81 | word = word + L_Byte; 82 | return word; 83 | } 84 | 85 | #define bitSet(value, bit) ((value) |= (1UL << (bit))) 86 | #define bitClear(value, bit) ((value) &= ~(1UL << (bit))) 87 | 88 | #define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit)) 89 | #define bitRead(value, bit) (((value) >> (bit)) & 0x01) 90 | 91 | #endif /* _UTIL_WORD_H_ */ 92 | -------------------------------------------------------------------------------- /Src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LittleBigQi/ModBus-Master/c34fe58625c6ead7521c9e2480f4f6531e037ca8/Src/main.c -------------------------------------------------------------------------------- /master.ioc: -------------------------------------------------------------------------------- 1 | #MicroXplorer Configuration settings - do not modify 2 | File.Version=6 3 | KeepUserPlacement=false 4 | Mcu.Family=STM32F0 5 | Mcu.IP0=NVIC 6 | Mcu.IP1=RCC 7 | Mcu.IP2=SYS 8 | Mcu.IP3=USART2 9 | Mcu.IPNb=4 10 | Mcu.Name=STM32F042G(4-6)Ux 11 | Mcu.Package=UFQFPN28 12 | Mcu.Pin0=PA2 13 | Mcu.Pin1=PA3 14 | Mcu.Pin2=PA13 15 | Mcu.Pin3=PA14 16 | Mcu.Pin4=VP_SYS_VS_Systick 17 | Mcu.PinsNb=5 18 | Mcu.UserConstants= 19 | Mcu.UserName=STM32F042G6Ux 20 | MxCube.Version=4.22.1 21 | MxDb.Version=DB.4.0.221 22 | NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false 23 | NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false 24 | NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false 25 | NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false 26 | NVIC.SysTick_IRQn=true\:0\:0\:false\:false\:true\:false 27 | NVIC.USART2_IRQn=true\:0\:0\:false\:false\:true\:true 28 | PA13.Locked=true 29 | PA13.Mode=Serial_Wire 30 | PA13.Signal=SYS_SWDIO 31 | PA14.Mode=Serial_Wire 32 | PA14.Signal=SYS_SWCLK 33 | PA2.Locked=true 34 | PA2.Mode=Asynchronous 35 | PA2.Signal=USART2_TX 36 | PA3.Mode=Asynchronous 37 | PA3.Signal=USART2_RX 38 | PCC.Checker=false 39 | PCC.Line=STM32F0x2 40 | PCC.MCU=STM32F042G(4-6)Ux 41 | PCC.PartNumber=STM32F042G6Ux 42 | PCC.Seq0=0 43 | PCC.Series=STM32F0 44 | PCC.Temperature=25 45 | PCC.Vdd=3.6 46 | PinOutPanel.RotationAngle=0 47 | ProjectManager.AskForMigrate=true 48 | ProjectManager.BackupPrevious=false 49 | ProjectManager.CompilerOptimize=2 50 | ProjectManager.ComputerToolchain=false 51 | ProjectManager.CoupleFile=false 52 | ProjectManager.CustomerFirmwarePackage=C\:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F0_V1.9.0 53 | ProjectManager.DefaultFWLocation=true 54 | ProjectManager.DeletePrevious=true 55 | ProjectManager.DeviceId=STM32F042G6Ux 56 | ProjectManager.FirmwarePackage=STM32Cube FW_F0 V1.9.0 57 | ProjectManager.FreePins=false 58 | ProjectManager.HalAssertFull=false 59 | ProjectManager.HeapSize=0x200 60 | ProjectManager.KeepUserCode=true 61 | ProjectManager.LastFirmware=true 62 | ProjectManager.LibraryCopy=0 63 | ProjectManager.PreviousToolchain= 64 | ProjectManager.ProjectBuild=false 65 | ProjectManager.ProjectFileName=master.ioc 66 | ProjectManager.ProjectName=master 67 | ProjectManager.StackSize=0x400 68 | ProjectManager.TargetToolchain=MDK-ARM V5 69 | ProjectManager.ToolChainLocation= 70 | ProjectManager.UnderRoot=false 71 | ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL,2-SystemClock_Config-RCC-false-HAL,3-MX_USART2_UART_Init-USART2-false-HAL 72 | RCC.AHBFreq_Value=48000000 73 | RCC.APB1Freq_Value=48000000 74 | RCC.APB1TimFreq_Value=48000000 75 | RCC.CECFreq_Value=32786.88524590164 76 | RCC.FCLKCortexFreq_Value=48000000 77 | RCC.FamilyName=M 78 | RCC.HCLKFreq_Value=48000000 79 | RCC.HSICECFreq_Value=32786.88524590164 80 | RCC.I2SFreq_Value=48000000 81 | RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,CECFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSICECFreq_Value,I2SFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLMCOFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USART1Freq_Value,VCOOutput2Freq_Value 82 | RCC.MCOFreq_Value=48000000 83 | RCC.PLLCLKFreq_Value=16000000 84 | RCC.PLLMCOFreq_Value=16000000 85 | RCC.SYSCLKFreq_VALUE=48000000 86 | RCC.SYSCLKSource=RCC_SYSCLKSOURCE_HSI48 87 | RCC.TimSysFreq_Value=48000000 88 | RCC.USART1Freq_Value=48000000 89 | RCC.VCOOutput2Freq_Value=8000000 90 | USART2.BaudRate=115200 91 | USART2.IPParameters=VirtualMode-Asynchronous,BaudRate,WordLength 92 | USART2.VirtualMode-Asynchronous=VM_ASYNC 93 | USART2.WordLength=WORDLENGTH_8B 94 | VP_SYS_VS_Systick.Mode=SysTick 95 | VP_SYS_VS_Systick.Signal=SYS_VS_Systick 96 | board=master 97 | --------------------------------------------------------------------------------