Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
This section groups all the data output functions. More...
Functions | |
int32_t | lis2dw12_temperature_raw_get (lis2dw12_ctx_t *ctx, uint8_t *buff) |
Temperature data output register (r). | |
int32_t | lis2dw12_acceleration_raw_get (lis2dw12_ctx_t *ctx, uint8_t *buff) |
Linear acceleration output register. |
Detailed Description
This section groups all the data output functions.
Function Documentation
int32_t lis2dw12_acceleration_raw_get | ( | lis2dw12_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
Linear acceleration output register.
The value is expressed as a 16-bit word in two’s complement.[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 708 of file lis2dw12_reg.c.
int32_t lis2dw12_temperature_raw_get | ( | lis2dw12_ctx_t * | ctx, |
uint8_t * | buff | ||
) |
Temperature data output register (r).
L and H registers together express a 16-bit word in two’s complement.[get]
- Parameters:
-
ctx read / write interface definitions buff buffer that stores data read
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 692 of file lis2dw12_reg.c.
Generated on Thu Jul 14 2022 10:48:26 by
