test sending sensor results over lora radio. Accelerometer and temp/pressure.
This section groups all the functions concerning serial interface management. More...
Functions | |
int32_t | lps22hh_i2c_interface_set (lps22hh_ctx_t *ctx, lps22hh_i2c_disable_t val) |
i2c_interface: [set] Enable/Disable I2C interface. | |
int32_t | lps22hh_i2c_interface_get (lps22hh_ctx_t *ctx, lps22hh_i2c_disable_t *val) |
i2c_interface: [get] Enable/Disable I2C interface. | |
int32_t | lps22hh_i3c_interface_set (lps22hh_ctx_t *ctx, lps22hh_i3c_disable_t val) |
i3c_interface: [set] I3C Enable/Disable communication protocol | |
int32_t | lps22hh_i3c_interface_get (lps22hh_ctx_t *ctx, lps22hh_i3c_disable_t *val) |
i3c_interface: [get] I3C Enable/Disable communication protocol | |
int32_t | lps22hh_sdo_sa0_mode_set (lps22hh_ctx_t *ctx, lps22hh_pu_en_t val) |
sdo_sa0_mode: [set] Enable/Disable pull-up on SDO pin. | |
int32_t | lps22hh_sdo_sa0_mode_get (lps22hh_ctx_t *ctx, lps22hh_pu_en_t *val) |
sdo_sa0_mode: [get] Enable/Disable pull-up on SDO pin. | |
int32_t | lps22hh_sda_mode_set (lps22hh_ctx_t *ctx, lps22hh_pu_en_t val) |
sda_mode: [set] Connect/Disconnect SDO/SA0 internal pull-up. | |
int32_t | lps22hh_sda_mode_get (lps22hh_ctx_t *ctx, lps22hh_pu_en_t *val) |
sda_mode: [get] Connect/Disconnect SDO/SA0 internal pull-up. | |
int32_t | lps22hh_spi_mode_set (lps22hh_ctx_t *ctx, lps22hh_sim_t val) |
spi_mode: [set] SPI Serial Interface Mode selection. | |
int32_t | lps22hh_spi_mode_get (lps22hh_ctx_t *ctx, lps22hh_sim_t *val) |
spi_mode: [get] SPI Serial Interface Mode selection. |
Detailed Description
This section groups all the functions concerning serial interface management.
Function Documentation
int32_t lps22hh_i2c_interface_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_i2c_disable_t * | val | ||
) |
i2c_interface: [get] Enable/Disable I2C interface.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_i2c_disable_t,: Get the values of i2c_disable in reg IF_CTRL
Definition at line 735 of file LPS22HH_Driver.c.
int32_t lps22hh_i2c_interface_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_i2c_disable_t | val | ||
) |
i2c_interface: [set] Enable/Disable I2C interface.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_i2c_disable_t,: change the values of i2c_disable in reg IF_CTRL
Definition at line 714 of file LPS22HH_Driver.c.
int32_t lps22hh_i3c_interface_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_i3c_disable_t * | val | ||
) |
i3c_interface: [get] I3C Enable/Disable communication protocol
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_i3c_disable_t,: change the values of int_en_i3c in reg IF_CTRL
Definition at line 777 of file LPS22HH_Driver.c.
int32_t lps22hh_i3c_interface_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_i3c_disable_t | val | ||
) |
i3c_interface: [set] I3C Enable/Disable communication protocol
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions uint8_t lps22hh_i3c_disable_t: change the values of int_en_i3c in reg IF_CTRL
Definition at line 755 of file LPS22HH_Driver.c.
int32_t lps22hh_sda_mode_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pu_en_t * | val | ||
) |
sda_mode: [get] Connect/Disconnect SDO/SA0 internal pull-up.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_sda_pu_en_t,: Get the values of sda_pu_en in reg IF_CTRL
Definition at line 855 of file LPS22HH_Driver.c.
int32_t lps22hh_sda_mode_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pu_en_t | val | ||
) |
sda_mode: [set] Connect/Disconnect SDO/SA0 internal pull-up.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_sda_pu_en_t,: change the values of sda_pu_en in reg IF_CTRL
Definition at line 836 of file LPS22HH_Driver.c.
int32_t lps22hh_sdo_sa0_mode_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pu_en_t * | val | ||
) |
sdo_sa0_mode: [get] Enable/Disable pull-up on SDO pin.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_sdo_pu_en_t,: Get the values of sdo_pu_en in reg IF_CTRL
Definition at line 817 of file LPS22HH_Driver.c.
int32_t lps22hh_sdo_sa0_mode_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pu_en_t | val | ||
) |
sdo_sa0_mode: [set] Enable/Disable pull-up on SDO pin.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_sdo_pu_en_t,: change the values of sdo_pu_en in reg IF_CTRL
Definition at line 798 of file LPS22HH_Driver.c.
int32_t lps22hh_spi_mode_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_sim_t * | val | ||
) |
spi_mode: [get] SPI Serial Interface Mode selection.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_sim_t,: Get the values of sim in reg CTRL_REG1
Definition at line 892 of file LPS22HH_Driver.c.
int32_t lps22hh_spi_mode_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_sim_t | val | ||
) |
spi_mode: [set] SPI Serial Interface Mode selection.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_sim_t,: change the values of sim in reg CTRL_REG1
Definition at line 873 of file LPS22HH_Driver.c.
Generated on Tue Jul 12 2022 16:29:50 by 1.7.2