IIO interrupt mask access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm currently writing a driver for the ADE9078 (High Performance, Polyphase Energy Metering IC) which has two interrupts with over 30 configurations modes in two 32 bit registers. Some of these flags can also be active at the same time within the same register for the same interrupt. While handling the interrupts is fairly straight forward, the challenge is to dynamical configure them within the IIO framework.
I want to offer the user the possibility to enable/disable these interrupts from within the IIO framework without having to create custom attributes specifically for interrupt configuration. Is there a recommended method to do this?

Regards, 
Ciprian Hegbeli





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux