Home
last modified time | relevance | path

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

/Zephyr-latest/samples/sensor/bmg160/src/
Dmain.c24 static void print_gyro_data(const struct device *bmg160) in print_gyro_data() argument
28 if (sensor_channel_get(bmg160, SENSOR_CHAN_GYRO_XYZ, val) < 0) { in print_gyro_data()
39 static void print_temp_data(const struct device *bmg160) in print_temp_data() argument
43 if (sensor_channel_get(bmg160, SENSOR_CHAN_DIE_TEMP, &val) < 0) { in print_temp_data()
52 static void test_polling_mode(const struct device *bmg160) in test_polling_mode() argument
57 if (sensor_sample_fetch(bmg160) < 0) { in test_polling_mode()
61 print_gyro_data(bmg160); in test_polling_mode()
63 print_temp_data(bmg160); in test_polling_mode()
72 static void trigger_handler(const struct device *bmg160, in trigger_handler() argument
81 if (sensor_sample_fetch(bmg160) < 0) { in trigger_handler()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmg160/
Dbmg160_trigger.c34 struct bmg160_device_data *bmg160 = in bmg160_gpio_callback() local
41 k_sem_give(&bmg160->trig_sem); in bmg160_gpio_callback()
43 k_work_submit(&bmg160->work); in bmg160_gpio_callback()
51 struct bmg160_device_data *bmg160 = dev->data; in bmg160_anymotion_set() local
65 bmg160->anymotion_handler = handler; in bmg160_anymotion_set()
66 bmg160->anymotion_trig = trig; in bmg160_anymotion_set()
75 struct bmg160_device_data *bmg160 = dev->data; in bmg160_drdy_set() local
83 bmg160->drdy_handler = handler; in bmg160_drdy_set()
84 bmg160->drdy_trig = trig; in bmg160_drdy_set()
92 struct bmg160_device_data *bmg160 = dev->data; in bmg160_slope_config() local
[all …]
Dbmg160.c37 struct bmg160_device_data *bmg160 = dev->data; in bmg160_read() local
42 k_sem_take(&bmg160->sem, K_FOREVER); in bmg160_read()
49 k_sem_give(&bmg160->sem); in bmg160_read()
65 struct bmg160_device_data *bmg160 = dev->data; in bmg160_write() local
70 k_sem_take(&bmg160->sem, K_FOREVER); in bmg160_write()
77 k_sem_give(&bmg160->sem); in bmg160_write()
93 struct bmg160_device_data *bmg160 = dev->data; in bmg160_update_byte() local
98 k_sem_take(&bmg160->sem, K_FOREVER); in bmg160_update_byte()
105 k_sem_give(&bmg160->sem); in bmg160_update_byte()
136 struct bmg160_device_data *bmg160 = dev->data; in bmg160_attr_set() local
[all …]
DCMakeLists.txt5 zephyr_library_sources(bmg160.c)
/Zephyr-latest/samples/sensor/bmg160/boards/
Dfrdm_k64f.overlay8 bmg160@68 {
9 compatible = "bosch,bmg160";
/Zephyr-latest/samples/sensor/bmg160/
DCMakeLists.txt5 project(bmg160) project
/Zephyr-latest/drivers/sensor/bosch/
DCMakeLists.txt10 add_subdirectory_ifdef(CONFIG_BMG160 bmg160)
DKconfig10 source "drivers/sensor/bosch/bmg160/Kconfig"
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi102 test_i2c_bmg160: bmg160@c {
103 compatible = "bosch,bmg160";
/Zephyr-latest/doc/releases/
Drelease-notes-2.7.rst1282 * :github:`38009` - [Coverity CID: 236651] Unchecked return value in drivers/sensor/bmg160/bmg160_t…
Drelease-notes-2.6.rst1245 * :github:`35118` - [Coverity CID: 235919] Logically dead code in samples/sensor/bmg160/src/main.c
Drelease-notes-1.14.rst1313 * :github:`14476` - quark_d2000_crb: samples/sensor/bmg160 runs out of ROM (CI failure)