* This function sets the sda pin. * @param i2c config class. * @param The sda pin state. */
| 155 | * @param The sda pin state. |
| 156 | */ |
| 157 | static void set_sda(void *cfg, rt_int32_t value) |
| 158 | { |
| 159 | rt_pin_write(((const struct soft_i2c_config*)cfg)->sda_pin, value); |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * This function sets the scl pin. |
nothing calls this directly
no test coverage detected