📄 port_config_mc1321x.h
字号:
#ifndef _PORT_CONFIG_MC1321x_H
#define _PORT_CONFIG_MC1321x_H
#define HCS08G
#define MC13192_CE PTED_PTED2
#define MC13192_CE_PORT PTEDD_PTEDD2
#define MC13192_ATTN PTDD_PTDD0
#define MC13192_ATTN_PORT PTDDD_PTDDD0
#define MC13192_RTXEN PTDD_PTDD1
#define MC13192_RTXEN_PORT PTDDD_PTDDD1
#define MC13192_RESET PTDD_PTDD3
#define MC13192_RESET_PORT PTDDD_PTDDD3
#define MC13192_RESET_PULLUP PTDPE_PTDPE3
#define MC13192_IRQ_SOURCE IRQSC
#define MC13192_IRQ_IE_BIT IRQSC_IRQIE
/* Antenna Switch/PA can be implemented via the CT_Bias control line */
/* See the MC1321x reference manual */
#ifdef ANTENNA_SWITCH
#define MC13192_ANT_CTRL PTBD_PTBD6
#define MC13192_ANT_CTRL2 PTBD_PTBD6 /*
* Second Control line not
* used in MC13192EVB
*/
#define MC13192_ANT_CTRL_PORT PTBDD_PTBDD6
#define MC13192_ANT_CTRL2_PORT PTBDD_PTBDD6 /*
* Second Control line not
* used in MC13192EVB
*/
#define ANT_CTRL_OFF 0 /* Logic low is off */
#define ANT_CTRL_ON 1 /* Logic high is on */
#endif ANTENNA_SWITCH
#ifdef LNA
#define MC13192_LNA_CTRL PTBD_PTBD0
#define MC13192_LNA_CTRL_PORT PTBDD_PTBDD0
#define LNA_ON 1
#define LNA_OFF 0
#endif LNA
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -