2 .\" Copyright (c) 2000 lars brinkhoff <lars@nocrew.org>
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
24 .\" Modified, Thu Jan 27 19:16:19 CET 2000, lars@nocrew.org
26 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
27 .\" all rights reserved.
28 .\" Translated Tue Jul 11 20:05:48 JST 2000
29 .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
31 .\"WORD: handshake ¥Ï¥ó¥É¥·¥§¥¤¥¯
32 .\"WORD: device ¥Ç¥Ð¥¤¥¹
33 .\"WORD: processer ¥×¥í¥»¥Ã¥µ¡¼
34 .\"WORD: transmit Á÷¿®
36 .\"WORD: quantity ñ°Ì
38 .TH DSP56K 4 2000-03-01 "Linux" "Linux Programmer's Manual"
40 dsp56k \- DSP56001 ¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¡¦¥Ç¥Ð¥¤¥¹
43 #include <asm/dsp56k.h>
45 .BI "ssize_t read(int " fd ", void *" data ", size_t " length );
46 .BI "ssize_t write(int " fd ", void *" data ", size_t " length );
48 .BI "int ioctl(int " fd ", DSP56K_UPLOAD, struct dsp56k_upload *" program );
49 .BI "int ioctl(int " fd ", DSP56K_SET_TX_WSIZE, int " wsize );
50 .BI "int ioctl(int " fd ", DSP56K_SET_RX_WSIZE, int " wsize );
51 .BI "int ioctl(int " fd ", DSP56K_HOST_FLAGS, struct dsp56k_host_flags *" flags );
52 .BI "int ioctl(int " fd ", DSP56K_HOST_CMD, int " cmd );
55 dsp56k ¥Ç¥Ð¥¤¥¹¤Ï¡¢¥á¥¸¥ã¡¼ÈÖ¹æ 55¡¢¥Þ¥¤¥Ê¡¼ÈÖ¹æ 0 ¤Î
56 ¥¥ã¥é¥¯¥¿¡¼¡¦¥Ç¥Ð¥¤¥¹¤Ç¤¢¤ë¡£
58 Motorola DSP56001 ¤Ï¡¢Atari Falcon030 ¸ß´¹¤Î¥³¥ó¥Ô¥å¡¼¥¿¤Ç»È¤ï¤ì¤Æ¤¤¤ë
59 ¥Õ¥ë¥×¥í¥°¥é¥Þ¥Ö¥ë¤Ê 24 ¥Ó¥Ã¥È¤Î¥Ç¥¸¥¿¥ë¥·¥°¥Ê¥ë¥×¥í¥»¥Ã¥µ¡¼¤Ç¤¢¤ë¡£
60 ¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë \fIdsp56k\fP ¤Ï¡¢DSP56001 ¤ÎÀ©¸æ¤È
61 ÁÐÊý¸þ¥Ï¥ó¥É¥·¥§¥¤¥¯¥Û¥¹¥È¥Ý¡¼¥È¤Ç¤Î¥Ç¡¼¥¿¤ÎÁ÷¼õ¿®¤Î¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
63 ¥Ç¡¼¥¿¥¹¥È¥ê¡¼¥à¤ò¥·¥°¥Ê¥ë¥×¥í¥»¥Ã¥µ¡¼¤ËÁ÷¿®¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
67 ½èÍý¤µ¤ì¤¿¥Ç¡¼¥¿¤ò¼õ¿®¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
70 ¥Û¥¹¥È¦¤Ç¤Ï¡¢¥Ç¡¼¥¿¤Ï 8, 16, 24, 32 ¥Ó¥Ã¥Èñ°Ì¤ÇÁ÷¼õ¿®¤Ç¤¤ë¤¬¡¢
71 DSP56001 Æâ¤Ç¤Ï¡¢24 ¥Ó¥Ã¥Èñ°Ì¤Ç°·¤ï¤ì¤ë¡£
75 ¥³¡¼¥ë¤¬ \fIdsp56k\fP ¥Ç¥Ð¥¤¥¹¤òÀ©¸æ¤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£
76 .IP \fBDSP56K_UPLOAD\fP
77 DSP56001 ¤ò¥ê¥»¥Ã¥È¤·¡¢¥×¥í¥°¥é¥à¤ò¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë¡£
80 ¹½Â¤ÂÎ \fIstruct dsp56k_binary\fP ¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
81 ¹½Â¤ÂΤΥá¥ó¥Ð¡¼ \fIbin\fP ¤Ï DSP56001 ¥Ð¥¤¥Ê¥ê¥×¥í¥°¥é¥à¤ò»Ø¤·¡¢
82 ¹½Â¤ÂΤΥá¥ó¥Ð¡¼ \fIlen\fP ¤Ï 24 ¥Ó¥Ã¥È¥ï¡¼¥É¤Ç¿ô¤¨¤¿
83 ¥×¥í¥°¥é¥à¤ÎŤµ¤ËÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
84 .IP \fBDSP56K_SET_TX_WSIZE\fP
85 Á÷¿®¥ï¡¼¥É¥µ¥¤¥º¤òÀßÄꤹ¤ë¡£
86 ÀßÄê¤Ç¤¤ëÃÍ¤Ï 1 ¡Á 4 ¤ÎÈϰϤǡ¢¤³¤Î¥Ð¥¤¥È¿ôʬ¤À¤± 1 ÅÙ¤Ë DSP56001 ¤ËÁ÷¿®¤¹¤ë¡£
87 ¤³¤Î¥Ç¡¼¥¿Ã±°Ì¤Ï¡¢DSP56001 ËÜÍè¤Î 24 ¥Ó¥Ã¥È¥Ç¡¼¥¿·Á¼°¤Ë¹ç¤ï¤»¤ë¤¿¤á¡¢
88 ¥¼¥í¤Î¥Ð¥¤¥È¤ÇËä¤á¤é¤ì¤¿¤ê¡¢ÀÚ¤êµÍ¤á¤é¤ì¤¿¤ê¤¹¤ë¡£
89 .IP \fBDSP56K_SET_RX_WSIZE\fP
90 ¼õ¿®¥ï¡¼¥É¥µ¥¤¥º¤òÀßÄꤹ¤ë¡£
91 ÀßÄê¤Ç¤¤ëÃÍ¤Ï 1 ¡Á 4 ¤ÎÈϰϤǡ¢
92 ¤³¤Î¥Ð¥¤¥È¿ôʬ¤À¤± 1 ÅÙ¤Ë DSP56001 ¤«¤é¼õ¿®¤¹¤ë¡£
93 ¤³¤Î¥Ç¡¼¥¿Ã±°Ì¤Ï¡¢DSP56001 ËÜÍè¤Î 24 ¥Ó¥Ã¥È¥Ç¡¼¥¿·Á¼°¤Ë¹ç¤ï¤»¤ë¤¿¤á¡¢
94 ÀÚ¤êµÍ¤á¤é¤ì¤¿¤ê¡¢NULL ¥Ð¥¤¥È (\(aq\\0\(aq) ¤ÇËä¤á¤é¤ì¤¿¤ê¤¹¤ë¡£
95 .IP \fBDSP56K_HOST_FLAGS\fP
96 ¥Û¥¹¥È¥Õ¥é¥°¤òÆɤ߽ñ¤¤¹¤ë¡£
97 ¥Û¥¹¥È¥Õ¥é¥°¤Ï¡¢°ìÈÌŪ¤ÊÌÜŪ¤Ç»È¤¦¤³¤È¤Î¤Ç¤¤ë¥Ó¥Ã¥È¤Ç¡¢
98 ¥Û¥¹¥È¥³¥ó¥Ô¥å¡¼¥¿¤È DSP56001 ¤ÎξÊý¤«¤éÆɤळ¤È¤¬¤Ç¤¤ë¡£
99 ¥Ó¥Ã¥È 0 ¤È 1 ¤Ï¡¢¥Û¥¹¥È¤Ë¤è¤Ã¤Æ½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¡¢
100 ¥Ó¥Ã¥È 2 ¤È 3 ¤Ï¡¢DSP56001 ¤Ë¤è¤Ã¤Æ½ñ¤¹þ¤à¤³¤È¤¬¤Ç¤¤ë¡£
102 ¥Û¥¹¥È¥Õ¥é¥°¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
105 ¹½Â¤ÂÎ \fIstruct dsp56k_host_flags\fP ¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
106 ¤³¤Î¹½Â¤ÂΤΥá¥ó¥Ð¡¼ \fIdir\fP ¤Î¥Ó¥Ã¥È 0 ¤Þ¤¿¤Ï 1 ¤¬ÀßÄꤵ¤ì¤ë¤È¡¢
107 ¥á¥ó¥Ð¡¼ \fIout\fP ¤ÎÂбþ¤¹¤ë¥Ó¥Ã¥È¤ÎÃͤ¬¥Û¥¹¥È¥Õ¥é¥°¤Ë½ñ¤¹þ¤Þ¤ì¤ë¡£
108 ¤¹¤Ù¤Æ¤Î¥Û¥¹¥È¥Õ¥é¥°¤Î¾õÂ֤ϡ¢¹½Â¤ÂΤΥá¥ó¥Ð¡¼ \fIstatus\fP ¤Î
109 ²¼¤«¤é 4 ¥Ó¥Ã¥È¤È¤·¤ÆÊÖ¤µ¤ì¤ë¡£
110 .IP \fBDSP56K_HOST_CMD\fP
111 ¥Û¥¹¥È¥³¥Þ¥ó¥É¤òÁ÷¿®¤¹¤ë¡£
112 Á÷¿®¤Ç¤¤ëÃÍ¤Ï 0 ¡Á 31 ¤ÎÈϰϤǡ¢DSP56001 ¤ÇÆ°ºî¤·¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Ë¤è¤Ã¤Æ
113 ½èÍý¤µ¤ì¤ë¥æ¡¼¥¶¡¼ÄêµÁ¥³¥Þ¥ó¥É¤Ç¤¢¤ë¡£
117 .\" Fredrik Noring <noring@nocrew.org>, lars brinkhoff <lars@nocrew.org>,
118 .\" Tomas Berndtsson <tomas@nocrew.org>.
120 .IR linux/include/asm-m68k/dsp56k.h ,
121 .IR linux/drivers/char/dsp56k.c ,
122 .IR http://dsp56k.nocrew.org/ ,
123 DSP56000/DSP56001 Digital Signal Processor User's Manual