test sending sensor results over lora radio. Accelerometer and temp/pressure.
This section groups all the functions that manage interrupt pins. More...
Functions | |
int32_t | lps22hh_int_notification_set (lps22hh_ctx_t *ctx, lps22hh_lir_t val) |
int_notification: [set] Latch interrupt request to the INT_SOURCE (24h) register. | |
int32_t | lps22hh_int_notification_get (lps22hh_ctx_t *ctx, lps22hh_lir_t *val) |
int_notification: [get] Latch interrupt request to the INT_SOURCE (24h) register. | |
int32_t | lps22hh_pin_mode_set (lps22hh_ctx_t *ctx, lps22hh_pp_od_t val) |
pin_mode: [set] Push-pull/open drain selection on interrupt pads. | |
int32_t | lps22hh_pin_mode_get (lps22hh_ctx_t *ctx, lps22hh_pp_od_t *val) |
pin_mode: [get] Push-pull/open drain selection on interrupt pads. | |
int32_t | lps22hh_pin_polarity_set (lps22hh_ctx_t *ctx, lps22hh_int_h_l_t val) |
pin_polarity: [set] Interrupt active-high/low. | |
int32_t | lps22hh_pin_polarity_get (lps22hh_ctx_t *ctx, lps22hh_int_h_l_t *val) |
pin_polarity: [get] Interrupt active-high/low. | |
int32_t | lps22hh_pin_int_route_set (lps22hh_ctx_t *ctx, lps22hh_ctrl_reg3_t *val) |
pin_int_route: [set] Select the signal that need to route on int pad | |
int32_t | lps22hh_pin_int_route_get (lps22hh_ctx_t *ctx, lps22hh_ctrl_reg3_t *val) |
pin_int_route: [get] Select the signal that need to route on int pad |
Detailed Description
This section groups all the functions that manage interrupt pins.
Function Documentation
int32_t lps22hh_int_notification_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_lir_t * | val | ||
) |
int_notification: [get] Latch interrupt request to the INT_SOURCE (24h) register.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_lir_t,: Get the values of lir in reg INTERRUPT_CFG
Definition at line 941 of file LPS22HH_Driver.c.
int32_t lps22hh_int_notification_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_lir_t | val | ||
) |
int_notification: [set] Latch interrupt request to the INT_SOURCE (24h) register.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_lir_t,: change the values of lir in reg INTERRUPT_CFG
Definition at line 921 of file LPS22HH_Driver.c.
int32_t lps22hh_pin_int_route_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_ctrl_reg3_t * | val | ||
) |
pin_int_route: [get] Select the signal that need to route on int pad
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_,: registers CTRL_REG3
Definition at line 1048 of file LPS22HH_Driver.c.
int32_t lps22hh_pin_int_route_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_ctrl_reg3_t * | val | ||
) |
pin_int_route: [set] Select the signal that need to route on int pad
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_,: registers CTRL_REG3
Definition at line 1034 of file LPS22HH_Driver.c.
int32_t lps22hh_pin_mode_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pp_od_t * | val | ||
) |
pin_mode: [get] Push-pull/open drain selection on interrupt pads.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_pp_od_t,: Get the values of pp_od in reg CTRL_REG2
Definition at line 978 of file LPS22HH_Driver.c.
int32_t lps22hh_pin_mode_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_pp_od_t | val | ||
) |
pin_mode: [set] Push-pull/open drain selection on interrupt pads.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_pp_od_t,: change the values of pp_od in reg CTRL_REG2
Definition at line 959 of file LPS22HH_Driver.c.
int32_t lps22hh_pin_polarity_get | ( | lps22hh_ctx_t * | ctx, |
lps22hh_int_h_l_t * | val | ||
) |
pin_polarity: [get] Interrupt active-high/low.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_int_h_l_t,: Get the values of int_h_l in reg CTRL_REG2
Definition at line 1015 of file LPS22HH_Driver.c.
int32_t lps22hh_pin_polarity_set | ( | lps22hh_ctx_t * | ctx, |
lps22hh_int_h_l_t | val | ||
) |
pin_polarity: [set] Interrupt active-high/low.
- Parameters:
-
lps22hh_ctx_t *ctx: read / write interface definitions lps22hh_int_h_l_t,: change the values of int_h_l in reg CTRL_REG2
Definition at line 996 of file LPS22HH_Driver.c.
Generated on Tue Jul 12 2022 16:29:50 by 1.7.2