问题一:RX_MODE_WTO是什么模式?
问题二:
Channel/Channel Number/Frequency(MHz)/lo1_idiv[7:0]Fractional/lo1_num[15:01]
1 11 2405 149 / 0x95 20480 / 0x5000
上面自己对应关系怎么确定的?
问题三:
rtx_mode = RESET_DELAY; /* Add a delay to debouce the reset switch on development boards ~200ms */ TPM1SC = 0x0D; /* Set the Timer module to use BUSCLK as reference with Prescalar at / 32 */ do { timer_hi = TPM1CNTH; /* Get the value of the timer register (hi byte) */ timer_lo = TPM1CNTL; /* Get the value of the timer register (lo byte) */ } while (timer_lo <= 0x80); /* Poll for TIMER LO to be greater than 0x80 at 4MHz/32*/ TPM1SC = 0x00; /* Return to reset values */
rtx_mode = SYSTEM_RESET_MODE; init_gpio(); SPI1C1 = 0x50; /* Init SPI */ SPI1C2 = 0x00; SPI1BR = 0x00; IRQSC = 0x14; /* Turn on the IRQ pin. */ rtx_mode = MC13192_RESET_MODE; MC13192_RESET = 1; /* Take MC13192 out of reset */
这段程序中rtx_mode为什么多次出现? |