|
Bridle API 4.2.0
A Zephyr based application framework
|
This section groups all the data output functions. More...
Functions | |
| int32_t | stk8ba58_acceleration_raw_get (const struct i2c_dt_spec *i2c, int16_t *buff) |
| Linear acceleration output register. | |
This section groups all the data output functions.
| int32_t stk8ba58_acceleration_raw_get | ( | const struct i2c_dt_spec * | i2c, |
| int16_t * | buff | ||
| ) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Linear acceleration output register.
The value is expressed as a 16-bit word in two’s complement.[get]
| i2c | Read / write interface definitions.(ptr) |
| buff | Buffer that stores data read.(ptr) |
| Interface | status (MANDATORY: return 0 -> no Error). |