STM32 dsp library function