Go to the source code of this file.
◆ nxp_rtxxx_dsp_ctrl_api_disable
typedef void(* nxp_rtxxx_dsp_ctrl_api_disable) (const struct device *dev) |
◆ nxp_rtxxx_dsp_ctrl_api_enable
typedef void(* nxp_rtxxx_dsp_ctrl_api_enable) (const struct device *dev) |
◆ nxp_rtxxx_dsp_ctrl_api_load_section
◆ nxp_rtxxx_dsp_ctrl_section_type
Describes an image section type selection.
Enumerator |
---|
NXP_RTXXX_DSP_CTRL_SECTION_RESET | |
NXP_RTXXX_DSP_CTRL_SECTION_TEXT | |
NXP_RTXXX_DSP_CTRL_SECTION_DATA | |
◆ nxp_rtxxx_dsp_ctrl_disable()
static void nxp_rtxxx_dsp_ctrl_disable |
( |
const struct device * | dev | ) |
|
|
inlinestatic |
Stops (stalls) the DSP.
- Parameters
-
◆ nxp_rtxxx_dsp_ctrl_enable()
static void nxp_rtxxx_dsp_ctrl_enable |
( |
const struct device * | dev | ) |
|
|
inlinestatic |
Starts (unstalls) the DSP.
- Parameters
-
◆ nxp_rtxxx_dsp_ctrl_load_section()
Loads a specified image representing a specified section to a particular region in the DSP's memory.
- Parameters
-
dev | DSP device |
base | Base pointer of the image to load |
length | Length of the image |
section | Section type which specified image represents |
- Returns
- int 0 on success, -EINVAL for invalid parameters, -ENOMEM for image bigger than the target region