The latest development version of this page may be more current than this released 2.5.0 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:32drivers/Kconfig:62drivers/sensor/Kconfig:81

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.)