Skip to content

Struct hal::accelerometer::read_t

ClassList > hal > accelerometer > read_t

Result from reading the accelerometer.

  • #include <accelerometer.hpp>

Public Attributes

Type Name
g_force x
Acceleration in the X axis, relative to the device's reference frame.
g_force y
Acceleration in the Y axis, relative to the device's reference frame.
g_force z
Acceleration in the Z axis, relative to the device's reference frame.

Public Attributes Documentation

variable x

g_force hal::accelerometer::read_t::x;

variable y

g_force hal::accelerometer::read_t::y;

variable z

g_force hal::accelerometer::read_t::z;

The documentation for this class was generated from the following file libraries/include/libhal/accelerometer.hpp