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.

TMS320F28035: adc

Part Number: TMS320F28035
Other Parts Discussed in Thread: C2000WARE

你好,问题如下:

①、28035是一个定点型的芯片,那么在读取ADC采样结果的时候,如果采样结果是带有小数的,会不会只能读取到整数部分?

例:我如果直接用该语句(Vin = AdcResult.ADCRESULT2)读取带有小数的结果会不会有影响? 

②、还有就是如果我要定义一个变量用于存储带有小数的ADC采样数据,是要用float还是Uint16?

例:假定输入电压的ADC采样数据的结果为0.015,那我是用float Vin 还是 Uint16 Vin?