Class hal::soft::inert_interrupt_pin
ClassList > hal > soft > inert_interrupt_pin
Inert implementation of digital interrupt pin hardware.
#include <inert_interrupt_pin.hpp>
Inherits the following classes: hal::interrupt_pin
Public Types inherited from hal::interrupt_pin
Type | Name |
---|---|
typedef void(bool p_state) | handler Interrupt pin handler. |
enum | trigger_edge The condition in which an interrupt it's triggered. |
Public Functions inherited from hal::interrupt_pin
Type | Name |
---|---|
status | configure (const settings & p_settings) Configure the interrupt pin to match the settings supplied. |
void | on_trigger (hal::callback< handler > p_callback) Set the callback for when the interrupt occurs. |
virtual | ~interrupt_pin () = default |
Public Static Functions
Type | Name |
---|---|
result< inert_interrupt_pin > | create () Factory function to create inert_interrupt_pin object. |
Public Static Functions Documentation
function create
Factory function to create inert_interrupt_pin object.
static inline result< inert_interrupt_pin > hal::soft::inert_interrupt_pin::create ()
Returns:
result<inert_interrupt_pin> - Constructed inert_interrupt_pin object
The documentation for this class was generated from the following file libraries/include/libhal-soft/inert_drivers/inert_interrupt_pin.hpp