mc13192_hw_config.h
来自「zigbee通讯程序,设计方案为MC13191+C51,通过串口对无线模块进行控」· C头文件 代码 · 共 43 行
H
43 行
/**************************************************************
* 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 + =
减小字号Ctrl + -
显示快捷键?