nn::dsp::CTR::RegisterInterruptEvents Function

Syntax

nn::Result RegisterInterruptEvents(
     nn::Handle handle,
     s32 type,
     s32 port = 0
);

Arguments

Name Description
in handle Event object handle.
in type Interrupt type.
in port The pipe's port number (only valid when the type is PIPE).

Return Values

Returns the result of the operation.

Description

Registers an event handle with the DSP process in order to receive DSP interrupts.

To unregister it, specify an invalid handle as an argument.

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/01/29
Initial version.

CONFIDENTIAL