•  Back 
  •  DSP programming 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File4.11.19  Dsp_IOStream                                              TOS

 Name:         »Dsp_IOStream« - Data transfer from and to DSP via two 
               interrupts

 Opcode:       101

 Syntax:       void Dsp_IOStream( int8_t *data_in, int8_t *data_out, 
               int32_t block_insize, int32_t block_outsize, int32_t 
               num_blocks, int32_t *blocks_done );

 Description:  The function sends and receives simultaneously via DSP 
               interrupt handling num_blocks data blocks with a size 
               of block_insize or block_outsize DSP-words from/to the 
               DSP. The sent data is taken from the buffer data_in, 
               the received data is stored in the buffer data_out. For 
               each interrupt one block is sent and one received 
               (except for the first and last interrupt). At the same 
               time the counter blocks_done, which keeps track of the 
               number of blocks transferred, will be incremented. As 
               the data is transferred via an interrupt, the function 
               does not have to wait. Via blocks_done the program can 
               then determine whether the transfer has been completed.

 Return value: The function does not return a result.

 Availability: The function is available only on computers with the 
               DSP-56001 signal processor.

 Group:        DSP programming

 See also:     Binding   Dsp_DoBlock   Dsp_BlkUnpacked 
               Dsp_BlkHandShake   Dsp_BlkWords   Dsp_BlkBytes 
               Dsp_InStream   Dsp_OutStream   Dsp_GetWordSize 
               Dsp_SetVectors   Dsp_RemoveInterrupts   Dsp_MultBlocks