LinPAC-5000 SDK Manual:3
5.1.6 cp:copy file -> ( like copy in DOS ) ...................................................................23
5.1.7 mv:move or rename file or directory -> ( like move or ren in DOS ) ............23
5.1.8 pwd:show the current path......................................................................................23
5.1.9 who:show the on-line users ......................................................................................23
5.1.10 chmod:change authority of file..............................................................................23
5.1.11 uname:show the version of linux ...........................................................................23
5.1.12 ps:show the procedures that execute now.............................................................24
5.1.13 ftp:transfer file........................................................................................................24
5.1.14 telnet:connect to other PC......................................................................................24
5.1.15 date:show date and time.........................................................................................24
5.1.16 netstat:show the state of network..........................................................................24
5.1.17 ifconfig:show the ip and network mask ( like ipconfig in DOS )........................24
5.1.18 ping:check to see if the host in the network is alive.............................................24
5.1.19 clear:clear the screen..............................................................................................24
5.1.20 passwd:change the password.................................................................................24
5.1.21 reboot:reboot the LinPAC......................................................................................24
5.2 General GCC Instructions ...................................................................................25
5.2.1 Compile without linking the LinPAC-5000 library.....................................................26
5.2.2 Compile with linking the LinPAC-5000 library ( libi8k.a )........................................26
5.3 A Simple Example – Helloworld.c.......................................................................27
5.4 i-Talk Utility ..........................................................................................................32
6. LIBI8K.A...............................................................................................33
6.1 System Information Functions.............................................................................35
6.2 Watch Dog Timer Functions................................................................................56
6.3 EEPROM Read/Write Functions........................................................................59
6.4 Digital Input/Output Functions...........................................................................63
6.4.1 I-7000 series modules .....................................................................................................63
6.5 Analog Input Functions........................................................................................80
6.5.1 I-7000 series modules .....................................................................................................80
6.6 Analog Output Functions.....................................................................................92
6.6.1 I-7000 series modules .....................................................................................................92
5.7 Error Code Explanation.....................................................................................103
7. Demo of LinPAC-5000 Modules With C Language.........................104
7.1 I-7k Modules DIO Control Demo......................................................................104
7.2 I-7k Modules AIO Control Demo......................................................................110
7.3 Conclusion of Module Control Demo................................................................112
7.4 Timer Function Demo.........................................................................................112
8. Introduction of LinPAC-5000 Serial Ports.......................................113