3-axis MEMS ultra low power accelerometer
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: X_NUCLEO_IKS01A3 X_NUCLEO_IKS01A3
This section group all the functions concerning the fifo usage. More...
Functions | |
int32_t | lis2dw12_fifo_watermark_set (lis2dw12_ctx_t *ctx, uint8_t val) |
FIFO watermark level selection. | |
int32_t | lis2dw12_fifo_watermark_get (lis2dw12_ctx_t *ctx, uint8_t *val) |
FIFO watermark level selection. | |
int32_t | lis2dw12_fifo_mode_set (lis2dw12_ctx_t *ctx, lis2dw12_fmode_t val) |
FIFO mode selection. | |
int32_t | lis2dw12_fifo_mode_get (lis2dw12_ctx_t *ctx, lis2dw12_fmode_t *val) |
FIFO mode selection. | |
int32_t | lis2dw12_fifo_data_level_get (lis2dw12_ctx_t *ctx, uint8_t *val) |
Number of unread samples stored in FIFO. | |
int32_t | lis2dw12_fifo_ovr_flag_get (lis2dw12_ctx_t *ctx, uint8_t *val) |
FIFO overrun status. | |
int32_t | lis2dw12_fifo_wtm_flag_get (lis2dw12_ctx_t *ctx, uint8_t *val) |
FIFO threshold status flag. |
Detailed Description
This section group all the functions concerning the fifo usage.
Function Documentation
int32_t lis2dw12_fifo_data_level_get | ( | lis2dw12_ctx_t * | ctx, |
uint8_t * | val | ||
) |
Number of unread samples stored in FIFO.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of diff in reg FIFO_SAMPLES
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2838 of file lis2dw12_reg.c.
int32_t lis2dw12_fifo_mode_get | ( | lis2dw12_ctx_t * | ctx, |
lis2dw12_fmode_t * | val | ||
) |
FIFO mode selection.
[get]
- Parameters:
-
ctx read / write interface definitions val Get the values of fmode in reg FIFO_CTRL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2800 of file lis2dw12_reg.c.
int32_t lis2dw12_fifo_mode_set | ( | lis2dw12_ctx_t * | ctx, |
lis2dw12_fmode_t | val | ||
) |
FIFO mode selection.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of fmode in reg FIFO_CTRL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2779 of file lis2dw12_reg.c.
int32_t lis2dw12_fifo_ovr_flag_get | ( | lis2dw12_ctx_t * | ctx, |
uint8_t * | val | ||
) |
FIFO overrun status.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of fifo_ovr in reg FIFO_SAMPLES
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2856 of file lis2dw12_reg.c.
int32_t lis2dw12_fifo_watermark_get | ( | lis2dw12_ctx_t * | ctx, |
uint8_t * | val | ||
) |
FIFO watermark level selection.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of fth in reg FIFO_CTRL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2760 of file lis2dw12_reg.c.
int32_t lis2dw12_fifo_watermark_set | ( | lis2dw12_ctx_t * | ctx, |
uint8_t | val | ||
) |
FIFO watermark level selection.
[set]
- Parameters:
-
ctx read / write interface definitions val change the values of fth in reg FIFO_CTRL
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2738 of file lis2dw12_reg.c.
int32_t lis2dw12_fifo_wtm_flag_get | ( | lis2dw12_ctx_t * | ctx, |
uint8_t * | val | ||
) |
FIFO threshold status flag.
[get]
- Parameters:
-
ctx read / write interface definitions val change the values of fifo_fth in reg FIFO_SAMPLES
- Return values:
-
interface status (MANDATORY: return 0 -> no Error)
Definition at line 2874 of file lis2dw12_reg.c.
Generated on Thu Jul 14 2022 10:48:26 by 1.7.2