nn::dsp::CTR::RegisterInterruptEvents Functionnn::Result RegisterInterruptEvents( nn::Handle handle, s32 type, s32 port = 0 );
| 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). |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
ResultNotInitialized |
The library is not initialized. |
Registers an event handle with the DSP process in order to receive DSP interrupts.
To unregister it, specify an invalid handle as an argument.
CONFIDENTIAL