|
M5UnitUnified 0.4.4 git rev:306ddd5
|
UnitComponent derived class for testing (I2C) More...
#include <test_template.hpp>
Protected Member Functions | |
| virtual void | SetUp () override |
| virtual void | TearDown () override |
| virtual bool | begin () |
| bool | begin_with_wire (TwoWire &wire, uint32_t wnum=0) |
| bool | begin_with_ex_i2c () |
| bool | begin_with_software_i2c (int8_t sda, int8_t scl) |
| virtual U * | get_instance ()=0 |
| return m5::unit::Component-derived class instance | |
Protected Attributes | |
| std::string | ustr {} |
| std::unique_ptr< U > | unit {} |
| m5::unit::UnitUnified | Units |
UnitComponent derived class for testing (I2C)
| U | m5::unit::Component-derived classes to be tested |
Provides board-aware begin() with 3-branch logic: