[][src]Crate cmsis_dsp

This library provides Rust-friendly interfaces to the CMSIS DSP library, which implements many mathematical and signal processing operations for ARM Cortex-M processors.

Complete documentation for the underlying library can be found here.

Configuring and using the bindings

Different versions of the library will be linked depending on the type of processor the code will run on. You may need to enable some Cargo features depending on the target:

  • Cortex-M7: Enable the feature cortex-m7. Also, if the processor has a double-precision floating point unit, enable the double-precision-fpu feature.
  • Cortex-M33 (target thumbv8m.main-none-eabi or thumbv8m.main-none-eabihf): If the processor supports DSP instructions, enable the dsp-instructions feature.

All other targets will be configured automatically based on the target passed to cargo. If you forget to enable a feature, everything should still work but it may be slower.

Modules

basic

Basic math functions

complex

Complex number operations

transform

Fast Fourier Transforms

Enums

Error

DSP library errors

Type Definitions

Result

Result type alias