nn::dsp::CTR::ReadPipeIfPossible Functionnn::Result ReadPipeIfPossible( int port, void * buffer, u16 length, u16 * pLengthRead );
| Name | Description | |
|---|---|---|
| in | port | Port number. |
| in | buffer | Address of the buffer into which to load data. |
| in | length | Length of the data to load. |
| out | pLengthRead | Location at which to store the length of data that was actually loaded. |
Reads data from a DSP pipe.
The return value details are as follows.
| Level | Summary | Module | Description | Content |
|---|---|---|---|---|
| LEVEL_SUCCESS | SUMMARY_SUCCESS | MODULE_COMMON | DESCRIPTION_SUCCESS | Process succeeded. |
| LEVEL_STATUS | SUMMARY_INVALID_STATE | MODULE_NN_DSP | DESCRIPTION_NOT_INITIALIZED | The DSP library is not initialized. |
CONFIDENTIAL