stm32f407官方库


stm32f407 官方库 STM32 DISCOVERY 官方库文件
资源截图
代码片段和文件信息
/* ---------------------------------------------------------------------- 
* Copyright (C) 2010 ARM Limited. All rights reserved.   
*  
* $Date:        29. November 2010  
* $Revision:  V1.0.3 
*  
* Project:      CMSIS DSP Library  
* title:        arm_class_marks_example_f32.c   
*  
* Description: Example code to calculate Minimum Maximum 
*               Mean std and variance of marks obtained in a class 

* Target Processor: Cortex-M4/Cortex-M3
*
* Version 1.0.3 2010/11/29 
*    Re-organized the CMSIS folders and updated documentation. 
*  
* Version 1.0.1 2010/10/05 KK 
*    Production release and review comments incorporated.  
*
* Version 1.0.0 2010/09/20 KK
*    Production release and review comments incorporated.
* ------------------------------------------------------------------- */ 
 
/** 
 * @ingroup groupExamples 
 */ 
 
/**    
 * @defgroup ClassMarks Class Marks Example  
 *
 * par Description: 
 * par
 * Demonstrates the use the Maximum Minimum Mean Standard Deviation Variance
 * and Matrix functions to calculate statistical values of marks obtained in a class.
 *
 * 
ote This example also demonstrates the usage of static initialization.
 *  
 * par Variables Description:
 * par
 * li c testMarks_f32 points to the marks scored by 20 students in 4 subjects
 * li c max_marks     Maximum of all marks 
 * li c min_marks     Minimum of all marks 
 * li c mean          Mean of all marks
 * li c var           Variance of the marks
 * li c std           Standard deviation of the marks 
 * li c numStudents   Total number of students in the class
 *
 * par CMSIS DSP Software Library Functions Used:
 * par
 * - arm_mat_init_f32()
 * - arm_mat_mult_f32()
 * - arm_max_f32()
 * - arm_min_f32()
 * - arm_mean_f32()
 * - arm_std_f32()
 * - arm_var_f32()
 * 
 *  Refer   
 * link arm_class_marks_example_f32.c endlink
 * 
 */ 
 
 
/** example arm_class_marks_example_f32.c 
  */  
#include “arm_math.h“ 
 
#define USE_STATIC_INIT 
 
 /* ---------------------------------------------------------------------- 
** Global defines  
** ------------------------------------------------------------------- */ 
 
#define TEST_LENGTH_SAMPLES  (20*4) 
 
/* ---------------------------------------------------------------------- 
** List of Marks scored by 20 students for 4 subjects 
** ------------------------------------------------------------------- */  
const float32_t testMarks_f32[TEST_LENGTH_SAMPLES] =  
{    
42.000000 37.000000 81.000000 28.000000  
83.000000 72.000000 36.000000 38.000000  
32.000000 51.000000 63.000000 64.000000  
97.000000 82.000000 95.000000 90.000000  
66.000000 51.000000 54.000000 42.000000  
67.000000 56.000000 45.000000 57.000000  
67.000000 69.000000 35.000000 52.000000  
29.000000 81.000000 58.000000 47.000000  
38.000000 76.000000 100.000000 29.000000  
33

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-10-28 10:38  STM32F4-Discovery_FW_V1.1.0
     目录           0  2011-10-28 10:31  STM32F4-Discovery_FW_V1.1.0Libraries
     目录           0  2011-10-28 10:37  STM32F4-Discovery_FW_V1.1.0LibrariesCMSIS
     文件       51511  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISCMSIS END USER LICENCE AGREEMENT.pdf
     目录           0  2011-10-28 10:37  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentation
     文件       13643  2011-07-29 14:50  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS-SVD_Schema_1_0.xsd
     文件      127419  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS_CM4_SIMD.htm
     文件       65406  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS_Core.htm
     文件        9956  2011-07-27 09:27  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS_DebugSupport.htm
     文件       17863  2011-07-27 08:48  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS_History.htm
     文件      123676  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS_Logo_Final.jpg
     文件       67286  2011-07-27 09:43  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationCMSIS_System_View_Description.htm
     目录           0  2011-10-28 10:37  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Lib
     目录           0  2011-10-28 10:37  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtml
     文件       15267  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlannotated.html
     文件       20882  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_class_marks_example_f32_8c-example.html
     文件       21498  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_convolution_example_f32_8c-example.html
     文件       14580  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_dotproduct_example_f32_8c-example.html
     文件       12892  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_fft_bin_example_f32_8c-example.html
     文件       17085  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_fir_example_f32_8c-example.html
     文件       40177  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_graphic_equalizer_example_q31_8c-example.html
     文件       17696  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_linear_interp_example_f32_8c-example.html
     文件       19019  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_matrix_example_f32_8c-example.html
     文件       25734  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_signal_converge_example_f32_8c-example.html
     文件       14778  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_sin_cos_example_f32_8c-example.html
     文件       17189  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm_variance_example_f32_8c-example.html
     文件        5272  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm__abs__f32_8c.html
     文件       11579  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm__abs__f32_8c_source.html
     文件        5222  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm__abs__q15_8c.html
     文件       15956  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm__abs__q15_8c_source.html
     文件        5222  2011-07-26 10:34  STM32F4-Discovery_FW_V1.1.0LibrariesCMSISDocumentationDSP_Libhtmlarm__abs__q31_8c.html
............此处省略2400个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)