| 51 | |
| 52 | |
| 53 | static void ls1c_set_scl(void *data, rt_int32_t state) |
| 54 | { |
| 55 | #ifdef LS1C_SET_GPIO_MODE |
| 56 | gpio_init(LS1C_I2C_SCL, gpio_mode_output); |
| 57 | ls1c_udelay(5); |
| 58 | #endif |
| 59 | gpio_set(LS1C_I2C_SCL, state); |
| 60 | return ; |
| 61 | } |
| 62 | |
| 63 | |
| 64 | static rt_int32_t ls1c_get_sda(void *data) |
nothing calls this directly
no test coverage detected