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). |
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.
| 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