Home
last modified time | relevance | path

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

/hal_espressif-latest/components/driver/spi/sdspi/
Dsdspi_host.c754 size_t will_receive = MIN(rx_length, SDSPI_MAX_DATA_LEN) - extra_data_size; in start_command_read_blocks() local
763 memset(rx_data, 0xff, will_receive + receive_extra_bytes); in start_command_read_blocks()
765 .length = (will_receive + receive_extra_bytes) * 8, in start_command_read_blocks()
777 memcpy(&crc, rx_data + will_receive, sizeof(crc)); in start_command_read_blocks()
781 pre_scan_data_ptr = rx_data + will_receive + sizeof(crc); in start_command_read_blocks()
784 memcpy(data + extra_data_size, rx_data, will_receive); in start_command_read_blocks()
792 crc_of_data = sdspi_crc16(data, will_receive + extra_data_size); in start_command_read_blocks()
800 data += will_receive + extra_data_size; in start_command_read_blocks()
801 rx_length -= will_receive + extra_data_size; in start_command_read_blocks()