CMSIS-NN  
CMSIS NN Software Library
arm_nn_math_types.h File Reference

Macros

#define NN_Q31_MAX   ((int32_t)(0x7FFFFFFFL))
 Add necessary typedefs. More...
 
#define NN_Q15_MAX   ((int16_t)(0x7FFF))
 
#define NN_Q7_MAX   ((int8_t)(0x7F))
 
#define NN_Q31_MIN   ((int32_t)(0x80000000L))
 
#define NN_Q15_MIN   ((int16_t)(0x8000))
 
#define NN_Q7_MIN   ((int8_t)(0x80))
 

Enumerations

enum  arm_cmsis_nn_status {
  ARM_CMSIS_NN_SUCCESS = 0 ,
  ARM_CMSIS_NN_ARG_ERROR = -1 ,
  ARM_CMSIS_NN_NO_IMPL_ERROR = -2
}
 Error status returned by some functions in the library. More...
 

Macro Definition Documentation

◆ NN_Q15_MAX

#define NN_Q15_MAX   ((int16_t)(0x7FFF))

◆ NN_Q15_MIN

#define NN_Q15_MIN   ((int16_t)(0x8000))

◆ NN_Q31_MAX

#define NN_Q31_MAX   ((int32_t)(0x7FFFFFFFL))

Copied from CMSIS/DSP/arm_math_types.h and modified

◆ NN_Q31_MIN

#define NN_Q31_MIN   ((int32_t)(0x80000000L))

◆ NN_Q7_MAX

#define NN_Q7_MAX   ((int8_t)(0x7F))

◆ NN_Q7_MIN

#define NN_Q7_MIN   ((int8_t)(0x80))

Enumeration Type Documentation

◆ arm_cmsis_nn_status

Enumerator
ARM_CMSIS_NN_SUCCESS 

No error

ARM_CMSIS_NN_ARG_ERROR 

One or more arguments are incorrect

ARM_CMSIS_NN_NO_IMPL_ERROR 

No implementation available