00001 /* ---------------------------------------------------------------------- 00002 * Copyright (C) 2010 ARM Limited. All rights reserved. 00003 * 00004 * $Date: 15. July 2011 00005 * $Revision: V1.0.10 00006 * 00007 * Project: CMSIS DSP Library 00008 * Title: arm_mat_init_q31.c 00009 * 00010 * Description: Q31 matrix initialization. 00011 * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 00012 * 00013 * Version 1.0.10 2011/7/15 00014 * Big Endian support added and Merged M0 and M3/M4 Source code. 00015 * 00016 * Version 1.0.3 2010/11/29 00017 * Re-organized the CMSIS folders and updated documentation. 00018 * 00019 * Version 1.0.2 2010/11/11 00020 * Documentation updated. 00021 * 00022 * Version 1.0.1 2010/10/05 00023 * Production release and review comments incorporated. 00024 * 00025 * Version 1.0.0 2010/09/20 00026 * Production release and review comments incorporated. 00027 * 00028 * Version 0.0.5 2010/04/26 00029 * incorporated review comments and updated with latest CMSIS layer 00030 * 00031 * Version 0.0.3 2010/03/10 00032 * Initial version 00033 * -------------------------------------------------------------------------- */ 00034 00035 00036 #include "arm_math.h" 00037 00061 void arm_mat_init_q31( 00062 arm_matrix_instance_q31 * S, 00063 uint16_t nRows, 00064 uint16_t nColumns, 00065 q31_t * pData) 00066 { 00067 /* Assign Number of Rows */ 00068 S->numRows = nRows; 00069 00070 /* Assign Number of Columns */ 00071 S->numCols = nColumns; 00072 00073 /* Assign Data pointer */ 00074 S->pData = pData; 00075 } 00076