| 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 |