|
Bridle API 4.2.0
A Zephyr based application framework
|
This section groups common useful functions. More...
Functions | |
| int32_t | stk8ba58_device_id_get (const struct i2c_dt_spec *i2c, uint8_t *buff) |
| DeviceChipID. | |
| int32_t | stk8ba58_reset_set (const struct i2c_dt_spec *i2c, uint8_t val) |
| Software reset. | |
This section groups common useful functions.
| int32_t stk8ba58_device_id_get | ( | const struct i2c_dt_spec * | i2c, |
| uint8_t * | buff | ||
| ) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
DeviceChipID.
[get]
| i2c | Read / write interface definitions.(ptr) |
| buff | Buffer that stores data read.(ptr) |
| Interface | status (MANDATORY: return 0 -> no Error). |
| int32_t stk8ba58_reset_set | ( | const struct i2c_dt_spec * | i2c, |
| uint8_t | val | ||
| ) |
#include <drivers/sensor/sensortek/stk8ba58/stk8ba58_reg.c>
Software reset.
Restore the default values in user registers.[set]
| i2c | Read / write interface definitions.(ptr) |
| val | Change the value with soft-reset in reg SWRST. |
| Interface | status (MANDATORY: return 0 -> no Error). |