Introduction - If you have any usage issues, please Google them yourself
void Get_Frequency(void)
{
unsigned char hlsi
unsigned int npll = 0
npll = Pll_Data
hlsi = radio_read_data[2]&0x10
if (hlsi)
Frequency_Data = (unsigned long)((float)(npll)*(float)REFERENCE_FREQ*(float)0.25-225) //频率单位:KHz
else
Frequency_Data = (unsigned long)((float)(npll)*(float)REFERENCE_FREQ*(float)0.25+225) //频率单位:KHz
}