nn::dsp::CTR::LoadComponent Functionnn::Result LoadComponent( const u8 pComponent[], size_t size, bit16 maskPram = 0xff, bit16 maskDram = 0xff );
| Name | Description | |
|---|---|---|
| in | pComponent[] | Component file address. |
| in | size | Component file size. |
| in | maskPram | Specifies the DSP-Pram blocks to use. Starting at the LSB, bits 0-7 indicate blocks 0-7, respectively. Bits 8-15 are ignored. |
| in | maskDram | Specifies the DSP-Dram blocks to use. See maskDram. |
Loads a DSP component file and starts the DSP.
This function is provided to allow user applications to load the appropriate component when, in the future, the SDK provides DSP components other than the default. There are no plans to release the DSP development environment to users.
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. |
| LEVEL_STATUS | SUMMARY_INVALID_STATE | MODULE_NN_DSP | DESCRIPTION_ALREADY_EXISTS | Already loaded. |
CONFIDENTIAL