repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_conj_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_conj_q31.c
* Description: Q31 complex conjugate
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ------------------------------... | 4,497 | 25.458824 | 102 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_squared_q31.c
* Description: Q31 complex magnitude squared
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ---------------... | 4,326 | 27.846667 | 109 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_dot_prod_q31.c
* Description: Q31 complex dot product
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ------------------------... | 4,869 | 26.670455 | 118 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_conj_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_conj_f32.c
* Description: Floating-point complex conjugate
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* -------------------... | 4,460 | 24.936047 | 91 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mult_real_f32.c
* Description: Floating-point complex by real multiplication
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* -... | 6,491 | 29.336449 | 94 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_q31.c
* Description: Q31 complex magnitude
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* -------------------------------... | 4,791 | 26.54023 | 105 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mag_squared_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_squared_f32.c
* Description: Floating-point complex magnitude squared
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ----... | 5,813 | 27.360976 | 109 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_dot_prod_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_dot_prod_f32.c
* Description: Floating-point complex dot product
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* -------------... | 4,903 | 24.541667 | 89 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_conj_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_conj_q15.c
* Description: Q15 complex conjugate
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ------------------------------... | 3,930 | 25.206667 | 94 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mult_cmplx_q15.c
* Description: Q15 complex-by-complex multiplication
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* --------... | 5,543 | 29.461538 | 109 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mag_squared_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_squared_q15.c
* Description: Q15 complex magnitude squared
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ---------------... | 3,744 | 26.335766 | 109 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_q15.c
* Description: Q15 complex magnitude
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* -------------------------------... | 3,775 | 25.591549 | 105 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mag_f32.c
* Description: Floating-point complex magnitude
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* --------------------... | 4,255 | 26.636364 | 95 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_mult_real_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_mult_real_q31.c
* Description: Q31 complex by real multiplication
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ------------... | 6,074 | 27.65566 | 94 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/ComplexMathFunctions/arm_cmplx_dot_prod_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cmplx_dot_prod_q15.c
* Description: Processing function for the Q15 Complex Dot product
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores... | 4,712 | 25.477528 | 107 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_sqrt_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_sqrt_q15.c
* Description: Q15 square root function
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ---------------------------------... | 4,245 | 28.282759 | 98 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_cos_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cos_q15.c
* Description: Fast cosine calculation for Q15 values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* --------------------... | 2,504 | 28.470588 | 93 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_sin_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_sin_q31.c
* Description: Fast sine calculation for Q31 values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ----------------------... | 2,311 | 29.421053 | 108 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_sqrt_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_sqrt_q31.c
* Description: Q31 square root function
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ---------------------------------... | 4,239 | 28.65035 | 103 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_cos_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cos_f32.c
* Description: Fast cosine calculation for floating-point values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ---------... | 3,423 | 28.517241 | 111 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_sin_q15.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_sin_q15.c
* Description: Fast sine calculation for Q15 values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ----------------------... | 2,308 | 28.987013 | 105 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_sin_f32.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_sin_f32.c
* Description: Fast sine calculation for floating-point values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* -----------... | 3,520 | 27.395161 | 100 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Source/FastMathFunctions/arm_cos_q31.c | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_cos_q31.c
* Description: Fast cosine calculation for Q31 values
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* --------------------... | 2,516 | 28.611765 | 93 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Include/arm_common_tables.h | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_common_tables.h
* Description: Extern declaration for common tables
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ----------------... | 6,035 | 48.47541 | 98 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Include/arm_const_structs.h | /* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_const_structs.h
* Description: Constant structs that are initialized for user convenience.
* For example, some can be given as arguments to the arm_cfft_f32() function.
*
... | 2,961 | 43.208955 | 92 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/arm_signal_converge_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_signal_converge_example_f32.c
*
* Description: Example code demons... | 9,906 | 37.103846 | 106 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/math_helper.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0 b
*
* Project: CMSIS DSP Library
*
* Title: math_helper.c
*
* Description: Definition of all helper functions required.
... | 11,228 | 23.044968 | 77 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/arm_signal_converge_data.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_signal_converge_data.c
*
* Description: Test input ... | 19,965 | 72.948148 | 88 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_signal_converge_example/math_helper.h | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
*
* Title: math_helper.h
*
* Description: Prototypes of all helper funct... | 3,022 | 46.234375 | 91 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_variance_example/arm_variance_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_variance_example_f32.c
*
* Description: Example code demonstrating... | 7,228 | 34.263415 | 129 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/arm_graphic_equalizer_example_q31.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_graphic_equalizer_example_q31.c
*
* Description: Example showing a... | 22,948 | 54.701456 | 119 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/math_helper.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0 b
*
* Project: CMSIS DSP Library
*
* Title: math_helper.c
*
* Description: Definition of all helper functions required.
... | 11,228 | 23.044968 | 77 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_graphic_equalizer_example/math_helper.h | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
*
* Title: math_helper.h
*
* Description: Prototypes of all helper funct... | 3,022 | 46.234375 | 91 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_fft_bin_example/arm_fft_bin_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_fft_bin_example_f32.c
*
* Description: Example code demonstrating cal... | 5,673 | 34.685535 | 89 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_convolution_example/arm_convolution_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_convolution_example_f32.c
*
* Description: Example code demonstrat... | 10,854 | 42.770161 | 110 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_convolution_example/math_helper.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0 b
*
* Project: CMSIS DSP Library
*
* Title: math_helper.c
*
* Description: Definition of all helper functions required.
... | 11,228 | 23.044968 | 77 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_convolution_example/math_helper.h | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
*
* Title: math_helper.h
*
* Description: Prototypes of all helper funct... | 3,022 | 46.234375 | 91 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_fir_example/math_helper.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0 b
*
* Project: CMSIS DSP Library
*
* Title: math_helper.c
*
* Description: Definition of all helper functions required.
... | 11,228 | 23.044968 | 77 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_fir_example/arm_fir_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_fir_example_f32.c
*
* Description: Example code demonstrating h... | 8,951 | 37.25641 | 129 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_fir_example/arm_fir_data.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_fir_data.c
*
* Description: Data file used for exam... | 12,581 | 92.2 | 128 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_fir_example/math_helper.h | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
*
* Title: math_helper.h
*
* Description: Prototypes of all helper funct... | 3,022 | 46.234375 | 91 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_class_marks_example/arm_class_marks_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_class_marks_example_f32.c
*
* Description: Example code to calcula... | 8,230 | 37.825472 | 88 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_matrix_example/arm_matrix_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_matrix_example_f32.c
*
* Description: Example code demonstrating l... | 8,110 | 33.662393 | 88 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0 b
*
* Project: CMSIS DSP Library
*
* Title: math_helper.c
*
* Description: Definition of all helper functions required.
... | 11,228 | 23.044968 | 77 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.h | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
*
* Title: math_helper.h
*
* Description: Prototypes of all helper funct... | 3,022 | 46.234375 | 91 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/math_helper.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0 b
*
* Project: CMSIS DSP Library
*
* Title: math_helper.c
*
* Description: Definition of all helper functions required.
... | 11,228 | 23.044968 | 77 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/arm_linear_interp_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_linear_interp_example_f32.c
*
* Description: Example code demonstr... | 8,528 | 40.604878 | 121 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_linear_interp_example/math_helper.h | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
*
* Title: math_helper.h
*
* Description: Prototypes of all helper funct... | 3,022 | 46.234375 | 91 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/DSP/Examples/ARM/arm_dotproduct_example/arm_dotproduct_example_f32.c | /* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_dotproduct_example_f32.c
*
* Description: Example code computing d... | 6,776 | 36.860335 | 90 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core/Include/tz_context.h | /******************************************************************************
* @file tz_context.h
* @brief Context Management for Armv8-M TrustZone
* @version V1.0.1
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018... | 2,687 | 36.859155 | 88 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core/Include/cmsis_version.h | /**************************************************************************//**
* @file cmsis_version.h
* @brief CMSIS Core(M) Version definitions
* @version V5.0.2
* @date 19. April 2017
******************************************************************************/
/*
* Copyright (c) 2009-2017 ARM L... | 1,677 | 40.95 | 118 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core/Include/cmsis_compiler.h | /**************************************************************************//**
* @file cmsis_compiler.h
* @brief CMSIS compiler generic header file
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 A... | 8,748 | 31.76779 | 113 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core/Include/mpu_armv8.h | /******************************************************************************
* @file mpu_armv8.h
* @brief CMSIS MPU API for Armv8-M MPU
* @version V5.0.4
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2017-2018 Arm Limited... | 10,625 | 30.814371 | 130 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core/Template/ARMv8-M/tz_context.c | /******************************************************************************
* @file tz_context.c
* @brief Context Management for Armv8-M TrustZone - Sample implementation
* @version V1.1.1
* @date 10. January 2018
******************************************************************************/
/*
*... | 5,801 | 27.865672 | 92 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core/Template/ARMv8-M/main_s.c | /******************************************************************************
* @file main_s.c
* @brief Code template for secure main function
* @version V1.1.1
* @date 10. January 2018
******************************************************************************/
/*
* Copyright (c) 2013-2018 Arm L... | 1,819 | 29.847458 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core_A/Source/irq_ctrl_gic.c | /**************************************************************************//**
* @file irq_ctrl_gic.c
* @brief Interrupt controller handling implementation for GIC
* @version V1.0.1
* @date 9. April 2018
******************************************************************************/
/*
* Copyright (c... | 9,154 | 21.274939 | 95 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core_A/Include/cmsis_cp15.h | /**************************************************************************//**
* @file cmsis_cp15.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.0.1
* @date 07. Sep 2017
******************************************************************************/
/*
* Copyright (c... | 12,037 | 22.374757 | 104 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core_A/Include/cmsis_compiler.h | /**************************************************************************//**
* @file cmsis_compiler.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.0.2
* @date 10. January 2018
******************************************************************************/
/*
* Copy... | 5,255 | 25.019802 | 93 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/charger/Drivers/CMSIS/Core_A/Include/irq_ctrl.h | /**************************************************************************//**
* @file irq_ctrl.h
* @brief Interrupt Controller API header file
* @version V1.0.0
* @date 23. June 2017
******************************************************************************/
/*
* Copyright (c) 2017 ARM Limited. ... | 8,290 | 43.336898 | 127 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/USB_DEVICE/App/usbd_cdc_if.c | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usbd_cdc_if.c
* @version : v1.0_Cube
* @brief : Usb device for Virtual Com Port.
******************************************************************************
... | 8,544 | 26.564516 | 91 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/USB_DEVICE/App/usb_device.h | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usb_device.h
* @version : v1.0_Cube
* @brief : Header for usb_device.c file.
******************************************************************************
* @a... | 2,410 | 21.745283 | 93 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/USB_DEVICE/App/usb_device.c | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usb_device.c
* @version : v1.0_Cube
* @brief : This file implements the USB Device
******************************************************************************
... | 2,595 | 23.961538 | 84 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/USB_DEVICE/App/usbd_desc.c | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : App/usbd_desc.c
* @version : v1.0_Cube
* @brief : This file implements the USB device descriptors.
***************************************************************... | 10,421 | 25.318182 | 87 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h | /**
******************************************************************************
* @file usbd_def.h
* @author MCD Application Team
* @brief General defines for the usb device library
******************************************************************************
* @attention
*
* <h2><center>©... | 11,393 | 31.647564 | 103 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h | /**
******************************************************************************
* @file usbd_core.h
* @author MCD Application Team
* @brief Header file for usbd_core.c file
******************************************************************************
* @attention
*
* <h2><center>© Copyrig... | 5,017 | 29.975309 | 99 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_desc_template.h | /**
******************************************************************************
* @file usbd_desc_template.h
* @author MCD Application Team
* @brief Header for usbd_desc_template.c module
******************************************************************************
* @attention
*
* <h2><center... | 1,755 | 40.809524 | 113 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h | /**
******************************************************************************
* @file usbd_ioreq.h
* @author MCD Application Team
* @brief Header file for the usbd_ioreq.c file
******************************************************************************
* @attention
*
* <h2><center>© C... | 2,645 | 21.05 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_conf_template.h | /**
******************************************************************************
* @file usbd_conf_template.h
* @author MCD Application Team
* @brief Header file for the usbd_conf_template.c file
******************************************************************************
* @attention
*
* <h2>... | 3,602 | 21.104294 | 102 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_conf_template.c | /**
******************************************************************************
* @file usbd_conf_template.c
* @author MCD Application Team
* @brief USB Device configuration and interface file
* This template should be copied to the user folder,
* renamed and customized following ... | 5,714 | 27.292079 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c | /**
******************************************************************************
* @file usbd_req.c
* @author MCD Application Team
* @brief This file provides the standard USB requests following chapter 9.
******************************************************************************
* @attention
... | 20,720 | 21.547334 | 85 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_desc_template.c | /**
******************************************************************************
* @file usbd_desc_template.c
* @author MCD Application Team
* @brief This file provides the USBD descriptors and string formatting method.
* This template should be copied to the user folder,
* renamed... | 9,453 | 33.007194 | 96 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c | /**
******************************************************************************
* @file usbd_ioreq.c
* @author MCD Application Team
* @brief This file provides the IO requests APIs for control endpoints.
******************************************************************************
* @attention
*... | 4,606 | 20.230415 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc.h | /**
******************************************************************************
* @file usbd_cdc.h
* @author MCD Application Team
* @brief header file for the usbd_cdc.c file.
******************************************************************************
* @attention
*
* <h2><center>© Copy... | 4,938 | 26.438889 | 113 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc/usbd_cdc_if_template.h | /**
******************************************************************************
* @file usbd_cdc_if_template.h
* @author MCD Application Team
* @brief Header for usbd_cdc_if_template.c file.
******************************************************************************
* @attention
*
* <h2><cen... | 1,583 | 33.434783 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc_if_template.c | /**
******************************************************************************
* @file usbd_cdc_if_template.c
* @author MCD Application Team
* @brief Generic media access Layer.
******************************************************************************
* @attention
*
* <h2><center>© C... | 5,217 | 22.294643 | 84 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/proto/pb_common.c | /* pb_common.c: Common support functions for pb_encode.c and pb_decode.c.
*
* 2014 Petteri Aimonen <jpa@kapsi.fi>
*/
#include "pb_common.h"
static bool load_descriptor_values(pb_field_iter_t *iter)
{
uint32_t word0;
uint32_t data_offset;
uint_least8_t format;
int_least8_t size_offset;
if (iter... | 10,192 | 29.246291 | 108 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/main.h | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
*************************************************... | 3,214 | 28.768519 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/quadspi.h | /**
******************************************************************************
* File Name : QUADSPI.h
* Description : This file provides code for the configuration
* of the QUADSPI instances.
****************************************************************************... | 1,501 | 24.457627 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/stm32h7xx_hal_conf.h | /**
******************************************************************************
* @file stm32h7xx_hal_conf.h
* @author MCD Application Team
* @brief HAL configuration file.
******************************************************************************
* @attention
*
* <h2><center>© Copyrig... | 18,234 | 35.912955 | 114 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/memory_map.h | #pragma once
#define MAX_BANKS 2
#define MAX_SECTORS 8
#define FIRST_SECTOR 0
#define LAST_SECTOR 15
typedef struct {
uint32_t bank; // 1 or 2
uint32_t sector; // 0-7
uint32_t len; // number of sectors
} h7_flash_region_t;
const h7_flash_region_t FLASH_BOOTLOADER_REGION = {1,0,1};
const h7_flash_region_t FLAS... | 698 | 28.125 | 75 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/stm32h7xx_it.h | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32h7xx_it.h
* @brief This file contains the headers of the interrupt handlers.
******************************************************************************
* @attention
*
* <h2... | 2,097 | 28.138889 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/serial.h | #pragma once
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <limits.h>
#include <unistd.h>
#include "usbd_cdc_if.h"
#include "main.h"
#define USB_CDC_PACKET_SIZE 64
// Singleton status structure
typedef struct {
volatile int is_connected;
volatile int usb_cdc_overrun;
unsigned TxBytes;
uns... | 810 | 20.918919 | 90 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/bootloader.h | #pragma once
// Use 1-31 or >= 128 to avoid printable chars
enum {
HELLO_OPT =128,
ERASE_START_OPT =129,
ERASE_END_OPT =130,
BMS_HELLO_OPT =131,
BMS_PROG_OPT =132,
DATA_FILE_OPT =133,
BOTH_FILE_OPT =134,
};
#define APPLICATION_START_ADDR 0x08020400
// Commands are powers of 2 for easy flags
typedef en... | 1,328 | 23.611111 | 92 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/fmc.h | /**
******************************************************************************
* File Name : FMC.h
* Description : This file provides code for the configuration
* of the FMC peripheral.
******************************************************************************
* ... | 1,580 | 24.918033 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/debug.h | /**
******************************************************************************
* File Name : DEBUG.h
* Description : This file provides code for the configuration
* of the DEBUG instances.
******************************************************************************
... | 1,455 | 24.54386 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/pb_encode.h | /* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c.
* The main function is pb_encode. You also need an output stream, and the
* field descriptions created by nanopb_generator.py.
*/
#ifndef PB_ENCODE_H_INCLUDED
#define PB_ENCODE_H_INCLUDED
#include "pb.h"
#ifdef __cplusplus
extern "C" {
... | 6,946 | 36.349462 | 112 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/pb_common.h | /* pb_common.h: Common support functions for pb_encode.c and pb_decode.c.
* These functions are rarely needed by applications directly.
*/
#ifndef PB_COMMON_H_INCLUDED
#define PB_COMMON_H_INCLUDED
#include "pb.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Initialize the field iterator structure to beginning.
* Re... | 1,479 | 31.173913 | 101 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/usart.h | /**
******************************************************************************
* File Name : USART.h
* Description : This file provides code for the configuration
* of the USART instances.
******************************************************************************
... | 1,556 | 24.52459 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/serial_frame.h | #pragma once
#include <stdint.h>
#ifndef FRAME_MAX_SIZE
#define FRAME_MAX_SIZE 2048 // Only used for decoding. Host end should set larger for audio etc.
#endif
#define FRAME_MIN_SIZE 20 // Size of a 0 payload frame
typedef enum {
NO_ERR = 0,
NO_FRAME = 1,
TOO_BIG = 2,
BAD_PARM = 3,
UNK_ERR = 4,
MALFOR... | 1,846 | 26.567164 | 125 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/crc.h | /**
******************************************************************************
* File Name : CRC.h
* Description : This file provides code for the configuration
* of the CRC instances.
******************************************************************************
* @... | 1,475 | 24.016949 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/pb_decode.h | /* pb_decode.h: Functions to decode protocol buffers. Depends on pb_decode.c.
* The main function is pb_decode. You also need an input stream, and the
* field descriptions created by nanopb_generator.py.
*/
#ifndef PB_DECODE_H_INCLUDED
#define PB_DECODE_H_INCLUDED
#include "pb.h"
#ifdef __cplusplus
extern "C" {
#... | 7,302 | 36.64433 | 107 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Inc/gpio.h | /**
******************************************************************************
* File Name : gpio.h
* Description : This file contains all the functions prototypes for
* the gpio
******************************************************************************
* @att... | 1,453 | 24.068966 | 80 | h |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/usart.c | /**
******************************************************************************
* File Name : USART.c
* Description : This file provides code for the configuration
* of the USART instances.
******************************************************************************
... | 5,588 | 26.53202 | 82 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/gpio.c | /**
******************************************************************************
* File Name : gpio.c
* Description : This file provides code for the configuration
* of all used GPIO pins.
******************************************************************************
*... | 6,978 | 35.348958 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/bms_serial.c | #include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "usart.h"
#include "main.h"
#include "stm32h7xx_ll_usart.h"
#include "bms_serial.h"
#define BMS_TIMEOUT_MS 20
#define BMS_TIMEOUT_LONG_MS 1000
#define BMS_UART &huart2
#define BMS_MAX_FRAME_SIZE 1024
/*
Protocol: Sending signals RTS to Receiver ... | 3,820 | 27.514925 | 126 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/serial_frame.c |
/*
A trivial HDLC-like framing system
Uses 0x7E (flag) and 0x7D (escape) ONLY
Frame format:
[FLAG DEST TYPE DATA-N CRC32 TIMESTAMP FLAG]
Where
FLAG: 0x7E (1-byte) delimits the frame at both ends
DEST: 1-byte destination address
TYPE: 4-byte describes frame type and payload
DATA-N: Variable length payload
CRC: 32-bit ... | 10,281 | 24.964646 | 126 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/stm32h7xx_it.c | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32h7xx_it.c
* @brief Interrupt Service Routines.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... | 6,469 | 24.175097 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/fmc.c | /**
******************************************************************************
* File Name : FMC.c
* Description : This file provides code for the configuration
* of the FMC peripheral.
******************************************************************************
* ... | 8,762 | 28.505051 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/stm32h7xx_hal_msp.c | /* USER CODE BEGIN Header */
/**
******************************************************************************
* File Name : stm32h7xx_hal_msp.c
* Description : This file provides code for the MSP Initialization
* and de-Initialization codes.
****************************... | 2,529 | 26.802198 | 80 | c |
null | SONYC-MKII-main/sonyc_mkii_tools/h7boot/Core/Src/serial.c |
#include "serial.h"
#include "usart.h"
#define MY_UART &huart5 // Not used by default
#ifndef STRING_BUF_SIZE
#define STRING_BUF_SIZE 128
#endif
// Note buffers are large to accomodate testing
#ifndef USB_IN_BUF_SIZE
#define USB_IN_BUF_SIZE 2048
#endif
#define INBUF_IDX usb_cdc_status.RxQueueBytes // Alias, to co... | 4,961 | 25.677419 | 100 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.