![]() |
Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
|
This section groups all the data output functions. More...

Functions | |
| int32_t | lsm6dso32_rounding_mode_set (stmdev_ctx_t *ctx, lsm6dso32_rounding_t val) |
| Circular burst-mode (rounding) read of the output registers.[set]. | |
| int32_t | lsm6dso32_rounding_mode_get (stmdev_ctx_t *ctx, lsm6dso32_rounding_t *val) |
| Gyroscope UI chain full-scale selection.[get]. | |
| int32_t | lsm6dso32_temperature_raw_get (stmdev_ctx_t *ctx, int16_t *val) |
| Temperature data output register (r). L and H registers together express a 16-bit word in two’s complement.[get]. | |
| int32_t | lsm6dso32_angular_rate_raw_get (stmdev_ctx_t *ctx, int16_t *val) |
| Angular rate sensor. The value is expressed as a 16-bit word in two’s complement.[get]. | |
| int32_t | lsm6dso32_acceleration_raw_get (stmdev_ctx_t *ctx, int16_t *val) |
| Linear acceleration output register. The value is expressed as a 16-bit word in two’s complement.[get]. | |
| int32_t | lsm6dso32_fifo_out_raw_get (stmdev_ctx_t *ctx, uint8_t *buff) |
| FIFO data output [get]. | |
| int32_t | lsm6dso32_number_of_steps_get (stmdev_ctx_t *ctx, uint16_t *val) |
| Step counter output register.[get]. | |
| int32_t | lsm6dso32_steps_reset (stmdev_ctx_t *ctx) |
| Reset step counter register.[get]. | |
This section groups all the data output functions.
| int32_t lsm6dso32_acceleration_raw_get | ( | stmdev_ctx_t * | ctx, |
| int16_t * | val | ||
| ) |
Linear acceleration output register. The value is expressed as a 16-bit word in two’s complement.[get].
| ctx | read / write interface definitions |
| buff | buffer that stores data read |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1299 of file lsm6dso32_reg.c.
References LSM6DSO32_OUTX_L_A, and lsm6dso32_read_reg().
Referenced by calibrateIMU(), and StartSensor_Task().


| int32_t lsm6dso32_angular_rate_raw_get | ( | stmdev_ctx_t * | ctx, |
| int16_t * | val | ||
| ) |
Angular rate sensor. The value is expressed as a 16-bit word in two’s complement.[get].
| ctx | read / write interface definitions |
| buff | buffer that stores data read |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1273 of file lsm6dso32_reg.c.
References LSM6DSO32_OUTX_L_G, and lsm6dso32_read_reg().
Referenced by calibrateIMU(), and StartSensor_Task().


| int32_t lsm6dso32_fifo_out_raw_get | ( | stmdev_ctx_t * | ctx, |
| uint8_t * | buff | ||
| ) |
FIFO data output [get].
| ctx | read / write interface definitions |
| buff | buffer that stores data read |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1324 of file lsm6dso32_reg.c.
References LSM6DSO32_FIFO_DATA_OUT_X_L, and lsm6dso32_read_reg().

| int32_t lsm6dso32_number_of_steps_get | ( | stmdev_ctx_t * | ctx, |
| uint16_t * | val | ||
| ) |
Step counter output register.[get].
| ctx | read / write interface definitions |
| buff | buffer that stores data read |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1341 of file lsm6dso32_reg.c.
References LSM6DSO32_EMBEDDED_FUNC_BANK, lsm6dso32_mem_bank_set(), lsm6dso32_read_reg(), LSM6DSO32_STEP_COUNTER_L, and LSM6DSO32_USER_BANK.

| int32_t lsm6dso32_rounding_mode_get | ( | stmdev_ctx_t * | ctx, |
| lsm6dso32_rounding_t * | val | ||
| ) |
Gyroscope UI chain full-scale selection.[get].
| ctx | read / write interface definitions |
| val | Get the values of rounding in reg CTRL5_C |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1208 of file lsm6dso32_reg.c.
References LSM6DSO32_CTRL5_C, LSM6DSO32_NO_ROUND, lsm6dso32_read_reg(), LSM6DSO32_ROUND_GY, LSM6DSO32_ROUND_GY_XL, LSM6DSO32_ROUND_XL, and lsm6dso32_ctrl5_c_t::rounding.

| int32_t lsm6dso32_rounding_mode_set | ( | stmdev_ctx_t * | ctx, |
| lsm6dso32_rounding_t | val | ||
| ) |
Circular burst-mode (rounding) read of the output registers.[set].
| ctx | read / write interface definitions |
| val | change the values of rounding in reg CTRL5_C |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1183 of file lsm6dso32_reg.c.
References LSM6DSO32_CTRL5_C, lsm6dso32_read_reg(), lsm6dso32_write_reg(), and lsm6dso32_ctrl5_c_t::rounding.

| int32_t lsm6dso32_steps_reset | ( | stmdev_ctx_t * | ctx | ) |
Reset step counter register.[get].
| ctx | read / write interface definitions |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1371 of file lsm6dso32_reg.c.
References LSM6DSO32_EMB_FUNC_SRC, LSM6DSO32_EMBEDDED_FUNC_BANK, lsm6dso32_mem_bank_set(), lsm6dso32_read_reg(), LSM6DSO32_USER_BANK, lsm6dso32_write_reg(), lsm6dso32_emb_func_src_t::pedo_rst_step, and PROPERTY_ENABLE.

| int32_t lsm6dso32_temperature_raw_get | ( | stmdev_ctx_t * | ctx, |
| int16_t * | val | ||
| ) |
Temperature data output register (r). L and H registers together express a 16-bit word in two’s complement.[get].
| ctx | read / write interface definitions |
| buff | buffer that stores data read |
| interface | status (MANDATORY: return 0 -> no Error) |
Definition at line 1252 of file lsm6dso32_reg.c.
References LSM6DSO32_OUT_TEMP_L, and lsm6dso32_read_reg().
Referenced by calibrateIMU().

