Changes between Version 7 and Version 8 of mwr_driver


Ignore:
Timestamp:
Feb 28, 2015, 11:20:00 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mwr_driver

    v7 v8  
    1515 * in '''DMA''' mode the channel FSM transfer a fixed size chunk of data to or from a memory buffer, with an optional completion signaling interrupt.
    1616
    17 It is an ''internal'' peripheral, that can be replicated in all clusters.
     17It is an ''internal'' peripheral, that can be replicated in all clusters. Each cluster can contain at most one coprocessor.
    1818
     19This component contains both global registers an channel registers.
    1920The addressable registers map and command codes are defined [source:soft/giet_vm/giet_drivers/mwr_driver.h here].
     21
     22 == Global Registers access functions ==
     23
     24 === unsigned int '''_mwr_get_type'''( unsigned int cluster_xy ) ===
     25This function returns the coprocessor type in cluster[x,y].
     26
     27 === unsigned int '''_mwr_get_info'''( unsigned int cluster_xy ) ===
     28This function returns in a 32 bits word the relevant informations  for the coprocessor in cluster[x,y]:
     29 * data[7:0] : number of TO_COPROC channels
     30 * data[15:8] : number of FROM_COPROC channels
     31 * data[23:16] : number of coprocessor specific configuration registers
     32 * data[31:24] : number of coprocessor specific status registers
     33
     34 == Channel Registers access functions ==
    2035
    2136 === void '''_mwr_channel_init'''( unsigned int cluster_xy, unsigned int channel, unsigned int mode, unsigned long long buffer_paddr, unsigned int buffer_size, unsigned long long desc_paddr, unsigned long long lock_paddr ) ===