Table of Contents vii
EOS-1200
5.1 List of Functions................................................................. 39
5.2 Data Types. ....................................................................... 40
5.3 Setting Up the Build Environment...................................... 40
5.3.1 Include Files ............................................................. 40
5.3.2 Library Files .............................................................. 41
5.3.3 DLL Files .................................................................. 41
5.4 System & Initialization Functions ....................................... 42
5.4.1 Register_Card .......................................................... 42
5.4.2 Release_Card........................................................... 43
5.4.3 GetBaseAddr ............................................................ 44
5.4.4 GetCardIndexFromID ............................................... 45
5.4.5 GetCardType ............................................................ 46
5.4.6 GetLCRAddr ............................................................. 47
5.5 DI/O Functions................................................................... 48
5.5.1 DI_ReadLine............................................................. 48
5.5.2 DI_ReadPort............................................................. 50
5.5.3 DO_ReadLine........................................................... 51
5.5.4 DO_WriteLine ........................................................... 52
5.5.5 DO_ReadPort ........................................................... 53
5.5.6 DO_WritePort ........................................................... 55
5.6 COS Interrupt Functions .................................................... 56
5.6.1 DIO_INT_Event_Message........................................ 56
5.6.2 DIO_INT1_EventMessage........................................ 58
5.6.3 DIO_INT2_EventMessage........................................ 59
5.6.4 DIO_SetDualInterrupt ............................................... 61
5.6.5 DIO_SetCOSInterrupt32........................................... 62
5.6.6 DIO_GetCOSLatchData32 ....................................... 64
5.7 Smart PoE Functions......................................................... 65
5.7.1 SmartPoE_SetPower................................................ 65
5.8 EEPROM Functions........................................................... 66
5.8.1 EEPROM_ReadByte ................................................ 66
5.8.2 EEPROM_WriteByte ................................................ 67