Changes between Version 71 and Version 72 of library_stdio


Ignore:
Timestamp:
Apr 12, 2015, 1:44:55 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v71 v72  
    7878 * '''coproc_info''' (return value) :  nb_to_coprocs = info[7:0] / nb_from_coproc = info[15:8] / nb_config = info[23:16] / nb_status = info[31:24]
    7979
    80  === 2) void '''giet_coproc_release'''( ) ===
    81  This function releases the coprocessor allocated to the calling task.
    82 
    83  === 3) void '''giet_coproc_channel_init'''( unsigned int channel , giet_coproc_channel_t*  desc ) ===
     80 === 2) void '''giet_coproc_channel_init'''( unsigned int channel , giet_coproc_channel_t*  desc ) ===
    8481This function initializes a TO_COPROC/FROM_COPROC communication channel. It uses the he following structure (defined in the [source:soft/giet_vm/giet_libs/stdio.h stdio.h] file) to specify the channel parameters:
    8582{{{
     
    9693 * '''desc''' pointer on the giet_coproc_channel_t structure.
    9794
    98  === 4) void '''giet_coproc_start'''( unsigned int index ) ===
     95 === 3) void '''giet_coproc_start'''( unsigned int index ) ===
    9996This function activates all communication channels and the allocated coprocessor itself.
    100  * '''index''' : coprocessor register index to be written for activation.
    101 
    102  === 5) void '''giet_coproc_stop'''( unsigned int index ) ===
    103 This function desactivates all communication channels and the allocated coprocessor itself.
    104 * '''index''' : coprocessor register index to be written for activation.
    105 
    106  === 6) void '''giet_coproc_completed'''( ) ===
     97
     98 === 4) void '''giet_coproc_completed'''( ) ===
    10799This blocking function can be used to synchronize a software task with an hardware coprocessor running in DMA_NO_IRQ mode.
    108100It polls the status register of all communication channels, and returns only when all transfers are completed.
    109101This function exit when at least one channel status register indicates a  bus error (illegal memory access).
     102
     103 === 5) void '''giet_coproc_stop'''( unsigned int index ) ===
     104This function desactivates all communication channels and the allocated coprocessor itself.
     105* '''index''' : coprocessor register index to be written for desactivation.
     106
     107 === 6) void '''giet_coproc_release'''( unsigned int index ) ===
     108 This function releases the coprocessor allocated to the calling task, after desactivation.
     109 * '''index''' : coprocessor register index to be written for desactivation.
    110110
    111111