Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arc_dsp.h File Reference

Go to the source code of this file.

Functions

void arc_dsp_disable (struct k_thread *thread, unsigned int options)
 Disable dsp context preservation.
 
void arc_dsp_enable (struct k_thread *thread, unsigned int options)
 Enable dsp context preservation.
 

Function Documentation

◆ arc_dsp_disable()

void arc_dsp_disable ( struct k_thread * thread,
unsigned int options )

Disable dsp context preservation.

The function is used to disable the preservation of dsp and agu context registers for a particular thread.

The options parameter indicates which register sets will not be used by the specified thread. It is used by ARC only.

Parameters
threadID of thread.
optionsregister sets options

◆ arc_dsp_enable()

void arc_dsp_enable ( struct k_thread * thread,
unsigned int options )

Enable dsp context preservation.

The function is used to enable the preservation of dsp and agu context registers for a particular thread.

The options parameter indicates which register sets will be used by the specified thread. It is used by ARC only.

Parameters
threadID of thread.
optionsregister sets options