ST / LSM6DSOX

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Embed: (wiki syntax)

« Back to documentation index

LSM6DSOX_interrupt_pins

LSM6DSOX_interrupt_pins

This section groups all the functions that manage interrup pins. More...

Functions

int32_t lsm6dsox_pin_mode_set (lsm6dsox_ctx_t *ctx, lsm6dsox_pp_od_t val)
 Push-pull/open drain selection on interrupt pads.
int32_t lsm6dsox_pin_mode_get (lsm6dsox_ctx_t *ctx, lsm6dsox_pp_od_t *val)
 Push-pull/open drain selection on interrupt pads.
int32_t lsm6dsox_pin_polarity_set (lsm6dsox_ctx_t *ctx, lsm6dsox_h_lactive_t val)
 Interrupt active-high/low.
int32_t lsm6dsox_pin_polarity_get (lsm6dsox_ctx_t *ctx, lsm6dsox_h_lactive_t *val)
 Interrupt active-high/low.
int32_t lsm6dsox_all_on_int1_set (lsm6dsox_ctx_t *ctx, uint8_t val)
 All interrupt signals become available on INT1 pin.
int32_t lsm6dsox_all_on_int1_get (lsm6dsox_ctx_t *ctx, uint8_t *val)
 All interrupt signals become available on INT1 pin.
int32_t lsm6dsox_int_notification_set (lsm6dsox_ctx_t *ctx, lsm6dsox_lir_t val)
 Interrupt notification mode.
int32_t lsm6dsox_int_notification_get (lsm6dsox_ctx_t *ctx, lsm6dsox_lir_t *val)
 Interrupt notification mode.

Detailed Description

This section groups all the functions that manage interrup pins.


Function Documentation

int32_t lsm6dsox_all_on_int1_get ( lsm6dsox_ctx_t *  ctx,
uint8_t *  val 
)

All interrupt signals become available on INT1 pin.

[get]

Parameters:
ctxread / write interface definitions
valchange the values of int2_on_int1 in reg CTRL4_C

Definition at line 4017 of file lsm6dsox_reg.c.

int32_t lsm6dsox_all_on_int1_set ( lsm6dsox_ctx_t *  ctx,
uint8_t  val 
)

All interrupt signals become available on INT1 pin.

[set]

Parameters:
ctxread / write interface definitions
valchange the values of int2_on_int1 in reg CTRL4_C

Definition at line 3996 of file lsm6dsox_reg.c.

int32_t lsm6dsox_int_notification_get ( lsm6dsox_ctx_t *  ctx,
lsm6dsox_lir_t *  val 
)

Interrupt notification mode.

[get]

Parameters:
ctxread / write interface definitions
valGet the values of lir in reg TAP_CFG0

Definition at line 4072 of file lsm6dsox_reg.c.

int32_t lsm6dsox_int_notification_set ( lsm6dsox_ctx_t *  ctx,
lsm6dsox_lir_t  val 
)

Interrupt notification mode.

[set]

Parameters:
ctxread / write interface definitions
valchange the values of lir in reg TAP_CFG0

Definition at line 4035 of file lsm6dsox_reg.c.

int32_t lsm6dsox_pin_mode_get ( lsm6dsox_ctx_t *  ctx,
lsm6dsox_pp_od_t *  val 
)

Push-pull/open drain selection on interrupt pads.

[get]

Parameters:
ctxread / write interface definitions
valGet the values of pp_od in reg CTRL3_C

Definition at line 3908 of file lsm6dsox_reg.c.

int32_t lsm6dsox_pin_mode_set ( lsm6dsox_ctx_t *  ctx,
lsm6dsox_pp_od_t  val 
)

Push-pull/open drain selection on interrupt pads.

[set]

Parameters:
ctxread / write interface definitions
valchange the values of pp_od in reg CTRL3_C

Definition at line 3878 of file lsm6dsox_reg.c.

int32_t lsm6dsox_pin_polarity_get ( lsm6dsox_ctx_t *  ctx,
lsm6dsox_h_lactive_t *  val 
)

Interrupt active-high/low.

[get]

Parameters:
ctxread / write interface definitions
valGet the values of h_lactive in reg CTRL3_C

Definition at line 3968 of file lsm6dsox_reg.c.

int32_t lsm6dsox_pin_polarity_set ( lsm6dsox_ctx_t *  ctx,
lsm6dsox_h_lactive_t  val 
)

Interrupt active-high/low.

[set]

Parameters:
ctxread / write interface definitions
valchange the values of h_lactive in reg CTRL3_C

Definition at line 3947 of file lsm6dsox_reg.c.