Tool/software:
I was trying to modify INTM bit & it took me a while to find them as they are not included in Technical Reference Manual.
Why are CPU Status Registers (ST0 and ST1) and their bit fields not included in the Technical Reference Manual ?
How to access CPU Status Register (ST0 and ST1) bit fields if I don't want to use any layers of abstraction between software and hardware?
Please refer to www.ti.com/lit/spru430
Sections 2.3, 2.4, and A.1
Lori, is there a way to do what the user is asking?
IER and IFR are understood by the compiler itself. (reference www.ti.com/lit/spru514 section 6.5.2, cregister keyword)
INTM can be modified by
There are also some helper functions in c-callable assembly provided in C2000Ware. Refer to the driverlib directory below. c28x_core_registers.asm and .h files.
(this is missing in the F2837xD driverlib directory, but the CPU register access functions are the same)
Thank you for the clarification. It also worked with the following cregister definition: __cregister volatile unsigned int IER; IER = 0x0001;
I'm using __asm(" setc INTM"); to set, and __asm(" clrc INTM"); to clear the INTM bit.