资源简介
lpc1768例程资源,包含串口 ADC,SPI,I2c,PWM,DAC等例程
代码片段和文件信息
/* ----------------------------------------------------------------------
* 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
*
*/
#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.000000 47.000000 29.000000 50.000000
34.000000 41.000000 61.000000 46.000000
52.000000 50.000000 48.000000 36.000000
47.000000 55.000000 44.000000 40.000000
100.000000 94.000000 84.000000 37.000000
32.000000
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 51511 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf
文件 13369 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS-SVD_Schema_1_0.xsd
文件 123611 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS_CM4_SIMD.htm
文件 63937 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS_Core.htm
文件 9717 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS_DebugSupport.htm
文件 17391 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS_History.htm
文件 123676 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS_Logo_Final.jpg
文件 66130 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\CMSIS_System_View_Desc
文件 15267 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\annotated.html
文件 20882 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_class_marks_example_f32_8c-example.html
文件 21498 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_convolution_example_f32_8c-example.html
文件 14580 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_dotproduct_example_f32_8c-example.html
文件 12892 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_fft_bin_example_f32_8c-example.html
文件 17085 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_fir_example_f32_8c-example.html
文件 40177 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_graphic_equalizer_example_q31_8c-example.html
文件 17696 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_linear_interp_example_f32_8c-example.html
文件 19019 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_matrix_example_f32_8c-example.html
文件 25734 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_signal_converge_example_f32_8c-example.html
文件 14778 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_sin_cos_example_f32_8c-example.html
文件 17189 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm_variance_example_f32_8c-example.html
文件 5272 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__f32_8c.html
文件 11579 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__f32_8c_source.html
文件 5222 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__q15_8c.html
文件 15956 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__q15_8c_source.html
文件 5222 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__q31_8c.html
文件 12282 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__q31_8c_source.html
文件 5216 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__q7_8c.html
文件 14433 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__abs__q7_8c_source.html
文件 5326 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__add__f32_8c.html
文件 11657 2012-05-26 06:00 lpc175x_6x_cmsis_driver_library\Core\CMSIS\Documentation\DSP_Lib\html\arm__add__f32_8c_source.html
............此处省略3061个文件信息
相关资源
- S7-1500 Modbus-RTU通讯说明和例程.rar
- 玻尔电子护卫舰版之SXD28335_QFP软件例
- ccs3.3学习例程
- ATmega128单片机入门与提高 沈建良版例
- mc9x12xs128单片机的20个例程
- 电机驱动模块 BTN7971全套详细资料.z
- 02、STM32与迪文屏通信例程.rar
- ZYNQ PL FPGA UART 串口例程
- 原子stm32库函数例程.rar
- STM32F405RGT6串口例程
- STM32F103精英版FreeRTOS例程
- stm32 ID加密和校验例程
- sp37系统全套开发工具,包括编译软件
- 普中科技单片机例程
- rc522开发资料51读写卡参考例程及上位
- STM32F103系列例程
- STM32F1xx_HAL库_V1.4.0_及例程
- STM32F1标准例程
- stmf429开发板基础例程序
- 蓝桥杯第七届决赛第一名例程
- FPGA verilog例程+详细的注释
- TMS320F28335 例程 CCS 可直接运行
- STM32F407 TCP服务器例程
- 合泰单片机HT32F52352例程数据手册.zi
- NEC单片机78K0S系列例程
- STM32F407+LWIP+DP83848移植例程
- FPGA开发板Verilog例程基础+进阶
- stm32l151低功耗芯片待机测试例程
- 神州3号开发板例程
- ColdFire_MCF52259例程大全全部模块
评论
共有 条评论