|
YAHAL
Yet Another Hardware Abstraction Library
|
Public Member Functions | |
| soft_i2c_master (gpio_interface &sda, gpio_interface &scl, void(*delay)(uint32_t us), bool pullup=false) | |
| int16_t | i2cRead (uint16_t addr, uint8_t *rxbuf, uint16_t len, bool sendStop=true) override |
| int16_t | i2cWrite (uint16_t addr, uint8_t *txbuf, uint16_t len, bool sendStop=true) override |
| void | setSpeed (uint32_t) |
| void | init () |
| soft_i2c_master (const soft_i2c_master &)=delete | |
| soft_i2c_master & | operator= (const soft_i2c_master &)=delete |
Public Member Functions inherited from i2c_interface | |
Definition at line 23 of file soft_i2c_master.h.
| soft_i2c_master::soft_i2c_master | ( | gpio_interface & | sda, |
| gpio_interface & | scl, | ||
| void(* | delay )(uint32_t us), | ||
| bool | pullup = false ) |
Definition at line 17 of file soft_i2c_master.cpp.
|
virtual |
Definition at line 28 of file soft_i2c_master.cpp.
|
overridevirtual |
Implements i2c_interface.
Definition at line 35 of file soft_i2c_master.cpp.
|
overridevirtual |
Implements i2c_interface.
Definition at line 54 of file soft_i2c_master.cpp.
| void soft_i2c_master::init | ( | ) |
Definition at line 84 of file soft_i2c_master.cpp.
|
virtual |
Implements i2c_interface.
Definition at line 75 of file soft_i2c_master.cpp.