Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void setup() {

/** Set FIFO operation mode. Available values are:
* LSM6DSOX_BYPASS_MODE: FIFO is not used, the buffer content is cleared
* LSM6DSOX_FIFO_MODE: bufer continues filling until it becomes full. Then it stops collecting data.
* LSM6DSOX_FIFO_MODE: buffer continues filling until it becomes full. Then it stops collecting data.
* LSM6DSOX_STREAM_MODE: continuous mode. Older data are replaced by the new data.
* LSM6DSOX_STREAM_TO_FIFO_MODE: FIFO buffer starts operating in Continuous mode and switches to FIFO mode when an event condition occurs.
* LSM6DSOX_BYPASS_TO_STREAM_MODE: FIFO buffer starts operating in Bypass mode and switches to Continuous mode when an event condition occurs.
Expand All @@ -128,7 +128,7 @@ void setup() {
// FIFO size can be limited to the watermark level by setting the STOP_ON_WTM flag to 1
lsm6dsoxSensor.Set_FIFO_Stop_On_Fth(1);

// start batching in continous mode
// start batching in continuous mode
lsm6dsoxSensor.Set_FIFO_Mode(LSM6DSOX_STREAM_MODE);

Serial.println("Starting...");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ void setup() {

/** Set FIFO operation mode. Available values are:
* LSM6DSOX_BYPASS_MODE: FIFO is not used, the buffer content is cleared
* LSM6DSOX_FIFO_MODE: bufer continues filling until it becomes full. Then it stops collecting data.
* LSM6DSOX_FIFO_MODE: buffer continues filling until it becomes full. Then it stops collecting data.
* LSM6DSOX_STREAM_MODE: continuous mode. Older data are replaced by the new data.
* LSM6DSOX_STREAM_TO_FIFO_MODE: FIFO buffer starts operating in Continuous mode and switches to FIFO mode when an event condition occurs.
* LSM6DSOX_BYPASS_TO_STREAM_MODE: FIFO buffer starts operating in Bypass mode and switches to Continuous mode when an event condition occurs.
* */
lsm6dsoxSensor.Set_FIFO_Mode(LSM6DSOX_BYPASS_MODE); // flush any previous value in FIFO before start
lsm6dsoxSensor.Set_FIFO_Mode(LSM6DSOX_STREAM_MODE); // start batching in continous mode
lsm6dsoxSensor.Set_FIFO_Mode(LSM6DSOX_STREAM_MODE); // start batching in continuous mode

// Set FIFO watermark level. Can be used to check when the number of samples in buffer reaches this defined threshold level.
lsm6dsoxSensor.Set_FIFO_Watermark_Level(WTM_LV);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void setup() {
// Set accelerometer scale at +- 2G. Available values are +- 2, 4, 8, 16 G
lsm6dsoxSensor.Set_X_FS(2);

// Set gyroscope scale at +- 125 degres per second. Available values are +- 125, 250, 500, 1000, 2000 dps
// Set gyroscope scale at +- 125 degrees per second. Available values are +- 125, 250, 500, 1000, 2000 dps
lsm6dsoxSensor.Set_G_FS(125);


Expand Down
8 changes: 0 additions & 8 deletions extras/codespell-ignore-words-list.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
beetween
bufer
continous
daa
degres
differencies
ingnore
interrup
ois
usefull
38 changes: 19 additions & 19 deletions src/lsm6dsox_reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@ int32_t lsm6dsox_mlc_out_get(lsm6dsox_ctx_t *ctx, uint8_t *buff)

/**
* @defgroup LSM6DSOX_common
* @brief This section groups common usefull functions.
* @brief This section groups common useful functions.
* @{
*
*/
Expand Down Expand Up @@ -3862,7 +3862,7 @@ int32_t lsm6dsox_i3c_disable_get(lsm6dsox_ctx_t *ctx, lsm6dsox_i3c_disable_t *va

/**
* @defgroup LSM6DSOX_interrupt_pins
* @brief This section groups all the functions that manage interrup pins
* @brief This section groups all the functions that manage interrupt pins
* @{
*
*/
Expand Down Expand Up @@ -9177,10 +9177,10 @@ int32_t lsm6dsox_s4s_dt_get(lsm6dsox_ctx_t *ctx, uint8_t *val)
/**
* @brief Device "Who am I".[get]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val ID values read from the two interfaces. ID values
* will be the same.(ptr)
*
Expand Down Expand Up @@ -9209,7 +9209,7 @@ int32_t lsm6dsox_id_get(lsm6dsox_ctx_t *ctx, lsm6dsox_ctx_t *aux_ctx,
* @param ctx communication interface handler.(ptr)
* @param val re-initialization mode. Refer to datasheet
* and application note for more information
* about differencies beetween boot and sw_reset
* about differences between boot and sw_reset
* procedure.
*
*/
Expand Down Expand Up @@ -9275,10 +9275,10 @@ int32_t lsm6dsox_init_set(lsm6dsox_ctx_t *ctx, lsm6dsox_init_t val)
/**
* @brief Configures the bus operating mode.[set]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val configures the bus operating mode for both the
* main and the auxiliary interface.
*
Expand Down Expand Up @@ -9361,10 +9361,10 @@ int32_t lsm6dsox_bus_mode_set(lsm6dsox_ctx_t *ctx, lsm6dsox_ctx_t *aux_ctx,
/**
* @brief Get the bus operating mode.[get]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val retrieves the bus operating mode for both the main
* and the auxiliary interface.(ptr)
*
Expand Down Expand Up @@ -9452,10 +9452,10 @@ int32_t lsm6dsox_bus_mode_get(lsm6dsox_ctx_t *ctx, lsm6dsox_ctx_t *aux_ctx,
/**
* @brief Get the status of the device.[get]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val the status of the device.(ptr)
*
*/
Expand Down Expand Up @@ -9982,10 +9982,10 @@ int32_t lsm6dsox_pin_int1_route_get(lsm6dsox_ctx_t *ctx,
/**
* @brief Route interrupt signals on int2 pin.[set]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val the signals to route on int2 pin.
*
*/
Expand Down Expand Up @@ -10190,10 +10190,10 @@ int32_t lsm6dsox_pin_int2_route_set(lsm6dsox_ctx_t *ctx, lsm6dsox_ctx_t *aux_ctx
/**
* @brief Route interrupt signals on int2 pin.[get]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val the signals that are routed on int2 pin.(ptr)
*
*/
Expand Down Expand Up @@ -10457,10 +10457,10 @@ int32_t lsm6dsox_all_sources_get(lsm6dsox_ctx_t *ctx,
/**
* @brief Sensor conversion parameters selection.[set]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val set the sensor conversion parameters by checking
* the constraints of the device.(ptr)
*
Expand Down Expand Up @@ -10883,10 +10883,10 @@ int32_t lsm6dsox_mode_set(lsm6dsox_ctx_t *ctx, lsm6dsox_ctx_t *aux_ctx,
/**
* @brief Sensor conversion parameters selection.[get]
*
* @param ctx communication interface handler. Use NULL to ingnore
* @param ctx communication interface handler. Use NULL to ignore
* this interface.(ptr)
* @param aux_ctx auxiliary communication interface handler. Use NULL
* to ingnore this interface.(ptr)
* to ignore this interface.(ptr)
* @param val get the sensor conversion parameters.(ptr)
*
*/
Expand Down
Loading