Skip to content

Commit 600dea7

Browse files
authored
Improvements in documentation (ARM-software#144)
* Doc: fixing links in navigation of data structuctures * Doc: added section with generic types * Added repository tag to PDSC
1 parent dc95c82 commit 600dea7

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

ARM.CMSIS-DSP.pdsc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<vendor>ARM</vendor>
77
<license>LICENSE</license>
88
<url>https://www.keil.com/pack/</url>
9+
<repository type="git">https://github.com/ARM-software/CMSIS-DSP.git</repository>
910

1011
<releases>
1112
<release version="0.0.0">

Documentation/Doxygen/dsp.dxy.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ INLINE_GROUPED_CLASSES = YES
449449
# Man pages) or section (for LaTeX and RTF).
450450
# The default value is: NO.
451451

452-
INLINE_SIMPLE_STRUCTS = YES
452+
INLINE_SIMPLE_STRUCTS = NO
453453

454454
# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
455455
# enum is documented as struct, union, or enum with the name of the typedef. So
@@ -1080,7 +1080,9 @@ EXCLUDE_SYMBOLS = S \
10801080
MFCC_INIT_F16 \
10811081
MFCC_INIT_Q15 \
10821082
MFCC_INIT_Q31 \
1083-
FFTINIT
1083+
FFTINIT \
1084+
blockSize \
1085+
status
10841086

10851087

10861088
# The EXAMPLE_PATH tag can be used to specify one or more files or directories

Include/arm_math_types.h

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ extern "C"
128128
#endif
129129
#endif
130130

131-
#endif /*defined(__ARM_FEATURE_MVE)*/
132-
#endif /*!defined(ARM_MATH_AUTOVECTORIZE)*/
131+
#endif /* defined (__ARM_FEATURE_MVE) */
132+
#endif /* !defined (ARM_MATH_AUTOVECTORIZE) */
133133

134134

135135
#if defined (ARM_MATH_HELIUM)
@@ -282,6 +282,11 @@ extern "C"
282282
{
283283
#endif
284284

285+
/**
286+
* @defgroup genericTypes Generic Types
287+
* @{
288+
*/
289+
285290
/**
286291
* @brief 8-bit fractional data type in 1.7 format.
287292
*/
@@ -318,6 +323,7 @@ extern "C"
318323
* @brief vector types
319324
*/
320325
#if defined(ARM_MATH_NEON) || (defined (ARM_MATH_MVEI) && !defined(ARM_MATH_AUTOVECTORIZE))
326+
321327
/**
322328
* @brief 64-bit fractional 128-bit vector data type in 1.63 format
323329
*/
@@ -402,6 +408,7 @@ extern "C"
402408
#endif
403409

404410
#if defined(ARM_MATH_NEON) || (defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE)) /* floating point vector*/
411+
405412
/**
406413
* @brief 32-bit floating-point 128-bit vector type
407414
*/
@@ -454,7 +461,6 @@ extern "C"
454461
*/
455462
typedef float32x4x3_t f32x4x3_t;
456463

457-
458464
/**
459465
* @brief 32-bit fractional 128-bit vector triplet data type in 1.31 format
460466
*/
@@ -485,7 +491,6 @@ extern "C"
485491
*/
486492
typedef float32x2x4_t f32x2x4_t;
487493

488-
489494
/**
490495
* @brief 32-bit fractional 64-bit vector pair data type in 1.31 format
491496
*/
@@ -540,7 +545,6 @@ extern "C"
540545
int32x2_t i;
541546
} any32x2_t;
542547

543-
544548
/**
545549
* @brief 32-bit status 64-bit vector data type.
546550
*/
@@ -558,8 +562,24 @@ extern "C"
558562

559563
#endif
560564

565+
/**
566+
* @brief Error status returned by some functions in the library.
567+
*/
568+
typedef enum
569+
{
570+
ARM_MATH_SUCCESS = 0, /**< No error */
571+
ARM_MATH_ARGUMENT_ERROR = -1, /**< One or more arguments are incorrect */
572+
ARM_MATH_LENGTH_ERROR = -2, /**< Length of data buffer is incorrect */
573+
ARM_MATH_SIZE_MISMATCH = -3, /**< Size of matrices is not compatible with the operation */
574+
ARM_MATH_NANINF = -4, /**< Not-a-number (NaN) or infinity is generated */
575+
ARM_MATH_SINGULAR = -5, /**< Input matrix is singular and cannot be inverted */
576+
ARM_MATH_TEST_FAILURE = -6, /**< Test Failed */
577+
ARM_MATH_DECOMPOSITION_FAILURE = -7 /**< Decomposition Failed */
578+
} arm_status;
561579

562-
580+
/**
581+
* @} // endgroup generic
582+
*/
563583

564584

565585
#define F64_MAX ((float64_t)DBL_MAX)
@@ -598,23 +618,6 @@ extern "C"
598618
/* Dimension C vector space */
599619
#define CMPLX_DIM 2
600620

601-
/**
602-
* @brief Error status returned by some functions in the library.
603-
*/
604-
605-
typedef enum
606-
{
607-
ARM_MATH_SUCCESS = 0, /**< No error */
608-
ARM_MATH_ARGUMENT_ERROR = -1, /**< One or more arguments are incorrect */
609-
ARM_MATH_LENGTH_ERROR = -2, /**< Length of data buffer is incorrect */
610-
ARM_MATH_SIZE_MISMATCH = -3, /**< Size of matrices is not compatible with the operation */
611-
ARM_MATH_NANINF = -4, /**< Not-a-number (NaN) or infinity is generated */
612-
ARM_MATH_SINGULAR = -5, /**< Input matrix is singular and cannot be inverted */
613-
ARM_MATH_TEST_FAILURE = -6, /**< Test Failed */
614-
ARM_MATH_DECOMPOSITION_FAILURE = -7 /**< Decomposition Failed */
615-
} arm_status;
616-
617-
618621
#ifdef __cplusplus
619622
}
620623
#endif

0 commit comments

Comments
 (0)