📄 anybus.h
字号:
/* =================================================================================
File name: Anybus.H (28x version)
Originator: NIE R&D Group
Description:
Header file containing constants, data type definitions, and
function prototypes for the communication.
ver1.02
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-20-2005 Release Rev 1.0
------------------------------------------------------------------------------*/
//#include "DSP281x_Device.h"
#ifndef __Anybus_H__
#define __Anybus_H__
//***************************************************************/
//* Configurable Parameter for Anybus Serial */
//***************************************************************/
#define DPRAM_BASE 0x4000
#define ABINT GpioDataRegs.GPEDAT.bit.GPIOE0
#define RorW GpioDataRegs.GPFDAT.bit.GPIOF3
#define INDREG_MIN 0x80
#define INDREG_MOUT 0x40
#define INDREG_FB_CTRL 0x01
#define INDREG_OUT 0x02
#define INDREG_IN 0x04
#define APPINDREG_R_R 0x10
#define APPINDREG_L 0x08
#define ABINDREG_INIT 0x10
#define APPIND_REQ_BITS 0x1F
#define MBH_INFO_ERR_MASK 0x80
#endif /* extern "C" */
//#endif //
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -