|
@@ -101,10 +101,10 @@ struct str_TimerMainHeader {
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
-typedef struct {
|
|
|
|
|
|
+struct str_AnalogOutputHeader {
|
|
unsigned short w_Nchannel;
|
|
unsigned short w_Nchannel;
|
|
unsigned char b_Resolution;
|
|
unsigned char b_Resolution;
|
|
-} str_AnalogOutputHeader;
|
|
|
|
|
|
+};
|
|
|
|
|
|
struct str_AnalogInputHeader {
|
|
struct str_AnalogInputHeader {
|
|
unsigned short w_Nchannel;
|
|
unsigned short w_Nchannel;
|
|
@@ -136,7 +136,7 @@ int i_EepromReadTimerHeader(unsigned short w_PCIBoardEepromAddress,
|
|
|
|
|
|
int i_EepromReadAnlogOutputHeader(unsigned short w_PCIBoardEepromAddress,
|
|
int i_EepromReadAnlogOutputHeader(unsigned short w_PCIBoardEepromAddress,
|
|
char *pc_PCIChipInformation, unsigned short w_Address,
|
|
char *pc_PCIChipInformation, unsigned short w_Address,
|
|
- str_AnalogOutputHeader *s_Header);
|
|
|
|
|
|
+ struct str_AnalogOutputHeader *s_Header);
|
|
|
|
|
|
int i_EepromReadAnlogInputHeader(unsigned short w_PCIBoardEepromAddress,
|
|
int i_EepromReadAnlogInputHeader(unsigned short w_PCIBoardEepromAddress,
|
|
char *pc_PCIChipInformation, unsigned short w_Address,
|
|
char *pc_PCIChipInformation, unsigned short w_Address,
|
|
@@ -811,7 +811,7 @@ int i_EepromReadMainHeader(unsigned short w_PCIBoardEepromAddress,
|
|
struct str_DigitalInputHeader s_DigitalInputHeader;
|
|
struct str_DigitalInputHeader s_DigitalInputHeader;
|
|
struct str_DigitalOutputHeader s_DigitalOutputHeader;
|
|
struct str_DigitalOutputHeader s_DigitalOutputHeader;
|
|
/* struct str_TimerMainHeader s_TimerMainHeader,s_WatchdogMainHeader; */
|
|
/* struct str_TimerMainHeader s_TimerMainHeader,s_WatchdogMainHeader; */
|
|
- str_AnalogOutputHeader s_AnalogOutputHeader;
|
|
|
|
|
|
+ struct str_AnalogOutputHeader s_AnalogOutputHeader;
|
|
struct str_AnalogInputHeader s_AnalogInputHeader;
|
|
struct str_AnalogInputHeader s_AnalogInputHeader;
|
|
|
|
|
|
/* Read size */
|
|
/* Read size */
|
|
@@ -1081,7 +1081,7 @@ int i_EepromReadTimerHeader(unsigned short w_PCIBoardEepromAddress,
|
|
|
|
|
|
int i_EepromReadAnlogOutputHeader(unsigned short w_PCIBoardEepromAddress,
|
|
int i_EepromReadAnlogOutputHeader(unsigned short w_PCIBoardEepromAddress,
|
|
char *pc_PCIChipInformation, unsigned short w_Address,
|
|
char *pc_PCIChipInformation, unsigned short w_Address,
|
|
- str_AnalogOutputHeader *s_Header)
|
|
|
|
|
|
+ struct str_AnalogOutputHeader *s_Header)
|
|
{
|
|
{
|
|
unsigned short w_Temp;
|
|
unsigned short w_Temp;
|
|
/* No of channels for 1st hard component */
|
|
/* No of channels for 1st hard component */
|