Inert Input Pin#

Defined in namespace hal::soft

#include <libhal-soft/inert/inert_input_pin.hpp>

class inert_input_pin : public hal::input_pin#

Inert implementation of digital input pin hardware.

Public Static Functions

static inline result<inert_input_pin> create(level_t p_level)#

Factory function to create inert_input_pin object.

Parameters:

p_level – - level_t object to retrun when level() is called

Returns:

result<inert_input_pin> - Constructed inert_input_pin object