Forum Discussion
Altera_Forum
Honored Contributor
21 years agoDevice driver for custom peripheral
Hi, I'm trying to write a device driver for my peripheral. It has 64 registers and single IRQ. IRq is generated upon completion of HW operation. I've been able to register handler during i...
Altera_Forum
Honored Contributor
21 years agoHi Pankaj,
> but i'm not able to signal this information back to the process There are many ways to do this. The easiest is probably just implementing a blocking read ... that returns the result after the interrupt. Once you sort out the basics you can always add stuff like SIGIO, ioctl ... whatever ... as you see fit. Regards, --Scott