Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/drivers/eeprom/api/src/
Dmain.c39 const uint8_t wr_buf1[4] = { 0xFF, 0xEE, 0xDD, 0xCC }; in ZTEST_USER() local
40 const uint8_t wr_buf2[sizeof(wr_buf1)] = { 0xAA, 0xBB, 0xCC, 0xDD }; in ZTEST_USER()
41 uint8_t rd_buf[sizeof(wr_buf1)]; in ZTEST_USER()
50 rc = eeprom_write(eeprom, address, wr_buf1, sizeof(wr_buf1)); in ZTEST_USER()
56 rc = memcmp(wr_buf1, rd_buf, sizeof(wr_buf1)); in ZTEST_USER()
59 address += sizeof(wr_buf1); in ZTEST_USER()
80 const uint8_t wr_buf1[4] = { 0xFF, 0xEE, 0xDD, 0xCC }; in ZTEST_USER() local
81 uint8_t rd_buf[sizeof(wr_buf1)]; in ZTEST_USER()
89 rc = eeprom_write(eeprom, address, wr_buf1, sizeof(wr_buf1)); in ZTEST_USER()
95 rc = memcmp(wr_buf1, rd_buf, sizeof(wr_buf1)); in ZTEST_USER()
[all …]