File: dsp56k.4

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (123 lines) | stat: -rw-r--r-- 4,837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
'\" t
.\" Copyright (c) 2000 lars brinkhoff <lars@nocrew.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Modified, Thu Jan 27 19:16:19 CET 2000, lars@nocrew.org
.\"
.\" Japanese Version Copyright (c) 2000 Yuichi SATO
.\"         all rights reserved.
.\" Translated Tue Jul 11 20:05:48 JST 2000
.\"         by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\"
.\"WORD:	handshake	ϥɥ
.\"WORD:	device		ǥХ
.\"WORD:	processer	ץå
.\"WORD:	transmit	
.\"WORD:	recieve		
.\"WORD:	quantity	ñ
.\"
.TH DSP56K 4 2000-03-01 "Linux" "Linux Programmer's Manual"
.SH ̾
dsp56k \- DSP56001 Υ󥿡եǥХ
.SH 
.nf
#include <asm/dsp56k.h>
.sp
.BI "ssize_t read(int " fd ", void *" data ", size_t " length );
.BI "ssize_t write(int " fd ", void *" data ", size_t " length );

.BI "int ioctl(int " fd ", DSP56K_UPLOAD, struct dsp56k_upload *" program );
.BI "int ioctl(int " fd ", DSP56K_SET_TX_WSIZE, int " wsize );
.BI "int ioctl(int " fd ", DSP56K_SET_RX_WSIZE, int " wsize );
.BI "int ioctl(int " fd ", DSP56K_HOST_FLAGS, struct dsp56k_host_flags *" flags );
.BI "int ioctl(int " fd ", DSP56K_HOST_CMD, int " cmd );
.fi
.SH 
dsp56k ǥХϡ᥸㡼ֹ 55ޥʡֹ 0 
饯ǥХǤ롣
.SH 
Motorola DSP56001 ϡAtari Falcon030 ߴΥԥ塼ǻȤƤ
եץޥ֥ 24 ӥåȤΥǥ륷ʥץåǤ롣
ڥե \fIdsp56k\fP ϡDSP56001 
ϥɥۥȥݡȤǤΥǡΤ˻Ȥ롣
.PP
ǡȥ꡼򥷥ʥץå뤿ˤϡ
ǥХФ
.BR write (2)
Ȥȡ
줿ǡ뤿ˤϡ
.BR read (2)
Ȥȡ
ۥ¦Ǥϡǡ 8, 16, 24, 32 ӥåñ̤Ǥ뤬
DSP56001 Ǥϡ24 ӥåñ̤ǰ롣
.PP

.BR ioctl (2)
뤬 \fIdsp56k\fP ǥХ椹뤿˻Ȥ롣
.IP \fBDSP56K_UPLOAD\fP
DSP56001 ꥻåȤץ򥢥åץɤ롣
.BR ioctl (2)
 3 ܤΰϡ
¤ \fIstruct dsp56k_binary\fP ؤΥݥ󥿤ǤʤФʤʤ
¤ΤΥС \fIbin\fP  DSP56001 Хʥץؤ
¤ΤΥС \fIlen\fP  24 ӥåȥɤǿ
ץĹꤵƤʤФʤʤ
.IP \fBDSP56K_SET_TX_WSIZE\fP
ɥꤹ롣
Ǥͤ 1  4 ϰϤǡΥХȿʬ 1 ٤ DSP56001 롣
Υǡñ̤ϡDSP56001  24 ӥåȥǡ˹碌뤿ᡢ
ΥХȤ줿ꡢڤͤ줿ꤹ롣
.IP \fBDSP56K_SET_RX_WSIZE\fP
ɥꤹ롣
Ǥͤ 1  4 ϰϤǡ
ΥХȿʬ 1 ٤ DSP56001 롣
Υǡñ̤ϡDSP56001  24 ӥåȥǡ˹碌뤿ᡢ
ڤͤ줿ꡢNULL Х ('\\0') 줿ꤹ롣
.IP \fBDSP56K_HOST_FLAGS\fP
ۥȥե饰ɤ߽񤭤롣
ۥȥե饰ϡŪŪǻȤȤΤǤӥåȤǡ
ۥȥԥ塼 DSP56001 ξɤळȤǤ롣
ӥå 0  1 ϡۥȤˤäƽ񤭹ळȤǤ
ӥå 2  3 ϡDSP56001 ˤäƽ񤭹ळȤǤ롣

ۥȥե饰˥뤿ˤϡ
.BR ioctl (2)
 3 ܤΰ
¤ \fIstruct dsp56k_host_flags\fP ؤΥݥ󥿤ǤʤФʤʤ
ι¤ΤΥС \fIdir\fP Υӥå 0 ޤ 1 ꤵȡ
С \fIout\fP бӥåȤͤۥȥե饰˽񤭹ޤ롣
٤ƤΥۥȥե饰ξ֤ϡ¤ΤΥС \fIstatus\fP 
 4 ӥåȤȤ֤롣
.IP \fBDSP56K_HOST_CMD\fP
ۥȥޥɤ롣
Ǥͤ 0  31 ϰϤǡDSP56001 ưƤץˤä
桼ޥɤǤ롣
.SH ե
/dev/dsp56k
.\" .SH 
.\" Fredrik Noring <noring@nocrew.org>, lars brinkhoff <lars@nocrew.org>,
.\" Tomas Berndtsson <tomas@nocrew.org>.
.SH Ϣ
.IR linux/include/asm-m68k/dsp56k.h ,
.IR linux/drivers/char/dsp56k.c ,
.IR http://dsp56k.nocrew.org/ ,
DSP56000/DSP56001 Digital Signal Processor User's Manual