Difference between revisions of "DSP:ReadPipeIfPossible"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) (Clean up.) |
|||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | Channel (0 - 7 0:Debug from DSP 1:P-DMA 2:audio 3:binary 4-7: free ?) |
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | Peer (0 = from DSP, 1 = from ARM) |
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | u16, Size |
|} | |} | ||
Line 25: | Line 25: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | ( | + | | (Size << 14) <nowiki>|</nowiki> 0x2 |
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | Buffer |
|} | |} | ||
Line 41: | Line 41: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | Result code |
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | u16, Actual read size |
|} | |} |
Revision as of 06:44, 9 October 2015
Request
Index Word | Description |
---|---|
0 | Header code [0x001000c0] |
1 | Channel (0 - 7 0:Debug from DSP 1:P-DMA 2:audio 3:binary 4-7: free ?) |
2 | Peer (0 = from DSP, 1 = from ARM) |
3 | u16, Size |
0x100 byte after the Request header
Index Word | Description |
---|---|
0 | (Size << 14) | 0x2 |
1 | Buffer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | u16, Actual read size |