Changes between Version 6 and Version 7 of library_mwmr


Ignore:
Timestamp:
Nov 6, 2014, 7:59:49 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_mwmr

    v6 v7  
    1616WARNING (iii) The channel must be declared in a non cacheable segment, if the platform does not provide hardware cache coherence.
    1717
    18 == __ Blocking Functions__ ==
     18== __Initialisation__ ==
     19
     20=== void '''mwmr_init'''( mwmr_channel_t* mwmr, unsigned int width, unsigned int    items ) ===
     21This function initializes the MWMR channel descriptor (including the lock).
     22 * '''mwmr''' : MWMR channel virtual base address.
     23 * '''width''' : number of 32 bits words contained in an item.
     24 * '''items''' : max number of items in the channel.
     25It must be called by one single task.
     26
     27== __ Blocking Access Functions__ ==
    1928
    2029The ''mwmr_read()'' and ''mwmr_write()'' functions are blocking functions, that return only when the requested transfer is completed.
     
    3544
    3645
    37 == __Non Blocking Functions__ ==
     46== __Non Blocking Access Functions__ ==
    3847
    3948The ''nb_mwmr_read()'' and ''nb_mwmr_write()'' functions are non-blocking functions.