Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/sensor/akm09918c/src/
Dmain.c50 const int16_t magn_percent[3]) in test_fetch_magnetic_field()
63 register_buffer[i * 2 + 1] = (magn_percent[i] >> 8) & GENMASK(7, 0); in test_fetch_magnetic_field()
64 register_buffer[i * 2] = magn_percent[i] & GENMASK(7, 0); in test_fetch_magnetic_field()
74 expect_ugauss = magn_percent[0] * AKM09918C_MICRO_GAUSS_PER_BIT; in test_fetch_magnetic_field()
80 expect_ugauss = magn_percent[1] * AKM09918C_MICRO_GAUSS_PER_BIT; in test_fetch_magnetic_field()
86 expect_ugauss = magn_percent[2] * AKM09918C_MICRO_GAUSS_PER_BIT; in test_fetch_magnetic_field()
95 const int16_t magn_percent[3] = { in ZTEST_F() local
101 test_fetch_magnetic_field(fixture, magn_percent); in ZTEST_F()