nn::dsp::CTR::ReadPipeIfPossible Function

Syntax

nn::Result ReadPipeIfPossible(
     int port,
     void * buffer,
     u16 length,
     u16 * pLengthRead
);

Arguments

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.

Return Values

Returns the result of the operation.

Description

Reads data from a DSP pipe.

The return value details are as follows.

LevelSummaryModuleDescriptionContent
LEVEL_SUCCESSSUMMARY_SUCCESSMODULE_COMMONDESCRIPTION_SUCCESSProcess succeeded.
LEVEL_STATUSSUMMARY_INVALID_STATEMODULE_NN_DSPDESCRIPTION_NOT_INITIALIZEDThe DSP library is not initialized.

Revision History

2010/02/02
Initial version.

CONFIDENTIAL