divider = (Uint32)((float)(pUARTCfg->DSP_Core_Speed_Hz)/
(float)(pUARTCfg->baudRate * 6 * osmFactor)+0.5f);
baudRate * 6 * osmFactor为什么还要乘6,芯片手册上没有乘6,这个是什么意思
0.5f这个又是什么意思
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.
divider = (Uint32)((float)(pUARTCfg->DSP_Core_Speed_Hz)/
(float)(pUARTCfg->baudRate * 6 * osmFactor)+0.5f);
baudRate * 6 * osmFactor为什么还要乘6,芯片手册上没有乘6,这个是什么意思
0.5f这个又是什么意思