![]() |
semf
|
Interface for using a external interrupt. More...
#include <externalinterrupt.h>
Public Types | |
enum | Trigger { None = 0 , RisingEdge , FallingEdge , RisingAndFallingEdge } |
Public Member Functions | |
virtual | ~ExternalInterrupt ()=default |
virtual void | setTrigger (Trigger trigger)=0 |
Sets the trigger condition of an EXTI. More... | |
Public Attributes | |
Signal | changed |
Signal< Error > | error |
Interface for using a external interrupt.
Definition at line 21 of file externalinterrupt.h.
Trigger of the EXternalInterrupt signal, it can be /c RisingEdge, /c FallingEdge or /c RisingAndFallingEdge.
Enumerator | |
---|---|
None | |
RisingEdge | |
FallingEdge | |
RisingAndFallingEdge |
Definition at line 25 of file externalinterrupt.h.
|
virtualdefault |
|
pure virtual |
Sets the trigger condition of an EXTI.
trigger | Trigger condition to set. |
Implemented in semf::Stm32ExternalInterrupt.
Signal semf::ExternalInterrupt::changed |
Is emitted when input changed.
Definition at line 42 of file externalinterrupt.h.
Signal is emitted after a hardware error occurred.
Definition at line 44 of file externalinterrupt.h.