SOFTWARE USER’S GUIDE Linux デバイスドライ readシステムコール..... 16 2.5.4 writeシステムコール.....…

  • Published on
    01-Sep-2018

  • View
    213

  • Download
    0

Embed Size (px)

Transcript

<ul><li><p>Linux DVEX-13-006764-01 </p><p> 2013 Interface Corporation. All rights reserved. </p><p> 1/178 </p><p>SOFTWARE USERS GUIDE </p><p>Linux </p></li><li><p>Linux MLH-J2003-01</p><p> 2013 Interface Corporation. All rights reserved. </p><p> 2/178 </p><p> Windows Linux </p><p>Linux WindowsLinuxLinuxWindows </p><p>Linux LinuxOS </p><p>Linux() </p><p> LinuxI/O </p><p>:Web site (www.interface.co.jp) :()CD-ROM </p><p>http://www.interface.co.jp/</p></li><li><p>Linux MLH-J2003-01</p><p> 2013 Interface Corporation. All rights reserved. </p><p> 3/178 </p><p> 1 6 </p><p>1.1 ................................................................................................................................................. 6 1.2 ................................................................................................................................................................. 6 </p><p> 2 7 2.1 .................................................................................................................................... 7 2.2 ............................................................................................................................... 8 2.3 ............................................................................................ 9 2.4 ............................................................................................................................. 10 2.4.1 ...................................................................................................................... 11 2.4.2 ......................................................................................................................... 11 2.4.3 ...................................................................................................................... 12 2.4.4 ....................................................................................................................... 12 2.4.5 ................................................................................................... 12 </p><p>2.5 ............................................................................................................................................ 13 2.5.1 open............................................................................................................................ 14 2.5.2 close ........................................................................................................................... 15 2.5.3 read............................................................................................................................. 16 2.5.4 write ........................................................................................................................... 17 2.5.5 ioctl ............................................................................................................................ 18 </p><p> 3 20 3.0 ............................................................................................................................. 20 3.0 ........................................................................................................................ 21 3.0 Windows................................................................................................................................... 21 </p><p> 4 22 4.1 ............................................................................................................................... 22 4.2 ....................................................................................................................................................... 23 4.3 .............................................................................................................................................. 24 4.3.1 ....................................................................................................................................... 24 4.3.2 ....................................................................................................................................... 28 4.3.3 ....................................................................................................................................... 31 </p><p> 5 37 5.1 ........................................................................................................................................... 37 5.1.1 A/D ..................................................................................................................................... 37 5.1.2 A/D......................................................................................................................... 38 5.1.3 ....................................................................................................................................... 38 5.1.4 ......................................................................................................... 41 5.1.5 ..................................................................................................................... 42 5.1.6 ........................................................................................................ 42 5.1.7 .......................................................................................................................................... 43 </p></li><li><p>Linux MLH-J2003-01</p><p> 2013 Interface Corporation. All rights reserved. </p><p> 4/178 </p><p>5.1.8 ADC ........................................................................................... 43 5.1.9 ................................................................................................................................... 46 5.1.10 .................................................................................................. 48 </p><p>5.2 ....................................................................................................................................................... 49 5.3 ........................................................................................................................................................... 49 5.4 .............................................................................................................................................. 50 5.4.1 1 AD .......................................................................................................................... 50 5.4.2 ........................................................................................................................................ 55 5.4.3 ....................................................................................................................................... 62 </p><p> 6 68 6.1 ........................................................................................................................................... 68 6.1.1 D/A ..................................................................................................................................... 68 6.1.2 ....................................................................................................................................... 69 6.1.3 ....................................................................................................................................... 69 6.1.4 ..................................................................................................................... 70 6.1.5 ....................................................................................... 71 6.1.6 ................................................................................................................................... 72 </p><p>6.2 ....................................................................................................................................................... 74 6.3 ........................................................................................................................................................... 74 6.4 .............................................................................................................................................. 75 6.4.1 1 ............................................................................................................................................... 75 6.4.2 .............................................................................................................................................. 80 6.4.3 ....................................................................................................................................... 85 </p><p> 7 91 7.1 ................................................................................................................................... 91 7.1.1 ........................................................................................................................................ 91 7.1.2 RS-232CRS-485 ............................................................................................................................... 92 7.1.3 .............................................................................................................................................. 93 7.1.4 ...................................................................................................................................... 93 7.1.5 ............................................................................................................................................... 94 7.1.6 ........................................................................................................................................ 94 7.1.7 (bps)............................................................................................................. 95 7.1.8 ............................................................................................................................................ 95 7.1.9 .............................................................................................................................. 96 7.1.10 ................................................................................. 97 </p><p>7.2 ....................................................................................................................................................... 99 7.3 ........................................................................................................................................................... 99 7.4 ............................................................................................................................................ 100 7.4.1 ..................................................................................................................................................... 100 7.4.2 ..................................................................................................................................................... 105 </p><p> 8 HDLC 110 8.1 HDLC ............................................................................................................................................. 110 8.1.1 /.................................................................................................................... 111 </p></li><li><p>Linux MLH-J2003-01</p><p> 2013 Interface Corporation. All rights reserved. </p><p> 5/178 </p><p>8.1.2 ............................................................................................................................................... 112 8.1.3 ................................................................................................................................. 113 8.1.4 ....................................................................................................................................... 114 8.1.5 .................................................................................................................................................. 115 </p><p>8.2 ..................................................................................................................................................... 116 8.3 ......................................................................................................................................................... 116 8.4 ............................................................................................................................................ 117 8.4.1 ..................................................................................................................................... 117 8.4.2 ..................................................................................................................................... 122 8.4.3 ..................................................................................................................................... 127 </p><p> 9 CAN 133 9.1 CAN................................................................................................................................................ 133 9.1.1 CAN........................................................................................................................................ 134 9.1.2 ............................................................................................................................ 135 9.1.3 .......................................................................................... 136 9.1.4 ................................................................................................................................. 138 </p><p>9.2 ..................................................................................................................................................... 140 9.3 ......................................................................................................................................................... 140 9.4 ............................................................................................................................................ 141 9.4.1 ................................................................................................................................... 141 9.4.2 ................................................................................................................................... 146 9.4.3 ..................................................................................................................................... 151 </p><p> 10 157 10.1 ...................................................................................................................................... 157 10.2 ................................................................................................................................................. 157 10.3 ........................................................................................................................................ 158 10.3.1 ...................................................................................................................................... 158 10.3.2 ...................................................................................................................................... 164 10.3.3 ..................................</p></li></ul>