Changes between Version 54 and Version 55 of library_stdio


Ignore:
Timestamp:
Mar 2, 2015, 1:34:28 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v54 v55  
    7272 * '''coproc_type''' : COPROC_TYPE_GCD / COPROC_TYPE_DCT
    7373 * '''coproc_info''' :  nb_to_coprocs = info[7:0] / nb_from_coproc = info[15:8] / nb_config = info[23:16] / nb_status = info[31:24]
    74  * '''clusterrequested coprocessor type
    75  
    76  === 2) void '''giet_coproc_channel_init'''( unsigned int  cluster_xy,  unsigned int channel,  giet_coproc_channel_t*  desc ) ===
     74 * '''cluster_xy''' : cluster coordinates
     75
     76 === 2) void '''giet_coproc_release'''( unsigned int   cluster_xy ) ===
     77 This function releases the coprocessor allocated to the calling task.
     78 * '''cluster_xy''' cluster coordinates
     79
     80 === 3) void '''giet_coproc_channel_init'''( unsigned int  cluster_xy,  unsigned int channel,  giet_coproc_channel_t*  desc ) ===
    7781This function initializes a communication channel. It uses the he following structure (defined in the [source:soft/giet_vm/giet_libs/stdio.h stdio.h] file) to specicy the channel parameters:
    7882{{{
     
    9094 * '''desc''' pointer on the giet_coproc_channel_t structure
    9195
    92  === 3) void '''giet_coproc_channel_start'''( unsigned int  cluster_xy,  unsigned int    channel ) ===
     96 === 4) void '''giet_coproc_channel_start'''( unsigned int  cluster_xy,  unsigned int    channel ) ===
    9397This function activates one communication channel for coprocessor in cluster_xy.
    9498 * '''cluster_xy''' cluster coordinates
    9599 * '''channel''' communication channel index
    96100
    97  === 4) void '''giet_coproc_channel_stop'''( unsigned int  cluster_xy,   unsigned int  channel ) ===
     101 === 5) void '''giet_coproc_channel_stop'''( unsigned int  cluster_xy,   unsigned int  channel ) ===
    98102This function desactivates one communication channel for coprocessor in cluster_xy.
    99103 * '''cluster_xy''' cluster coordinates
    100104 * '''channel''' communication channel index
    101105
    102  === 5) void '''giet_coproc_completed'''( unsigned int cluster_xy ) ===
     106 === 6) void '''giet_coproc_completed'''( unsigned int cluster_xy ) ===
    103107This blocking function can be used to synchronize a software task with an hardware coprocessor running in DMA mode.
    104108It 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].