ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_lsm6dso_xyz_t Struct Reference

3-axis raw sample (X, Y, Z as 16-bit two's-complement counts). More...

#include <ra8_lsm6dso.h>

Data Fields

int16_t x
 X-axis raw count.
int16_t y
 Y-axis raw count.
int16_t z
 Z-axis raw count.

Detailed Description

3-axis raw sample (X, Y, Z as 16-bit two's-complement counts).

Returned by ra8_lsm6dso_read_accel and ra8_lsm6dso_read_gyro. Conversion to physical units (g / dps) is up to the caller because it requires the active full-scale code at the time of sampling – see DS12140 Table 3 for the per-FS sensitivity values.

Definition at line 205 of file ra8_lsm6dso.h.

Field Documentation

◆ x

int16_t ra8_lsm6dso_xyz_t::x

X-axis raw count.

Definition at line 206 of file ra8_lsm6dso.h.

Referenced by imu_demo_sample_and_emit(), and internal_lsm6dso_read_xyz().

◆ y

int16_t ra8_lsm6dso_xyz_t::y

Y-axis raw count.

Definition at line 207 of file ra8_lsm6dso.h.

Referenced by imu_demo_sample_and_emit(), and internal_lsm6dso_read_xyz().

◆ z

int16_t ra8_lsm6dso_xyz_t::z

Z-axis raw count.

Definition at line 208 of file ra8_lsm6dso.h.

Referenced by imu_demo_sample_and_emit(), and internal_lsm6dso_read_xyz().


The documentation for this struct was generated from the following file: