/Zephyr-Core-2.7.6/drivers/sensor/bmg160/ |
D | bmg160_trigger.c | 1 /* Bosch BMG160 gyro driver, trigger implementation 8 * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMG160-DS000-09.pdf 14 #include "bmg160.h" 19 LOG_MODULE_DECLARE(BMG160, CONFIG_SENSOR_LOG_LEVEL); 39 struct bmg160_device_data *bmg160 = in bmg160_gpio_callback() local 46 k_sem_give(&bmg160->trig_sem); in bmg160_gpio_callback() 48 k_work_submit(&bmg160->work); in bmg160_gpio_callback() 55 struct bmg160_device_data *bmg160 = dev->data; in bmg160_anymotion_set() local 69 bmg160->anymotion_handler = handler; in bmg160_anymotion_set() 77 struct bmg160_device_data *bmg160 = dev->data; in bmg160_drdy_set() local [all …]
|
D | bmg160.c | 1 /* Bosch BMG160 gyro driver 8 * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMG160-DS000-09.pdf 19 #include "bmg160.h" 21 LOG_MODULE_REGISTER(BMG160, CONFIG_SENSOR_LOG_LEVEL); 28 struct bmg160_device_data *bmg160 = dev->data; in bmg160_bus_config() local 33 return i2c_configure(bmg160->i2c, i2c_cfg); in bmg160_bus_config() 40 struct bmg160_device_data *bmg160 = dev->data; in bmg160_read() local 45 k_sem_take(&bmg160->sem, K_FOREVER); in bmg160_read() 47 if (i2c_burst_read(bmg160->i2c, dev_cfg->i2c_addr, in bmg160_read() 52 k_sem_give(&bmg160->sem); in bmg160_read() [all …]
|
D | Kconfig | 1 # Bosch BMG160 gyroscope configuration options 6 menuconfig BMG160 config 7 bool "Bosch BMG160 gyroscope support" 10 Enable Bosch BMG160 gyroscope support. 12 if BMG160 15 prompt "BMG160 I2C bus speed" 110 endif # BMG160
|
D | CMakeLists.txt | 5 zephyr_library_sources(bmg160.c)
|
D | bmg160.h | 1 /* Bosch BMG160 gyro driver */
|
/Zephyr-Core-2.7.6/samples/sensor/bmg160/src/ |
D | main.c | 21 #error "No bosch,bmg160 compatible node found in the device tree" 24 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() 29 printf("Cannot read bmg160 gyro channels.\n"); 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() [all …]
|
/Zephyr-Core-2.7.6/samples/sensor/bmg160/ |
D | sample.yaml | 2 name: BMG160 Sensor Sample 4 sample.sensor.bmg160: 8 filter: dt_compat_enabled("bosch,bmg160")
|
D | CMakeLists.txt | 5 project(bmg160) project
|
/Zephyr-Core-2.7.6/samples/sensor/bmg160/boards/ |
D | frdm_k64f.overlay | 8 bmg160@68 { 9 compatible = "bosch,bmg160"; 12 label = "BMG160";
|
/Zephyr-Core-2.7.6/dts/bindings/sensor/ |
D | bosch,bmg160.yaml | 5 Bosch BMG160 gyroscope. See more info at: 6 https://www.bosch-sensortec.com/bst/products/all_products/bmg160 8 compatible: "bosch,bmg160"
|
/Zephyr-Core-2.7.6/drivers/sensor/ |
D | CMakeLists.txt | 15 add_subdirectory_ifdef(CONFIG_BMG160 bmg160)
|
D | Kconfig | 65 source "drivers/sensor/bmg160/Kconfig"
|
/Zephyr-Core-2.7.6/tests/drivers/build_all/sensor/ |
D | i2c.dtsi | 96 test_i2c_bmg160: bmg160@e { 97 compatible = "bosch,bmg160"; 98 label = "BMG160";
|
/Zephyr-Core-2.7.6/scripts/release/ |
D | twister_last_release.csv | 35656 samples/sensor/bmg160/sample.sensor.bmg160,arc,em_starterkit_em11d,True,,,na,,0,0 35657 samples/sensor/bmg160/sample.sensor.bmg160,arc,em_starterkit_em7d_v22,True,,,na,,0,0 35658 samples/sensor/bmg160/sample.sensor.bmg160,arc,em_starterkit_em7d,True,,,na,,0,0 35659 samples/sensor/bmg160/sample.sensor.bmg160,arc,em_starterkit,True,,,na,,0,0 35660 samples/sensor/bmg160/sample.sensor.bmg160,arc,em_starterkit_em7d_normal,True,,,na,,0,0 35661 samples/sensor/bmg160/sample.sensor.bmg160,arm,stm32f072b_disco,True,,,na,,0,0 35662 samples/sensor/bmg160/sample.sensor.bmg160,arm,frdm_kw41z,True,,,na,,0,0 35663 samples/sensor/bmg160/sample.sensor.bmg160,arm,mimxrt1064_evk,True,,,na,,0,0 35664 samples/sensor/bmg160/sample.sensor.bmg160,arm,stm32l496g_disco,True,,,na,,0,0 35665 samples/sensor/bmg160/sample.sensor.bmg160,arm,nucleo_f411re,True,,,na,,0,0 [all …]
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.7.rst | 1761 * :github:`38009` - [Coverity CID: 236651] Unchecked return value in drivers/sensor/bmg160/bmg160_t…
|
D | release-notes-2.6.rst | 1244 * :github:`35118` - [Coverity CID: 235919] Logically dead code in samples/sensor/bmg160/src/main.c
|
D | release-notes-1.14.rst | 1313 * :github:`14476` - quark_d2000_crb: samples/sensor/bmg160 runs out of ROM (CI failure)
|