Changes between Version 7 and Version 8 of mwr_driver
- Timestamp:
- Feb 28, 2015, 11:20:00 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mwr_driver
v7 v8 15 15 * 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. 16 16 17 It is an ''internal'' peripheral, that can be replicated in all clusters. 17 It is an ''internal'' peripheral, that can be replicated in all clusters. Each cluster can contain at most one coprocessor. 18 18 19 This component contains both global registers an channel registers. 19 20 The 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 ) === 25 This function returns the coprocessor type in cluster[x,y]. 26 27 === unsigned int '''_mwr_get_info'''( unsigned int cluster_xy ) === 28 This 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 == 20 35 21 36 === 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 ) ===