Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/spi_fujitsu_fram/src/
Dmain.c23 static uint8_t data[MAX_USER_DATA_LENGTH], cmp_data[MAX_USER_DATA_LENGTH]; variable
203 for (uint32_t i = 0; i < sizeof(cmp_data); i++) { in main()
204 cmp_data[i] = k_cycle_get_32() & 0xFF; in main()
209 err = write_bytes(spi, &spi_cfg, 0x00, cmp_data, sizeof(cmp_data)); in main()
215 (uint32_t) sizeof(cmp_data)); in main()
228 for (uint32_t i = 0; i < sizeof(cmp_data); i++) { in main()
229 if (cmp_data[i] != data[i]) { in main()