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 function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultNotInitialized The library is not initialized.

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.

Revision History

2010/01/29
Initial version.

CONFIDENTIAL