[x] The Internally_Pulled_Down_Input_Pin_Concept class should be defined in the include/picolibrary/gpio.h/source/picolibrary/gpio.cc header/source file pair
[x] The Mock_Internally_Pulled_Down_Input_Pin class should be defined in the include/picolibrary/testing/automated/gpio.h/source/picolibrary/testing/automated/gpio.cc header/source file pair
[x] Internally pulled-down input pins should be expected to support the following operations:
Add GPIO internally pulled-down input pin concept (
::picolibrary::GPIO::Internally_Pulled_Down_Input_Pin_Concept
) and associated mock (::picolibrary::Testing::Automated::GPIO::Mock_Internally_Pulled_Down_Input_Pin
).Internally_Pulled_Down_Input_Pin_Concept
class should be defined in theinclude/picolibrary/gpio.h
/source/picolibrary/gpio.cc
header/source file pairMock_Internally_Pulled_Down_Input_Pin
class should be defined in theinclude/picolibrary/testing/automated/gpio.h
/source/picolibrary/testing/automated/gpio.cc
header/source file pairInternally_Pulled_Down_Input_Pin_Concept() noexcept;
Internally_Pulled_Down_Input_Pin_Concept( Internally_Pulled_Down_Input_Pin && source ) noexcept;
~Internally_Pulled_Down_Input_Pin_Concept() noexcept;
auto operator=( Internally_Pulled_Down_Input_Pin && source ) noexcept -> Internally_Pulled_Down_Input_Pin_Concept &;
void initialize( Initial_Pull_Down_State initial_pull_down_state = Initial_Pull_Down_State::DISABLED ) noexcept;
: Initialize the pin's hardwareauto pull_down_is_disabled() const noexcept -> bool;
: Check if the pin's internal pull-down resistor is disabledauto pull_down_is_enabled() const noexcept -> bool;
: Check if the pin's internal pull-down resistor is enabledvoid disable_pull_down() noexcept;
: Disable the pin's internal pull-down resistorvoid enable_pull_down() noexcept;
: Disable the pin's internal pull-down resistorauto is_low() const noexcept -> bool;
: Check if the pin is in the low stateauto is_high() const noexcept -> bool;
: Check if the pin is in the high stateMock_Internally_Pulled_Down_Input_Pin
class should include a movable mock handle