📄 mc13192_hw_config.h
字号:
/**************************************************************
* This is the SMAC C source driver header file for the
* MC13192 transceiver hardware interconnections.
* The header defines all prototypes and MC13192
* interconnections used by the actual C driver.
* Initialization is accomplished by the MC13192_hw_config.c
* source file.
**************************************************************/
/**************************************************************
* Includes
**************************************************************/
#include <REG51F.H>
#include "pub_def.h"
//
/**************************************************************
* Defines
* MC13192 to MCU interconnects (hardware SPI assumed).
**************************************************************/
sbit MC13192_CE = P2^0;
sbit MC13192_SPSCK = P2^1;
sbit MC13192_MISO = P2^2;
sbit MC13192_MOSI = P2^3;
sbit MC13192_ATTN = P2^4;
sbit MC13192_RTXEN = P2^5;
/**************************************************************
* Externals
**************************************************************/
extern unsigned char rtx_mode; /* Global mode mirror. */
/**************************************************************
* Prototypes
* See drivers.c for a complete description.
**************************************************************/
void MC13192_init(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -