ti_cc_hardware_board.h

来自「基于MSP430单片机的测温系统及无线通信程序。」· C头文件 代码 · 共 41 行

H
41
字号
//----------------------------------------------------------------------------
//  Description:  This file contains definitions specific to the hardware board.
//  Specifically, the definitions include hardware connections with the
//  CCxxxx connector port, LEDs, and switches.
//
//  MSP430/CC1100-2500 Interface Code Library v1.0
//
//  K. Quiring
//  Texas Instruments, Inc.
//  July 2006
//  IAR Embedded Workbench v3.41
//----------------------------------------------------------------------------


#include "TI_CC_msp430.h"

#define TI_CC_GDO0_PxOUT        P1OUT
#define TI_CC_GDO0_PxIN         P1IN
#define TI_CC_GDO0_PxDIR        P1DIR
#define TI_CC_GDO0_PxIE         P1IE
#define TI_CC_GDO0_PxIES        P1IES
#define TI_CC_GDO0_PxIFG        P1IFG
#define TI_CC_GDO0_PxSEL        P1SEL
#define TI_CC_GDO0_PIN          0x04///0x10

#define TI_CC_GDO2_PxOUT        P1OUT
#define TI_CC_GDO2_PxIN         P1IN
#define TI_CC_GDO2_PxDIR        P1DIR
#define TI_CC_GDO2_PIN          0x10///0x40

#define TI_CC_CSn_PxOUT        P1OUT///P5OUT
#define TI_CC_CSn_PxDIR        P1DIR///P5DIR
#define TI_CC_CSn_PIN          0x08 ///0x01
#define TI_CC_RF_SER_INTF     TI_CC_SER_INTF_USI // Interface to CCxxxx网友的
//#define TI_CC_RF_SER_INTF  TI_CC_SER_INTF_USCIB0

//----------------------------------------------------------------------------
// Select which port will be used for interface to CCxxxx
//----------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?