EALLOW Protection (2 of 2)
asm(" EALLOW"); // enable protected register access
SysCtrlRegs.WDKEY=0x55; // write to the register
asm(" EDIS"); // disable protected register access
EALLOW register access C-code example:
Device Configuration & Emulation
Flash
Code Security Module
PIE Vector Table
DMA, CLA, SD, EMIF, X-Bar (some registers)
CANA/B (control registers only; mailbox RAM not protected)
ePWM, CMPSS, ADC, DAC (some registers)
GPIO (control registers only)
System Control
See device datasheet and Technical Reference Manual for detailed listings
The following registers are protected: