I am working on a DM814EVM from mistral.
I think I have the Hwi, GPIO interupts all setup correctly.
Not sure if I have setup the clocks correctly.
I can poll and see my injected signal.
Can someone review the following code?
Thanks,
Michael.
/*Sanitised header file*/ #define WR_MEM_32(addr, data) *(unsigned int*)(addr) =(unsigned int)(data) #define RD_MEM_32(addr) *(unsigned int*)(addr) /* KNOWN MEMORY ADDRESSES */ #define GPIO_BASE 0x08032000 #define GPIO_SYSCONFIG (GPIO_BASE + 0x10) #define GPIO_IRQSTATUS_0 (GPIO_BASE + 0x2C) #define GPIO_IRQSTATUS_SET_0 (GPIO_BASE + 0x34) #define GPIO_RISINGDETECT (GPIO_BASE + 0x148) #define GPIO_DATAIN (GPIO_BASE + 0x138) #define PRCM_BASE 0x08180000 #define CM_ALWON_GPIO_0_CLKCTRL (PRCM_BASE + 0x155C)