.\" -*- coding: UTF-8 -*- .\" Copyright (c) 2000 lars brinkhoff .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" 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, see .\" . .\" %%%LICENSE_END .\" .\" Modified, Thu Jan 27 19:16:19 CET 2000, lars@nocrew.org .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH DSP56K 4 "13 Agosto 2020" Linux "Manual del Programador de Linux" .SH NOMBRE dsp56k \- interfaz con el dispositivo DSP56001 .SH SINOPSIS .nf \fB#include \fP .PP \fBssize_t read(int \fP\fIfd\fP\fB, void *\fP\fIdata\fP\fB, size_t \fP\fIlength\fP\fB);\fP \fBssize_t write(int \fP\fIfd\fP\fB, void *\fP\fIdata\fP\fB, size_t \fP\fIlength\fP\fB);\fP .PP \fBint ioctl(int \fP\fIfd\fP\fB, DSP56K_UPLOAD, struct dsp56k_upload *\fP\fIprogram\fP\fB);\fP \fBint ioctl(int \fP\fIfd\fP\fB, DSP56K_SET_TX_WSIZE, int \fP\fIwsize\fP\fB);\fP \fBint ioctl(int \fP\fIfd\fP\fB, DSP56K_SET_RX_WSIZE, int \fP\fIwsize\fP\fB);\fP \fBint ioctl(int \fP\fIfd\fP\fB, DSP56K_HOST_FLAGS, struct dsp56k_host_flags *\fP\fIflags\fP\fB);\fP \fBint ioctl(int \fP\fIfd\fP\fB, DSP56K_HOST_CMD, int \fP\fIcmd\fP\fB);\fP .fi .SH CONFIGURACIÓN The \fBdsp56k\fP device is a character device with major number 55 and minor number 0. .SH DESCRIPCIÓN El Motorola DSP56001 es un procesador de señales digitales de 24 bits totalmente programable que se encuentra en computadores compatibles con Atari Falcon030. El fichero especial \fIdsp56k\fP se utiliza para controlar el DSP56001, y para enviar y recibir datos usando el puerto de host bidireccional mediante la técnica de handshaking. .PP Para enviar un flujo de datos al procesador de señales, utilice \fBwrite\fP(2) con el dispositivo, y \fBread\fP(2) para recibir datos procesados. Los datos pueden ser enviados o recibidos en cantidades de 8, 16, 24, o 32 bits por parte del host, pero siempre serán interpretados como cantidades de 24 bits por el DSP56001. .PP Las siguientes llamadas \fBioctl\fP(2) pueden utilizarse para controlar el dispositivo \fIdsp56k\fP: .IP \fBDSP56K_UPLOAD\fP resets the DSP56001 and uploads a program. The third \fBioctl\fP(2) argument must be a pointer to a \fIstruct dsp56k_upload\fP with members \fIbin\fP pointing to a DSP56001 binary program, and \fIlen\fP set to the length of the program, counted in 24\-bit words. .IP \fBDSP56K_SET_TX_WSIZE\fP 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 bytes containing zero, or truncated to fit the native 24\-bit data format of the DSP56001. .IP \fBDSP56K_SET_RX_WSIZE\fP 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 (\(aq\e0\(aq) to fit the native 24\-bit data format of the DSP56001. .IP \fBDSP56K_HOST_FLAGS\fP lee y escribe las banderas (flags) del host. Las banderas del host son cuatro bits de propósito general que pueden ser leídos tanto por la máquina anfitriona como por el DSP56001. Los bits 0 y 1 pueden ser escritos por el host, y los bits 2 y 3 pueden ser escritos por el DSP56001. .IP To access the host flags, the third \fBioctl\fP(2) argument must be a pointer to a \fIstruct dsp56k_host_flags\fP. If bit 0 or 1 is set in the \fIdir\fP member, the corresponding bit in \fIout\fP will be written to the host flags. The state of all host flags will be returned in the lower four bits of the \fIstatus\fP member. .IP \fBDSP56K_HOST_CMD\fP envía una orden de anfitrión. Los valores permitidos están en el intervalo de 0 a 31, y especifican una orden definida por el usuario que es manejado por el programa que se ejecuta en el DSP56001. .SH ARCHIVOS .\" .SH AUTHORS .\" Fredrik Noring , lars brinkhoff , .\" Tomas Berndtsson . \fI/dev/dsp56k\fP .SH "VÉASE TAMBIÉN" \fIlinux/include/asm\-m68k/dsp56k.h\fP, \fIlinux/drivers/char/dsp56k.c\fP, .UR http://dsp56k.nocrew.org/ .UE , DSP56000/DSP56001 Digital Signal Processor User's Manual .SH COLOFÓN Esta página es parte de la versión 5.10 del proyecto Linux \fIman\-pages\fP. Puede encontrar una descripción del proyecto, información sobre cómo informar errores y la última versión de esta página en \%https://www.kernel.org/doc/man\-pages/. .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Miguel Pérez Ibars . Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org>. .ME .