https://www.st.com/en/embedded-software/stm32cubef1.htmlโหลดโปรแกรมมาแล้วดู CMSIS DSP ตามไฟล์นี้ครับ
file:///D:/System%20Workbench/STM32CubeF1-master/Drivers/CMSIS/docs/DSP/html/index.htmlCMSIS DSP Software LibraryIntroductionuser manual นี้อธิบาย the CMSIS DSP software library, ซึ่งเป็นชุดของ common signal processing functions สำหรับใช้กับ Cortex-M processor based devices.
The library ถูกแบ่งออกเป็นจำนวนหนึ่งของ functions ซึ่งแต่ละครอบคลุมหมวดหมู่เฉพาะ :
• Basic math functions
• Fast math functions
• Complex math functions
• Filters
• Matrix functions
• Transforms
• Motor control functions
• Statistical functions
• Support functions
• Interpolation functions
The library มีฟั่งชั่นที่แยกกันสำหรับการทำงานบน 8-bit integers, 16-bit integers, 32-bit integer and 32-bit floating-point values.
Using the LibraryThe library installer บรรจุ prebuilt versions ของ the libraries ใน the Lib folder.
• arm_cortexM7lfdp_math.lib (Cortex-M7, Little endian, Double Precision Floating Point Unit)
• arm_cortexM7bfdp_math.lib (Cortex-M7, Big endian, Double Precision Floating Point Unit)
• arm_cortexM7lfsp_math.lib (Cortex-M7, Little endian, Single Precision Floating Point Unit)
• arm_cortexM7bfsp_math.lib (Cortex-M7, Big endian and Single Precision Floating Point Unit on)
• arm_cortexM7l_math.lib (Cortex-M7, Little endian)
• arm_cortexM7b_math.lib (Cortex-M7, Big endian)
• arm_cortexM4lf_math.lib (Cortex-M4, Little endian, Floating Point Unit)
• arm_cortexM4bf_math.lib (Cortex-M4, Big endian, Floating Point Unit)
• arm_cortexM4l_math.lib (Cortex-M4, Little endian)
• arm_cortexM4b_math.lib (Cortex-M4, Big endian)
• arm_cortexM3l_math.lib (Cortex-M3, Little endian)
• arm_cortexM3b_math.lib (Cortex-M3, Big endian)
• arm_cortexM0l_math.lib (Cortex-M0 / Cortex-M0+, Little endian)
• arm_cortexM0b_math.lib (Cortex-M0 / Cortex-M0+, Big endian)
• arm_ARMv8MBLl_math.lib (Armv8-M Baseline, Little endian)
• arm_ARMv8MMLl_math.lib (Armv8-M Mainline, Little endian)
• arm_ARMv8MMLlfsp_math.lib (Armv8-M Mainline, Little endian, Single Precision Floating Point Unit)
• arm_ARMv8MMLld_math.lib (Armv8-M Mainline, Little endian, DSP instructions)
• arm_ARMv8MMLldfsp_math.lib (Armv8-M Mainline, Little endian, DSP instructions, Single Precision Floating
Point Unit)
The library functions ถูกประกาศใน the public file arm_math.h ซึ่งถูกวางใน the Include folder. ง่ายต่อการรวมไฟล์นี้และเชื่อมโยง the appropriate library ใน the application และเริ่มการเรียก the library functions. The Library รองรับ single public header file arm_math.h สำหรับ Cortex-M core ด้วย little endian และ big endian. header file เดียวกันนี้จะถูกใช้สำหรับ floating point unit(FPU) variants. Define(กำหนด) the appropriate pre processor MACRO ARM_MATH_CM7 or ARM_MATH_CM4 or ARM_MATH_CM3 or ARM_MATH_CM0 or ARM_MATH_CM0PLUS ขึ้นอยู่กับ the target processor ใน the application. สำหรับ Armv8-M cores define(กำหนด) preprocessor macro ARM_MATH_ARMV8MBL or ARM_MATH_ARMV8MML. เซ็ต preprocessor macro __DSP_PRESENT ถ้า Armv8-M Mainline core รองรับ DSP instructions.