Home
last modified time | relevance | path

Searched refs:len_tmp (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/driver/
Di2c.c959 uint8_t len_tmp; in i2c_master_write() local
963 len_tmp = data_len > 0xff ? 0xff : data_len; in i2c_master_write()
964 data_len -= len_tmp; in i2c_master_write()
970 cmd.hw_cmd.byte_num = len_tmp; in i2c_master_write()
973 data_offset += len_tmp; in i2c_master_write()
997 int len_tmp; in i2c_master_read_static() local
1001 len_tmp = data_len > 0xff ? 0xff : data_len; in i2c_master_read_static()
1002 data_len -= len_tmp; in i2c_master_read_static()
1007 cmd.hw_cmd.byte_num = len_tmp; in i2c_master_read_static()
1011 data_offset += len_tmp; in i2c_master_read_static()
Duart.c1200 int len_tmp; in uart_read_bytes() local
1226 len_tmp = length; in uart_read_bytes()
1228 len_tmp = p_uart_obj[uart_num]->rx_cur_remain; in uart_read_bytes()
1230 memcpy((uint8_t *)buf + copy_len, p_uart_obj[uart_num]->rx_ptr, len_tmp); in uart_read_bytes()
1232 p_uart_obj[uart_num]->rx_buffered_len -= len_tmp; in uart_read_bytes()
1233 uart_pattern_queue_update(uart_num, len_tmp); in uart_read_bytes()
1234 p_uart_obj[uart_num]->rx_ptr += len_tmp; in uart_read_bytes()
1236 p_uart_obj[uart_num]->rx_cur_remain -= len_tmp; in uart_read_bytes()
1237 copy_len += len_tmp; in uart_read_bytes()
1238 length -= len_tmp; in uart_read_bytes()