| 40 | |
| 41 | |
| 42 | static void ls1c_set_sda(void *data, rt_int32_t state) |
| 43 | { |
| 44 | #ifdef LS1C_SET_GPIO_MODE |
| 45 | gpio_init(LS1C_I2C_SDA, gpio_mode_output); |
| 46 | ls1c_udelay(5); |
| 47 | #endif |
| 48 | gpio_set(LS1C_I2C_SDA, state); |
| 49 | return ; |
| 50 | } |
| 51 | |
| 52 | |
| 53 | static void ls1c_set_scl(void *data, rt_int32_t state) |
nothing calls this directly
no test coverage detected