Gyroscope

This section will introduce the gyroscope BMG160 and the components of the BMI160 on the XDK.

BMG160 https://www.bosch-sensortec.com/bst/products/all_products/bmg160

BMI160 https://www.bosch-sensortec.com/bst/products/all_products/bmi160

Overview

Function

The table below contains some of the configuration functions of the gyroscope

Function

Effect

Gyroscope_setBandwidth()

Configures the gyroscope with the given bandwidth enumeration

Gyroscope_getBandwidth()

Returns the configured bandwidth of the gyroscope in a passed reference variable

Gyroscope_setRange()

Configures the gyroscope with the given range enumeration

Gyroscope_getRange()

Returns the configured range of the gyroscope in a passed reference variable

Gyroscope_setMode()

Configures the gyroscope with the given power mode enumeration

Gyroscope_getMode()

Returns the configured power mode of the gyroscope in a passed reference variable

Gyroscope_setSleepDuration()

Configures the gyroscope with the given sleep duration

Gyroscope_getSleepDuration()

Returns the configured sleep duration of the gyroscope in a passed reference variable

Last updated

Was this helpful?