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 groups all the functions concerning data generation. More...
Functions | |
| int32_t | lps22hh_autozero_rst_set (lps22hh_ctx_t *ctx, uint8_t val) |
| autozero_rst: [set] Reset Autozero function. | |
| int32_t | lps22hh_autozero_rst_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| autozero_rst: [get] Reset Autozero function. | |
| int32_t | lps22hh_autozero_set (lps22hh_ctx_t *ctx, uint8_t val) |
| autozero: [set] Enable Autozero function. | |
| int32_t | lps22hh_autozero_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| autozero: [get] Enable Autozero function. | |
| int32_t | lps22hh_pressure_snap_rst_set (lps22hh_ctx_t *ctx, uint8_t val) |
| pressure_snap_rst: [set] Reset AutoRifP function. | |
| int32_t | lps22hh_pressure_snap_rst_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| pressure_snap_rst: [get] Reset AutoRifP function. | |
| int32_t | lps22hh_pressure_snap_set (lps22hh_ctx_t *ctx, uint8_t val) |
| pressure_snap: [set] Enable AutoRifP function. | |
| int32_t | lps22hh_pressure_snap_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| pressure_snap: [get] Enable AutoRifP function. | |
| int32_t | lps22hh_block_data_update_set (lps22hh_ctx_t *ctx, uint8_t val) |
| block_data_update: [set] Blockdataupdate. | |
| int32_t | lps22hh_block_data_update_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| block_data_update: [get] Blockdataupdate. | |
| int32_t | lps22hh_data_rate_set (lps22hh_ctx_t *ctx, lps22hh_odr_t val) |
| data_rate: [set] Output data rate selection. | |
| int32_t | lps22hh_data_rate_get (lps22hh_ctx_t *ctx, lps22hh_odr_t *val) |
| data_rate: [get] Output data rate selection. | |
| int32_t | lps22hh_pressure_ref_set (lps22hh_ctx_t *ctx, uint8_t *buff) |
| pressure_ref: [set] The Reference pressure value is a 16-bit data expressed as 2’s complement. | |
| int32_t | lps22hh_pressure_ref_get (lps22hh_ctx_t *ctx, uint8_t *buff) |
| pressure_ref: [get] The Reference pressure value is a 16-bit data expressed as 2’s complement. | |
| int32_t | lps22hh_pressure_offset_set (lps22hh_ctx_t *ctx, uint8_t *buff) |
| pressure_offset: [set] The pressure offset value is 16-bit data that can be used to implement one-point calibration (OPC) after soldering. | |
| int32_t | lps22hh_pressure_offset_get (lps22hh_ctx_t *ctx, uint8_t *buff) |
| pressure_offset: [get] The pressure offset value is 16-bit data that can be used to implement one-point calibration (OPC) after soldering. | |
| int32_t | lps22hh_all_sources_get (lps22hh_ctx_t *ctx, lps22hh_all_sources_t *val) |
| all_sources: [get] Read all the interrupt/status flag of the device. | |
| int32_t | lps22hh_status_reg_get (lps22hh_ctx_t *ctx, lps22hh_status_t *val) |
| status_reg: [get] The STATUS_REG register is read by the primary interface | |
| int32_t | lps22hh_press_flag_data_ready_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| press_flag_data_ready: [get] Pressure new data available. | |
| int32_t | lps22hh_temp_flag_data_ready_get (lps22hh_ctx_t *ctx, uint8_t *val) |
| temp_flag_data_ready: [get] Temperature data available. | |
Detailed Description
This section groups all the functions concerning data generation.
Function Documentation
| int32_t lps22hh_all_sources_get | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_all_sources_t * | val | ||
| ) |
all_sources: [get] Read all the interrupt/status flag of the device.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_all_sources,: registers STATUS,FIFO_STATUS2,INT_SOURCE
Definition at line 383 of file LPS22HH_Driver.c.
| int32_t lps22hh_autozero_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
autozero: [get] Enable Autozero function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of autozero in reg INTERRUPT_CFG
Definition at line 155 of file LPS22HH_Driver.c.
| int32_t lps22hh_autozero_rst_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
autozero_rst: [get] Reset Autozero function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of reset_az in reg INTERRUPT_CFG
Definition at line 118 of file LPS22HH_Driver.c.
| int32_t lps22hh_autozero_rst_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
autozero_rst: [set] Reset Autozero function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of reset_az in reg INTERRUPT_CFG
Definition at line 99 of file LPS22HH_Driver.c.
| int32_t lps22hh_autozero_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
autozero: [set] Enable Autozero function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of autozero in reg INTERRUPT_CFG
Definition at line 136 of file LPS22HH_Driver.c.
| int32_t lps22hh_block_data_update_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
block_data_update: [get] Blockdataupdate.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of bdu in reg CTRL_REG1
Definition at line 266 of file LPS22HH_Driver.c.
| int32_t lps22hh_block_data_update_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
block_data_update: [set] Blockdataupdate.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of bdu in reg CTRL_REG1
Definition at line 247 of file LPS22HH_Driver.c.
| int32_t lps22hh_data_rate_get | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_odr_t * | val | ||
| ) |
data_rate: [get] Output data rate selection.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_odr_t,: Get the values of odr in reg CTRL_REG1
Definition at line 305 of file LPS22HH_Driver.c.
| int32_t lps22hh_data_rate_set | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_odr_t | val | ||
| ) |
data_rate: [set] Output data rate selection.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_odr_t,: change the values of odr in reg CTRL_REG1
Definition at line 284 of file LPS22HH_Driver.c.
| int32_t lps22hh_press_flag_data_ready_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
press_flag_data_ready: [get] Pressure new data available.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of p_da in reg STATUS
Definition at line 418 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_offset_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
pressure_offset: [get] The pressure offset value is 16-bit data that can be used to implement one-point calibration (OPC) after soldering.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that stores data read
Definition at line 370 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_offset_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
pressure_offset: [set] The pressure offset value is 16-bit data that can be used to implement one-point calibration (OPC) after soldering.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that contains data to write
Definition at line 355 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_ref_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
pressure_ref: [get] The Reference pressure value is a 16-bit data expressed as 2’s complement.
The value is used when AUTOZERO or AUTORIFP function is enabled.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that stores data read
Definition at line 341 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_ref_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
pressure_ref: [set] The Reference pressure value is a 16-bit data expressed as 2’s complement.
The value is used when AUTOZERO or AUTORIFP function is enabled.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t * : buffer that contains data to write
Definition at line 326 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_snap_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
pressure_snap: [get] Enable AutoRifP function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of autorifp in reg INTERRUPT_CFG
Definition at line 229 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_snap_rst_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
pressure_snap_rst: [get] Reset AutoRifP function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of reset_arp in reg INTERRUPT_CFG
Definition at line 192 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_snap_rst_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
pressure_snap_rst: [set] Reset AutoRifP function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of reset_arp in reg INTERRUPT_CFG
Definition at line 173 of file LPS22HH_Driver.c.
| int32_t lps22hh_pressure_snap_set | ( | lps22hh_ctx_t * | ctx, |
| uint8_t | val | ||
| ) |
pressure_snap: [set] Enable AutoRifP function.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t val: change the values of autorifp in reg INTERRUPT_CFG
Definition at line 210 of file LPS22HH_Driver.c.
| int32_t lps22hh_status_reg_get | ( | lps22hh_ctx_t * | ctx, |
| lps22hh_status_t * | val | ||
| ) |
status_reg: [get] The STATUS_REG register is read by the primary interface
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_,: union of registers from STATUS to STATUS_REG
Definition at line 406 of file LPS22HH_Driver.c.
| int32_t lps22hh_temp_flag_data_ready_get | ( | lps22hh_ctx_t * | ctx, |
| uint8_t * | val | ||
| ) |
temp_flag_data_ready: [get] Temperature data available.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t,: change the values of t_da in reg STATUS
Definition at line 436 of file LPS22HH_Driver.c.
Generated on Tue Jul 12 2022 16:29:50 by
1.7.2