Thanks I got ur reply... Now I have Enabled interrupt using HWREG model. and got the result. On below program, i have problem with the line which are highlighted in red. For registering interrupt i m using inbuilt IntRegister() function. Instead of this inbuilt function, what i should have to use while accessing the HWREG Access Model
I'd like to register the interrupt using HWREG access model. Can u please send me the HWREG access model example syntax for the line highlighted in RED
//GPIOIntDisable(GPIO_PORTE_BASE, GPIO_INT_PIN_4);
HWREG(GPIO_PORTE_BASE + GPIO_O_IM)= 0x00;//inrupt disable
//GPIOIntClear(GPIO_PORTE_BASE, GPIO_INT_PIN_4);
HWREG(GPIO_PORTE_BASE + GPIO_O_ICR)= 0xFF;//Intrupt Clear
GPIOIntRegister(GPIO_PORTE_BASE, GPIO_IntHandler);
//GPIOIntTypeSet(GPIO_PORTE_BASE, GPIO_PIN_4, GPIO_FALLING_EDGE);
HWREG(GPIO_PORTE_BASE + GPIO_O_IS)= 0x00;// Edge Sensitive
HWREG(GPIO_PORTE_BASE + GPIO_O_IEV)= 0x00;//Falling edge
//GPIOIntEnable(GPIO_PORTE_BASE, GPIO_INT_PIN_4);
HWREG(GPIO_PORTE_BASE + GPIO_O_IM)= GPIO_PIN_4;