Raspberry Pio Pico Drivers project
|
Wrapper class for the RasPi Pico SDK functions. More...
#include <sdkwrapper.hpp>
Wrapper class for the RasPi Pico SDK functions.
The member function declaration follow the SDK APIs. Also, the doxygen comments are copied from the RasPi Pico SDK source code.
This wrapper class is convenient for the dependency injection to allow the unit test.
The mock of this class is declared in the same file with this class.
In the case of the testing of the user program which uses this class, a programmer can use the pre-defined mock class ::rpp_driver::MockSdkWrapper inside sdkwrapper.hpp.