.\" -*- 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 août 2020" Linux "Manuel du programmeur Linux" .SH NOM dsp56k \- Périphérique d'interface DSP\ 56001 .SH SYNOPSIS .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 CONFIGURATION The \fBdsp56k\fP device is a character device with major number 55 and minor number 0. .SH DESCRIPTION Le DSP\ 56001 Motorola est un processeur de signal numérique 24 bits entièrement programmable, que l'on trouve dans les ordinateurs compatibles avec l'Atari Falcon 030. Le fichier spécial \fIdsp56k\fP sert à commander le DSP\ 56001, pour envoyer ou recevoir des signaux sur le port hôte. .PP Pour envoyer un flux de signal vers le processeur, utilisez \fBwrite\fP(2) sur le périphérique, et pour en recevoir, utilisez \fBread\fP(2). Les données peuvent être émises ou reçues par blocs de 8, 16, 24 ou 32\ bits du côté hôte, mais seront toujours vues comme des blocs de 24 bits du côté du DSP\ 56001. .PP Les appels \fBioctl\fP(2) suivants permettent de commander le périphérique \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 Configure la taille des mots reçus. Les valeurs autorisées se trouvent dans l'intervalle 1 à 4, correspondant au nombre d'octets reçus en une fois. Ces données seront soit complétées avec des zéros, soit tronquées pour s'aligner sur le format natif 24 bits du DSP\ 56001. .IP \fBDSP56K_HOST_FLAGS\fP Lire ou écrire les attributs d'hôte. Ces attributs sont représentés par 4 bits à usage général qui peuvent être lus aussi bien par l'ordinateur hôte que par le DSP\ 56001. Les bits 0 et 1 peuvent être écrits par l'hôte, et les bits 2 et 3 peuvent être écrits par le DSP\ 56001. .IP Pour accéder aux attributs d'hôte, le troisième paramètre de l'appel \fBioctl\fP(2) doit être un pointeur sur une \fIstruct dsp56k_host_flags\fP. Si les bits 0 ou 1 sont à 1 dans le champ \fIdir\fP, le bit correspondant de \fIout\fP sera écrit dans les attributs d'hôte. L'état des attributs d'hôte sera renvoyé dans les quatre bits de poids faible du membre \fIstatus\fP. .IP \fBDSP56K_HOST_CMD\fP Envoie une commande d'hôte. Les valeurs autorisées sont dans l'intervalle 0 à 31 et correspondent à un numéro de commande (définie par l'utilisateur) manipulé par le programme tournant sur le DSP\ 56001. .SH FICHIERS .\" .SH AUTHORS .\" Fredrik Noring , lars brinkhoff , .\" Tomas Berndtsson . \fI/dev/dsp56k\fP .SH "VOIR AUSSI" \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 COLOPHON Cette page fait partie de la publication\ 5.10 du projet \fIman\-pages\fP Linux. Une description du projet et des instructions pour signaler des anomalies et la dernière version de cette page peuvent être trouvées à l'adresse \%https://www.kernel.org/doc/man\-pages/. .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier , David Prévot , Cédric Boutillier et Frédéric Hantrais . Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .