Logo
MSP DSP Library
Types

Typedefs

typedef int16_t _q15
 Signed fixed point data type with 1 integer bit and 15 fractional bits.
 
typedef uint16_t _uq15
 Unsigned fixed point data type with 0 integer bit and 16 fractional bits.
 
typedef int32_t _iq31
 Signed fixed point data type with 1 integer bit and 31 fractional bits.
 
typedef uint32_t _uq31
 Unsigned fixed point data type with 0 integer bits and 32 fractional bits.
 

Enumerations

enum  msp_status {
  MSP_SUCCESS, MSP_SIZE_ERROR, MSP_SHIFT_SIZE_ERROR, MSP_TABLE_SIZE_ERROR,
  MSP_LEASC_BUSY, MSP_LEASC_INVALID_ADDRESS, MSP_LEASC_OUT_OF_RANGE, MSP_LEASC_SCALAR_INCONSISTENCY,
  MSP_LEASC_COMMAND_OVERFLOW
}
 Enumerated type to return the status of an operation. More...
 

Detailed Description

Definitions of types used in DSPLib.

Enumeration Type Documentation

enum msp_status

Enumerated type to return the status of an operation.

Enumerator
MSP_SUCCESS 

Successful operation.

MSP_SIZE_ERROR 

Invalid size, see API for restrictions.

MSP_SHIFT_SIZE_ERROR 

Invalid shift size, see API for restrictions.

MSP_TABLE_SIZE_ERROR 

Invalid table size, see API for restrictions.

MSP_LEASC_BUSY 

LEASC is busy and cannot be invoked.

MSP_LEASC_INVALID_ADDRESS 

Address is not within LEASC RAM section.

MSP_LEASC_OUT_OF_RANGE 

Command resulted in out of range memory access.

MSP_LEASC_SCALAR_INCONSISTENCY 

LEASC scalar data inconsistency error.

MSP_LEASC_COMMAND_OVERFLOW 

LEASC command overflow error.