This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FXAS21002_WHOAMI

WHOAMI value

Type: hex

Help

The datasheet defines the value of the WHOAMI register, but some
pre-production devices can have a different value. It is unlikely you
should need to change this configuration option from the default.

Direct dependencies

FXAS21002 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0xd7

Kconfig definition

At drivers/sensor/fxas21002/Kconfig:14

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:62drivers/sensor/Kconfig:87

Menu path: (Top) → Device Drivers → Sensor Drivers → FXAS21002 gyroscope driver

config FXAS21002_WHOAMI
    hex "WHOAMI value"
    range 0x00 0xff
    default 0xd7
    depends on FXAS21002 && SENSOR
    help
      The datasheet defines the value of the WHOAMI register, but some
      pre-production devices can have a different value. It is unlikely you
      should need to change this configuration option from the default.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)