Inert Output Pin#

Defined in namespace hal::soft

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

class inert_output_pin : public hal::output_pin#

Inert implementation of digital output pin hardware.

Public Static Functions

static inline result<inert_output_pin> create(bool p_level)#

Factory function to create inert_output_pin.

Parameters:

p_level – - level_t object to return when level() is called. This value can be changed by using level(bool) after creation.

Returns:

result<inert_output_pin> - Constructed inert_output_pin object