📄 cfg1755.h
字号:
//------------------------------------------------------------------------------------
// Module: Cfg1755.h
// Configuration item name definition.
// Advantech corp. 2002/12/13
//------------------------------------------------------------------------------------
/*
#define CFG_DeviceNumber "DeviceNumber"
#define CFG_BoardID "BoardID"
#define CFG_SwitchID "SwitchID"
#define CFG_BaseAddress "BaseAddress"
#define CFG_Interrupt "Interrupt"
#define CFG_BusNumber "BusNumber"
#define CFG_SlotNumber "SlotNumber" // slot number
#define CFG_OnSystem "OnSystem" // This device on system or not
// Paramaters for user direct control.
// DIO funcions
#define CFG_DioDirection "DioDirection" // each bit for one Auxiliary DIO channel.
#define CFG_DioFdioDirection "DioFdioDirection" // 32DI(0)/32DO(1)/ 16 DIO(2) / 8DIO(3)
#define CFG_DioTerminator "DioTerminator" // Bit 0: DI terminator (DI_TERM),ON (0) or OFF(1)
// Bit 1: DO terminator (DI_TERM) ON (0) or OFF(1)
// Counter functions
#define CFG_CounterCountValue "CounterCountValue" // 82C54 Counter 0-2 value
// Fast DI functions
#define CFG_DiOperationMode "DiOperationMode" // normal mode (0), 8255 handshaking(1), Burst handshaking(2)
#define CFG_DiStartMethod "DiStartMethod" // Software(1), External trigger(2), Pattern match(3)
#define CFG_DiStopMethod "DiStopMethod" // Software(1), External trigger(2), Pattern match(3)
#define CFG_DiPacerSource "DiPacerSource" // 30MHz(1), 15Mhz(2), 10MHz(3), Counter 0 OUT (4), External (5).
#define CFG_DiControlSignals "DiControlSignals" // Bit 0: External DI start signal control (STRRF), 0 rising edge, 1 falling edge.
// Bit 1: External DI stop signal control (STPRF), 0 rising edge, 1 falling edge.
// Bit 2: DI request signal control (REQRF), 0 rising edge, 1 falling edge.
// Bit 3: DI acknowledge signal control (ACKRF), 0 rising edge, 1 falling edge.
// Bit 4: DI sampling clock signal control (CLKRF), 0 rising edge, 1 falling edge
#define CFG_DiPatternMatchValue "DiPatternMatchValue"
// Fast DO functions paramaters
#define CFG_DoOperationMode "DoOperationMode" // Normal (0), Handahaking (1), Burst handshaking(2)
#define CFG_DoStartMethod "DoStartMethod" // Software(1), External signal(2)
#define CFG_DoStopMethod "DoStopMethod" // Software(1), External signal(2)
#define CFG_DoPacerSource "DoPacerSource" // 30, 15, 10 Mhz, Counter1, External signal (value range 1-5)
#define CFG_DoControlSignals "DoControlSignals" // Control signals
// Bit 0: External DO start signal control (STRRF), 0 rising edge, 1 falling edge.
// Bit 1: External DO stop signal control (STPRF), 0 rising edge, 1 falling edge.
// Bit 2: DO request signal control (REQRF), 0 rising edge, 1 falling edge.
// Bit 3: DO acknowledge signal control (ACKRF), 0 rising edge, 1 falling edge.
// Bit 4: DO sampling clock signal control (CLKRF), 0 rising edge, 1 falling edge
#define CFG_DoPresetValue "DoPresetValue" // DO status before transfering.
// Interrupt functions
#define CFG_IrqDiChangeStatusChannel "IrqDiChangeStatusChannel" // Change status channel number.
#define CFG_IrqDiTriggerSignals "IrqDiTriggerSignals" // Each bit for each Auxiliary DIO channel
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -