资源简介
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.
*
* \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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-10-28 10:38 STM32F4-Discovery_FW_V1.1.0\
目录 0 2011-10-28 10:31 STM32F4-Discovery_FW_V1.1.0\Libraries\
目录 0 2011-10-28 10:37 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\
文件 51511 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf
目录 0 2011-10-28 10:37 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\
文件 13643 2011-07-29 14:50 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS-SVD_Schema_1_0.xsd
文件 127419 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS_CM4_SIMD.htm
文件 65406 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS_Core.htm
文件 9956 2011-07-27 09:27 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS_DebugSupport.htm
文件 17863 2011-07-27 08:48 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS_History.htm
文件 123676 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS_Logo_Final.jpg
文件 67286 2011-07-27 09:43 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\CMSIS_System_View_Desc
目录 0 2011-10-28 10:37 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\
目录 0 2011-10-28 10:37 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\
文件 15267 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\annotated.html
文件 20882 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_class_marks_example_f32_8c-example.html
文件 21498 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_convolution_example_f32_8c-example.html
文件 14580 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_dotproduct_example_f32_8c-example.html
文件 12892 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_fft_bin_example_f32_8c-example.html
文件 17085 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_fir_example_f32_8c-example.html
文件 40177 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_graphic_equalizer_example_q31_8c-example.html
文件 17696 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_linear_interp_example_f32_8c-example.html
文件 19019 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_matrix_example_f32_8c-example.html
文件 25734 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_signal_converge_example_f32_8c-example.html
文件 14778 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_sin_cos_example_f32_8c-example.html
文件 17189 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm_variance_example_f32_8c-example.html
文件 5272 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__f32_8c.html
文件 11579 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__f32_8c_source.html
文件 5222 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q15_8c.html
文件 15956 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q15_8c_source.html
文件 5222 2011-07-26 10:34 STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\Documentation\DSP_Lib\html\arm__abs__q31_8c.html
............此处省略2400个文件信息
相关资源
- STM32F407VE_ETH_RMII+LAN8720源码
- STM32F407中文手册(完全版) 高清完整
- STM32F407 TCP服务器例程
- STM32F407+LWIP+DP83848移植例程
- STM32F407_ESP8266连接机智云
- STM32F407+FREERTOS模板程序
- stm32f407 ili9341屏幕驱动 HAL库 带FreeR
- stm32f407 双通道ADC DMA采集代码
- STM32F407 uCOS-III FAT32 I2C LCD SD卡
- STM32F407VET 基于DDS 用内置DAC实现实现多
- STM32F407驱动2.4寸的SPI接口LCD程序.zip
- STM32F407 例程.zip
- 基于stm32F407的i2c双机通讯
- stm32F407 SPI1/SPI2 DMA 方式读写 CH376S
- STM32F407 W8782模块驱动代码
- 基于IAR的STM32F407程序模板
- 2019年电赛h题电磁曲线炮,stm32f407控制
- stm32f407开发板实现485串口modbus协议通
- opus编解码移植stm32f407
- STM32F407,18电赛A题,非接触式电流检
- STM32F10x_StdPeriph_Lib_V3.5.0官方库文件
- STM32F407编码器
- 正点原子STM32F407探索者PCB图+原理图
- STM32F407 USB Device HID Full Speed 例程
- STM32F407信号发生器整体代码.zip
- stm32f407驱动ws2818全彩灯7灯
- 基于stm32f407飞控+stm32f103遥控sxy飞行器
- STM32F407参考手册
- 基于STM32F407--OLED--两线IIC显示
- STM32F407智能家居
评论
共有 条评论