- UID
- 153653
- 性别
- 男
|
请问在SAMC的simple_phy.c中对接收模式或发送模式请求中(PLMESetTrxStateRequest())中有关天线设置怎么理解如NA PA ANTENNA_SWITCH怎么理解,我在头文件件中好像找不到它们的定义是不是不用啊,应该跟电路的设计有关吧?(程序是WIRE_LESS DEMO)其中的代码:#if defined (LNA)
MC13192_LNA_CTRL = LNA_ON;
#endif
#if defined (PA)
MC13192_PA_CTRL = PA_OFF;
#endif
#if defined (ANTENNA_SWITCH)
MC13192_ANT_CTRL2 = ANT_CTRL_ON; /* Turn on the RX antenna */
MC13192_ANT_CTRL = ANT_CTRL_OFF; /* Turn off the TX antenna */
#endif
请大家指导下,谢谢 |
|