Bridle API 4.1.99
A Zephyr based application framework
|
This section groups all the functions concerning main serial interface management (not auxiliary) More...
Functions | |
int32_t | stk8ba58_pin_int1_mode_set (const struct i2c_dt_spec *i2c, stk8ba58_pp_od_t val) |
Push-pull/open-drain selection on interrupt pad. | |
int32_t | stk8ba58_pin_int1_mode_get (const struct i2c_dt_spec *i2c, stk8ba58_pp_od_t *val) |
Push-pull/open-drain selection on interrupt pad. | |
int32_t | stk8ba58_pin_int1_polarity_set (const struct i2c_dt_spec *i2c, stk8ba58_hl_active_t val) |
Polarity active-high/-low selection on interrupt pad. | |
int32_t | stk8ba58_pin_int1_polarity_get (const struct i2c_dt_spec *i2c, stk8ba58_hl_active_t *val) |
Polarity active-high/-low selection on interrupt pad. | |
int32_t | stk8ba58_int_notification_set (const struct i2c_dt_spec *i2c, stk8ba58_intlatch_t val) |
Latched/pulsed interrupt. | |
int32_t | stk8ba58_int_notification_get (const struct i2c_dt_spec *i2c, stk8ba58_intlatch_t *val) |
Latched/pulsed interrupt. | |
int32_t | stk8ba58_pin_int1_route_set (const struct i2c_dt_spec *i2c, stk8ba58_pin_int1_route_t val) |
Select the signal that need to route on int1 pad. | |
int32_t | stk8ba58_pin_int1_route_get (const struct i2c_dt_spec *i2c, stk8ba58_pin_int1_route_t *val) |
Select the signal that need to route on int1 pad. | |
int32_t | stk8ba58_int_enable_set (const struct i2c_dt_spec *i2c, stk8ba58_int_enable_t val) |
Enable the source that need to trigger interrupt. | |
int32_t | stk8ba58_int_enable_get (const struct i2c_dt_spec *i2c, stk8ba58_int_enable_t *val) |
Enable the source that need to trigger interrupt. | |
This section groups all the functions concerning main serial interface management (not auxiliary)
int32_t stk8ba58_int_enable_get | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_int_enable_t * | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Enable the source that need to trigger interrupt.
[get]
i2c | Read / write interface definitions.(ptr) |
val | Get union of registers from INTEN1 to INTEN2.(ptr) |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_int_enable_set | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_int_enable_t | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Enable the source that need to trigger interrupt.
[get]
i2c | Read / write interface definitions.(ptr) |
val | Change union of registers from INTEN1 to INTEN2. |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_int_notification_get | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_intlatch_t * | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Latched/pulsed interrupt.
[get]
i2c | Read / write interface definitions.(ptr) |
val | Get the values of int-latch in reg INTCFG2.(ptr) |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_int_notification_set | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_intlatch_t | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Latched/pulsed interrupt.
[set]
i2c | Read / write interface definitions.(ptr) |
val | Change the values of int-latch in reg INTCFG2. |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_pin_int1_mode_get | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_pp_od_t * | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Push-pull/open-drain selection on interrupt pad.
[get]
i2c | Read / write interface definitions.(ptr) |
val | Get the values of int1_od in reg INTCFG1.(ptr) |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_pin_int1_mode_set | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_pp_od_t | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Push-pull/open-drain selection on interrupt pad.
[set]
i2c | Read / write interface definitions.(ptr) |
val | Change the values of int1_od in reg INTCFG1. |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_pin_int1_polarity_get | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_hl_active_t * | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Polarity active-high/-low selection on interrupt pad.
[get]
i2c | Read / write interface definitions.(ptr) |
val | Get the values of int1_lv in reg INTCFG1.(ptr) |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_pin_int1_polarity_set | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_hl_active_t | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Polarity active-high/-low selection on interrupt pad.
[set]
i2c | Read / write interface definitions.(ptr) |
val | Change the values of int1_lv in reg INTCFG1. |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_pin_int1_route_get | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_pin_int1_route_t * | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Select the signal that need to route on int1 pad.
[get]
i2c | Read / write interface definitions.(ptr) |
val | Get union of registers from INTMAP1 to INTMAP2.(ptr) |
Interface | status (MANDATORY: return 0 -> no Error). |
int32_t stk8ba58_pin_int1_route_set | ( | const struct i2c_dt_spec * | i2c, |
stk8ba58_pin_int1_route_t | val | ||
) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Select the signal that need to route on int1 pad.
[set]
i2c | Read / write interface definitions.(ptr) |
val | Change union of registers from INTMAP1 to INTMAP2. |
Interface | status (MANDATORY: return 0 -> no Error). |