I got ur reply.. ya ok. below i have attached my program . On below program, i have problem with the line which are highlighted i red. WHile using the IntRegister() and GPIOIntEnable() i got the result . Instaead of these inbuilt function, what i should have to use while accessing the HWREG Access Model
what is the mistake i have made in the line which are highlighted in blue. Can u please send me the HWREG access model example syntax for that Blue Line
//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)= 0xFF;//Intrupt Enable