Testing the interrupt extension API?

Christian Mauderer christian.mauderer at embedded-brains.de
Fri Oct 11 07:04:11 UTC 2019


On 10/10/2019 01:25, Gedare Bloom wrote:
>>>>     /**
>>>>      * @brief Is set, if the interrupt can be enabled through
>>>>      * rtems_interrupt_vector_enable(), otherwise cleared.
>>> disabled / disable()
>>>>      */
>>>>     unsigned int can_disable : 1;
>>> Curious: are there vectors that can be enabled but not disabled (or vice versa)?
>> Probably not.
> Then you would only need one state bit, since these two would always
> be identical? It's ok to leave it as is, but just may be wasteful.
> 

I don't remember the exact controller but I think I once found a
watchdog that could only be enabled. Of course Watchdogs cause resets
most of the time and not interrupts that can be processed by software.
So I'm not sure whether it's relevant.

Best regards

Christian
-- 
--------------------------------------------
embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list