Section (4) dsp56k
dsp56k — DSP56001 interface device
|struct dsp56k_upload *program
|struct dsp56k_host_flags *flags
The Motorola DSP56001 is a fully programmable 24-bit
digital signal processor found in Atari Falcon030-compatible
file is used to control the DSP56001, and to send and receive
data using the bidirectional handshaked host port.
To send a data stream to the signal processor, use write(2) to the device, and read(2) to receive processed data. The data can be sent or received in 8, 16, 24, or 32-bit quantities on the host side, but will always be seen as 24-bit quantities in the DSP56001.
The following ioctl(2) calls are used to
resets the DSP56001 and uploads a program. The third ioctl(2) argument must be a pointer to a struct dsp56k_binary with members
binpointing to a DSP56001 binary program, and
lenset to the length of the program, counted in 24-bit words.
sets the transmit word size. Allowed values are in the range 1 to 4, and is the number of bytes that will be sent at a time to the DSP56001. These data quantities will either be padded with zero bytes, or truncated to fit the native 24-bit data format of the DSP56001.
sets the receive word size. Allowed values are in the range 1 to 4, and is the number of bytes that will be received at a time from the DSP56001. These data quantities will either truncated, or padded with a null byte (_zsingle_quotesz_ _zsingle_quotesz_) to fit the native 24-bit data format of the DSP56001.
read and write the host flags. The host flags are four general-purpose bits that can be read by both the hosting computer and the DSP56001. Bits 0 and 1 can be written by the host, and bits 2 and 3 can be written by the DSP56001.
To access the host flags, the third ioctl(2) argument must be a pointer to a struct dsp56k_host_flags. If bit 0 or 1 is set in the
dirmember, the corresponding bit in
outwill be written to the host flags. The state of all host flags will be returned in the lower four bits of the
sends a host command. Allowed values are in the range 0 to 31, and is a user-defined command handled by the program running in the DSP56001.
Digital Signal Processor User_zsingle_quotesz_s Manual
This page is part of release 5.04 of the Linux
man-pages project. A
description of the project, information about reporting bugs,
and the latest version of this page, can be found at
Copyright (c) 2000 lars brinkhoff <larsnocrew.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_zsingle_quotesz_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, see
Modified, Thu Jan 27 19:16:19 CET 2000, larsnocrew.org