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.

What is EALLOW, EDIS, DINT ?

What is EALLOW,  EDIS, DINT ?

  • These are defined in the header file for your chosen device: for example, for F28069, you will find them in "F2806x_Device.h".  Each is an inline assembly instruction which allows the user to set or clear a bit in the ST1 status register from C code.  They are defined like this:

    #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")

    You can find more information on these bits in section 2.4 of the CPU & Instruction Set user's guide:

    http://www.ti.com/lit/ug/spru430f/spru430f.pdf

    Regards,

    Richard