Scroll to navigation

DSP56K(4) Manual del Programador de Linux DSP56K(4)

NOMBRE

dsp56k - interfaz con el dispositivo DSP56001

SINOPSIS

#include <asm/dsp56k.h>
ssize_t read(int fd, void *data, size_t length);
ssize_t write(int fd, void *data, size_t length);
int ioctl(int fd, DSP56K_UPLOAD, struct dsp56k_upload *program);
int ioctl(int fd, DSP56K_SET_TX_WSIZE, int wsize);
int ioctl(int fd, DSP56K_SET_RX_WSIZE, int wsize);
int ioctl(int fd, DSP56K_HOST_FLAGS, struct dsp56k_host_flags *flags);
int ioctl(int fd, DSP56K_HOST_CMD, int cmd);

CONFIGURACIÓN

The dsp56k device is a character device with major number 55 and minor number 0.

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 dsp56k se utiliza para controlar el DSP56001, y para enviar y recibir datos usando el puerto de host bidireccional mediante la técnica de handshaking.

Para enviar un flujo de datos al procesador de señales, utilice write(2) con el dispositivo, y read(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.

Las siguientes llamadas ioctl(2) pueden utilizarse para controlar el dispositivo dsp56k:

resets the DSP56001 and uploads a program. The third ioctl(2) argument must be a pointer to a struct dsp56k_upload with members bin pointing to a DSP56001 binary program, and len set 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 bytes containing zero, 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 ('\0') to fit the native 24-bit data format of the DSP56001.
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.
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 dir member, the corresponding bit in out will be written to the host flags. The state of all host flags will be returned in the lower four bits of the status member.
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.

ARCHIVOS

/dev/dsp56k

VÉASE TAMBIÉN

linux/include/asm-m68k/dsp56k.h, linux/drivers/char/dsp56k.c, http://dsp56k.nocrew.org/, DSP56000/DSP56001 Digital Signal Processor User's Manual

COLOFÓN

Esta página es parte de la versión 5.10 del proyecto Linux man-pages. 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/.

TRADUCCIÓN

La traducción al español de esta página del manual fue creada por Miguel Pérez Ibars <mpi79470@alu.um.es>

Esta traducción es documentación libre; lea la GNU General Public License Version 3 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 debian-l10n-spanish@lists.debian.org>..

13 Agosto 2020 Linux