Linux IIO development
 help / color / mirror / Atom feed
* IIO interrupt mask access
@ 2021-11-08 14:29 Hegbeli, Ciprian
  2021-11-08 15:26 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Hegbeli, Ciprian @ 2021-11-08 14:29 UTC (permalink / raw)
  To: linux-iio@vger.kernel.org; +Cc: jic23@kernel.org

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-09  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-08 14:29 IIO interrupt mask access Hegbeli, Ciprian
2021-11-08 15:26 ` Jonathan Cameron
2021-11-09  9:32   ` Hegbeli, Ciprian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox