资源简介
STM32F4xx 系列固件库,看到还有很多人找,传上来方便大家。
代码片段和文件信息
/* ----------------------------------------------------------------------
* 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.
*
* \note 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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 51511 2011-07-26 10:34 Libraries\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf
文件 13643 2011-07-29 14:50 Libraries\CMSIS\Documentation\CMSIS-SVD_Schema_1_0.xsd
文件 127419 2011-07-26 10:34 Libraries\CMSIS\Documentation\CMSIS_CM4_SIMD.htm
文件 65406 2011-07-26 10:34 Libraries\CMSIS\Documentation\CMSIS_Core.htm
文件 9956 2011-07-27 09:27 Libraries\CMSIS\Documentation\CMSIS_DebugSupport.htm
文件 17863 2011-07-27 08:48 Libraries\CMSIS\Documentation\CMSIS_History.htm
文件 123676 2011-07-26 10:34 Libraries\CMSIS\Documentation\CMSIS_Logo_Final.jpg
文件 67286 2011-07-27 09:43 Libraries\CMSIS\Documentation\CMSIS_System_View_Desc
文件 15267 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\annotated.html
文件 20882 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_class_marks_example_f32_8c-example.html
文件 21498 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_convolution_example_f32_8c-example.html
文件 14580 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_dotproduct_example_f32_8c-example.html
文件 12892 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_fft_bin_example_f32_8c-example.html
文件 17085 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_fir_example_f32_8c-example.html
文件 40177 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_graphic_equalizer_example_q31_8c-example.html
文件 17696 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_linear_interp_example_f32_8c-example.html
文件 19019 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_matrix_example_f32_8c-example.html
文件 25734 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_signal_converge_example_f32_8c-example.html
文件 14778 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_sin_cos_example_f32_8c-example.html
文件 17189 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm_variance_example_f32_8c-example.html
文件 5272 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__f32_8c.html
文件 11579 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__f32_8c_source.html
文件 5222 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q15_8c.html
文件 15956 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q15_8c_source.html
文件 5222 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q31_8c.html
文件 12282 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q31_8c_source.html
文件 5216 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q7_8c.html
文件 14433 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q7_8c_source.html
文件 5326 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__add__f32_8c.html
文件 11657 2011-07-26 10:34 Libraries\CMSIS\Documentation\DSP_Lib\html\arm__add__f32_8c_source.html
............此处省略1567个文件信息
相关资源
- ENC28j60 STM32程序
- stm32f103上实现的一个fft算法
- STM32的无线图像采集传输系统的硬件设
- stm32移植uCOSii,内含移植步骤和代码
- 基于stm32的蓝牙密码锁
- stm32F407从flash上播放mp3 flash是W25Q128
- STM32定时器捕获脉冲宽度
- STM32F429操作两片AD7689
- stm32陀螺仪,颜色识别抓球小车.zip
- STM32F103C8T6+FreeRTOS+Keil5 代码亲测完美
- STM32单片机最小原理图+PCB
- STM32L431RC裸机移植RTT完整工程代码.r
- STM32实验RGB彩灯控制.zip
- STM32F4xx_W25Q128_20200619_FLM项目.rar
- FreeRTOS和FreeMODBUS移植到STM32F407傻瓜教
- 基于OV5640摄像头二维码识别例程
- ATSHA204A数据手册(有中文注释)+stm
- stm32通过串口更新字库
- ADS1115的STM32F407的驱动
- STM32f10x使用L298N驱动电机程序模板直接
- 2018年吉林省电子设计竞赛智能物流车
- STM32F429内部FLASH读写保护测试程序
- 12864LCD_STM32
- OLED原理图、说明、程序51、stm32、Ar
- STM32F4读取ADS1262数据外部压力传感器
- ESP8266和stm32之四实现LCD联网
- 程控音频放大器+FFT频谱显示
- 基于stm32智能手环.zip
- modbus-主机-stm32移植源码与调试工具
- PS2手柄的STM32应用
评论
共有 条评论