channel | The channel number which must be in the range 11<=channel<=26. All other values are reserved and must not be used. |
trx_bit_write(SR_CHANNEL, channel);
trx_bit_write(SR_CHANNEL, newchan); delay_us(150); /* TRX_IRQ_PLL_LOCK occurs within this period */
channel = trx_bit_read(SR_CHANNEL);