This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035 中的状态寄存器ST1的DBGM位要置“1”如何实现?用那句程序实现?

Other Parts Discussed in Thread: TMS320F28035

TMS320F28035 中的状态寄存器ST1的DBGM位要置“1”如何实现? 是使用汇编吗?我没找到。用C语言也没找到。不好弄的原因是这个寄存器的地址手册中没有说明。

另外,如何实现其他位的设置那?

  • 请参考DSP2803x_Device.h
    #define  EINT   __asm(" clrc INTM")
    #define  DINT   __asm(" setc INTM")
    #define  ERTM   __asm(" clrc DBGM")
    #define  DRTM   __asm(" setc DBGM")
    #define  EALLOW __asm(" EALLOW")
    #define  EDIS   __asm(" EDIS")
    #define  ESTOP0 __asm(" ESTOP0")