35 void SCL (
bool x) { (void)x; }
36 bool SDA (
SDAMode mode,
bool x) {
42 void delay (uint32_t u) {
45 for (
int i =0 ; i<10 ; ++i)
50 I2C (uint32_t clk =100000) noexcept
56 TEST(Test_i2c_impl, TestConcept) {
61 TEST(Test_i2c_impl, TestConstruction) {
66 TEST(Test_i2c_impl, TestFunctionality) {
I2C(uint32_t clk=100000) noexcept
TEST(Test_i2c_impl, TestConcept)
SDAMode
SDA pin direction enumerator.
A bit banking implementation of i2c bus inherited from i2c_i base class.
STL's core language concepts.
#define EXPECT_EQ(val1, val2)
A bit banking implementation of i2c bus inherited from i2c_i base class.