test sending sensor results over lora radio. Accelerometer and temp/pressure.

Dependencies:   SX127x

Embed: (wiki syntax)

« Back to documentation index

Interrupt_on_threshold

Interrupt_on_threshold
[Lps22hh]

This section groups all the functions that manage the interrupt on threshold event generation. More...

Functions

int32_t lps22hh_int_on_threshold_set (lps22hh_ctx_t *ctx, lps22hh_pe_t val)
 int_on_threshold: [set] Enable interrupt generation on pressure low/high event.
int32_t lps22hh_int_on_threshold_get (lps22hh_ctx_t *ctx, lps22hh_pe_t *val)
 int_on_threshold: [get] Enable interrupt generation on pressure low/high event.
int32_t lps22hh_int_treshold_set (lps22hh_ctx_t *ctx, uint8_t *buff)
 int_treshold: [set] User-defined threshold value for pressure interrupt event.
int32_t lps22hh_int_treshold_get (lps22hh_ctx_t *ctx, uint8_t *buff)
 int_treshold: [get] User-defined threshold value for pressure interrupt event.

Detailed Description

This section groups all the functions that manage the interrupt on threshold event generation.


Function Documentation

int32_t lps22hh_int_on_threshold_get ( lps22hh_ctx_t *  ctx,
lps22hh_pe_t *  val 
)

int_on_threshold: [get] Enable interrupt generation on pressure low/high event.

Parameters:
lps22hh_ctx_t*ctx: read / write interface definitions
lps22hh_pe_t,:Get the values of pe in reg INTERRUPT_CFG

Definition at line 1103 of file LPS22HH_Driver.c.

int32_t lps22hh_int_on_threshold_set ( lps22hh_ctx_t *  ctx,
lps22hh_pe_t  val 
)

int_on_threshold: [set] Enable interrupt generation on pressure low/high event.

Parameters:
lps22hh_ctx_t*ctx: read / write interface definitions
lps22hh_pe_t,:change the values of pe in reg INTERRUPT_CFG

Definition at line 1073 of file LPS22HH_Driver.c.

int32_t lps22hh_int_treshold_get ( lps22hh_ctx_t *  ctx,
uint8_t *  buff 
)

int_treshold: [get] User-defined threshold value for pressure interrupt event.

Parameters:
lps22hh_ctx_t*ctx: read / write interface definitions
uint8_t* : buffer that stores data read

Definition at line 1135 of file LPS22HH_Driver.c.

int32_t lps22hh_int_treshold_set ( lps22hh_ctx_t *  ctx,
uint8_t *  buff 
)

int_treshold: [set] User-defined threshold value for pressure interrupt event.

Parameters:
lps22hh_ctx_t*ctx: read / write interface definitions
uint8_t* : buffer that contains data to write

Definition at line 1122 of file LPS22HH_Driver.c.