下载的UCD3138HSFBEVM-029固件,程序在配置函数void configure_ovp(void)、void configure_cpcc(void)等多次用到类似下面函数:
//This struct represents the floating point number: 10.24
struct qnote constant_10_24 = {20972 , -11};
不清楚{20972 , -11}和10.24之间的转换关系,请告知,多谢!
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.
下载的UCD3138HSFBEVM-029固件,程序在配置函数void configure_ovp(void)、void configure_cpcc(void)等多次用到类似下面函数:
//This struct represents the floating point number: 10.24
struct qnote constant_10_24 = {20972 , -11};
不清楚{20972 , -11}和10.24之间的转换关系,请告知,多谢!