在以下头文件中定义:

1
2
#include <stdint.h>
#include "arm_math.h"
1
2
3
4
5
float32_t // 32位浮点数,本质上通常是 float 
float64_t // 64位浮点数 double
q15_t // 16位定点数 int8_t
q31_t // 32位定点数 int16_t
q7_t // 8位定点数 int32_t

_t 为 type 简写,编程习惯