blob: 944094931c0055e5cd0438259b8fb554ad7c942b [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001#ifndef __DSP_DBGC_PUBLIC_H__
2#define __DSP_DBGC_PUBLIC_H__
3
4
5#if defined(__MD97__)
6
7typedef enum{
8 DSP_DBGC_IDLE_THREAD_NONE = 0x0,
9 DSP_DBGC_IDLE_THREAD0 = 0x1 << 0,
10 DSP_DBGC_IDLE_THREAD1 = 0x1 << 1,
11 DSP_DBGC_IDLE_THREAD2 = 0x1 << 2,
12 DSP_DBGC_IDLE_THREAD3 = 0x1 << 3,
13
14 DSP_DBGC_IDLE_ALL_THREAD = DSP_DBGC_IDLE_THREAD0 | DSP_DBGC_IDLE_THREAD1 | DSP_DBGC_IDLE_THREAD2 | DSP_DBGC_IDLE_THREAD3,
15
16}DSP_DBGC_IDLE_SIGNAL_ENUM;
17
18
19extern void dsp_dbgc_set_idle_signal(DSP_DBGC_IDLE_SIGNAL_ENUM value);
20extern void dsp_dbgc_clr_idle_signal(DSP_DBGC_IDLE_SIGNAL_ENUM value);
21extern DSP_DBGC_IDLE_SIGNAL_ENUM dsp_dbgc_idle_signal_status(void);
22
23#else /* Not MD97 */
24
25// let it empty, because only MD97 has the DBGC module
26#endif
27
28#endif /* __DSP_DBGC_PUBLIC_H__ */