Appendix C – Digital I/O Ports84Mobile NVR VPC-5500SC.3 Digital I/O Sample Program************************************************************************************// SuperIO relative definition (Please reference to Table 1)#define byte SIOIndex //This parameter is represented from Note1#define byte SIOData //This parameter is represented from Note2#define void IOWriteByte(byte IOPort, byte Value);#define byte IOReadByte(byte IOPort);// Digital Input Status relative definition (Please reference to Table 2)#define byte DInput1LDN // This parameter is represented from Note3#define byte DInput1Reg // This parameter is represented from Note4#define byte DInput1Bit // This parameter is represented from Note5#define byte DInput2LDN // This parameter is represented from Note6#define byte DInput2Reg // This parameter is represented from Note7#define byte DInput2Bit // This parameter is represented from Note8#define byte DInput3LDN // This parameter is represented from Note9#define byte DInput3Reg // This parameter is represented from Note10#define byte DInput3Bit // This parameter is represented from Note11#define byte DInput4LDN // This parameter is represented from Note12#define byte DInput4Reg // This parameter is represented from Note13#define byte DInput4Bit // This parameter is represented from Note14#define byte DInput5LDN // This parameter is represented from Note15#define byte DInput5Reg // This parameter is represented from Note16#define byte DInput5Bit // This parameter is represented from Note17#define byte DInput6LDN // This parameter is represented from Note18#define byte DInput6Reg // This parameter is represented from Note19#define byte DInput6Bit // This parameter is represented from Note20#define byte DInput7LDN // This parameter is represented from Note21#define byte DInput7Reg // This parameter is represented from Note22#define byte DInput7Bit // This parameter is represented from Note23#define byte DInput8LDN // This parameter is represented from Note24#define byte DInput8Reg // This parameter is represented from Note25#define byte DInput8Bit // This parameter is represented from Note26************************************************************************************