This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cla中unsigned int型和float型怎么相互转换?

ad采样触发用28035的cla任务,采样的数值是unsigned int型的,要转换为float型进行运算、控制,然后再转换为unsigned int型输出PWM,可是如果强制类型转换出来的结果完全不对,请问这两种类型要如何转换?