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.
This section group all the functions concerning the fifo usage. More...
Functions | |
| int32_t | lps22hh_fifo_mode_set (lps22hh_ctx_t *ctx, lps22hh_f_mode_t val) |
| fifo_mode: [set] | |
| int32_t | lps22hh_fifo_mode_get (lps22hh_ctx_t *ctx, lps22hh_f_mode_t *val) |
| fifo_mode: [get] | |
| int32_t | lps22hh_fifo_stop_on_wtm_set (lps22hh_ctx_t *ctx, uint8_t val) |
| fifo_stop_on_wtm: [set] Sensing chain FIFO stop values memorization at threshold level. | |
| int32_t | lps22hh_fifo_stop_on_wtm_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| fifo_stop_on_wtm: [get] Sensing chain FIFO stop values memorization at threshold level. | |
| int32_t | lps22hh_fifo_watermark_set (lps22hh_ctx_t *ctx, uint8_t val) |
| fifo_watermark: [set] FIFO watermark level selection. | |
| int32_t | lps22hh_fifo_watermark_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| fifo_watermark: [get] FIFO watermark level selection. | |
| int32_t | lps22hh_fifo_data_level_get (lps22hh_ctx_t *ctx, uint8_t *buff) |
| fifo_data_level: [get] FIFO stored data level. | |
| int32_t | lps22hh_fifo_src_get (lps22hh_ctx_t *ctx, lps22hh_fifo_status2_t *val) |
| fifo_src: [get] Read all the FIFO status flag of the device. | |
| int32_t | lps22hh_fifo_full_flag_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| fifo_full_flag: [get] Smart FIFO full status. | |
| int32_t | lps22hh_fifo_ovr_flag_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| fifo_ovr_flag: [get] FIFO overrun status. | |
| int32_t | lps22hh_fifo_wtm_flag_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| fifo_wtm_flag: [get] FIFO watermark status. | |
Detailed Description
This section group all the functions concerning the fifo usage.
Function Documentation
| int32_t lps22hh_fifo_data_level_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
fifo_data_level: [get] FIFO stored data level.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that stores data read
Definition at line 1270 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_full_flag_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
fifo_full_flag: [get] Smart FIFO full status.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of f_full in reg FIFO_STATUS2
Definition at line 1294 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_mode_get | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_f_mode_t * | val | ||
| ) |
fifo_mode: [get]
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_f_mode_t,: Get the values of f_mode in reg FIFO_CTRL
Definition at line 1176 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_mode_set | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_f_mode_t | val | ||
| ) |
fifo_mode: [set]
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_f_mode_t,: change the values of f_mode in reg FIFO_CTRL
Definition at line 1157 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_ovr_flag_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
fifo_ovr_flag: [get] FIFO overrun status.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of ovr in reg FIFO_STATUS2
Definition at line 1312 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_src_get | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_fifo_status2_t * | val | ||
| ) |
fifo_src: [get] Read all the FIFO status flag of the device.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_,: union of registers from FIFO_STATUS2 to
Definition at line 1282 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_stop_on_wtm_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
fifo_stop_on_wtm: [get] Sensing chain FIFO stop values memorization at threshold level.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of stop_on_fth in reg FIFO_CTRL
Definition at line 1215 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_stop_on_wtm_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
fifo_stop_on_wtm: [set] Sensing chain FIFO stop values memorization at threshold level.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of stop_on_fth in reg FIFO_CTRL
Definition at line 1195 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_watermark_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
fifo_watermark: [get] FIFO watermark level selection.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of wtm in reg FIFO_WTM
Definition at line 1252 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_watermark_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
fifo_watermark: [set] FIFO watermark level selection.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of wtm in reg FIFO_WTM
Definition at line 1233 of file LPS22HH_Driver.c.
| int32_t lps22hh_fifo_wtm_flag_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
fifo_wtm_flag: [get] FIFO watermark status.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of fth_fifo in reg FIFO_STATUS2
Definition at line 1330 of file LPS22HH_Driver.c.
Generated on Tue Jul 12 2022 16:29:50 by
1.7.2