Changes between Version 61 and Version 62 of library_stdio


Ignore:
Timestamp:
Apr 9, 2015, 5:09:23 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v61 v62  
    105105 * '''channel''' communication channel index
    106106
    107  === 6) void '''giet_coproc_completed'''( unsigned int cluster_xy ) ===
    108 This blocking function can be used to synchronize a software task with an hardware coprocessor running in DMA mode.
    109 It polls the ''_coproc_done[x][y]'' kernel variable, and returns only when this variable has been set by the ISR associated to  coprocessor in cluster[x][y].
    110 
     107 === 6) void '''giet_coproc_channel_completed'''( unsigned int cluster_xy ,  unsigned int channel  , unsigned int* status ) ===
     108This blocking function can be used to synchronize a software task with an hardware coprocessor running in DMA_NO_IRQ mode.
     109It polls the status register for a given channel, and returns only when the transfer is completed. It returns in the status variable
     110a zero value in case of success. It returns a non zero value in case of bus error.
     111 * '''cluster_xy''' cluster coordinates.
     112 * '''channel''' communication channel index
     113 * '''status''' : return value (>0 if error)
     114:wq
    111115 === 7) void '''giet_coproc_register_set'''( unsigned int cluster_xy ,  unsigned int reg_index ,  unsigned int value ) ===
    112116This function set a new value in a coprocessor specific register.