Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/
Dmain.c435 size_t spi_len; in main() local
612 spi_len = num_pages * SPI_FLASH_PAGE_SIZE; in main()
615 printf("Read %u bytes from 0x%08x using SPI Read 1-1-1-0\n", spi_len, spi_addr.addr); in main()
616 err = spi_flash_read_fd_sync(spi_dev, &spi_cfg, &spi_addr, &tb1.b[0], spi_len, in main()
623 if (is_data_buf_filled_with(&tb1.b[0], spi_len, SPI_FILL_VAL)) { in main()
631 printf("Read %u bytes from 0x%08x using SPI Read 1-1-1-8\n", spi_len, spi_addr.addr); in main()
632 err = spi_flash_read_fd_sync(spi_dev, &spi_cfg, &spi_addr, &tb1.b[0], spi_len, in main()
639 if (is_data_buf_filled_with(&tb1.b[0], spi_len, SPI_FILL_VAL)) { in main()
647 printf("Read %u bytes from 0x%08x using SPI Read 1-1-2-8\n", spi_len, spi_addr.addr); in main()
649 spi_len, SPI_FLASH_READ_DUAL_OPCODE); in main()
[all …]