]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blob - processor_audio_sdk_1_00_00_00/pasdk/common/common.h
Change root folder name, create pasdk subfolder
[processor-sdk/performance-audio-sr.git] / processor_audio_sdk_1_00_00_00 / pasdk / common / common.h
1 #ifndef _COMMON_H_
2 #define _COMMON_H_
4 #ifdef _TMS320C6X
5 // This works to set a breakpoint
6 #define SW_BREAKPOINT       asm( " SWBP 0" );
7 /* Software Breakpoint to Code Composer */
8 // SW_BREAKPOINT;
9 #else
10 #include <ti/sysbios/hal/Hwi.h> // full halt
11 #include <ti/sysbios/knl/Swi.h> // full halt
12 #define SW_BREAKPOINT \
13     Hwi_disable();  \
14     Swi_disable();  \
15     while(1);
16 #endif
18 #endif /* _COMMON_H_ */