diff --git a/lsm6dsrx_reg.c b/lsm6dsrx_reg.c index 4ae3f23..9371ef3 100644 --- a/lsm6dsrx_reg.c +++ b/lsm6dsrx_reg.c @@ -530,28 +530,28 @@ int32_t lsm6dsrx_xl_data_rate_get(stmdev_ctx_t *ctx, *val = LSM6DSRX_XL_ODR_208Hz; break; - case LSM6DSRX_XL_ODR_417Hz: - *val = LSM6DSRX_XL_ODR_417Hz; + case LSM6DSRX_XL_ODR_416Hz: + *val = LSM6DSRX_XL_ODR_416Hz; break; case LSM6DSRX_XL_ODR_833Hz: *val = LSM6DSRX_XL_ODR_833Hz; break; - case LSM6DSRX_XL_ODR_1667Hz: - *val = LSM6DSRX_XL_ODR_1667Hz; + case LSM6DSRX_XL_ODR_1666Hz: + *val = LSM6DSRX_XL_ODR_1666Hz; break; - case LSM6DSRX_XL_ODR_3333Hz: - *val = LSM6DSRX_XL_ODR_3333Hz; + case LSM6DSRX_XL_ODR_3332Hz: + *val = LSM6DSRX_XL_ODR_3332Hz; break; case LSM6DSRX_XL_ODR_6667Hz: *val = LSM6DSRX_XL_ODR_6667Hz; break; - case LSM6DSRX_XL_ODR_6Hz5: - *val = LSM6DSRX_XL_ODR_6Hz5; + case LSM6DSRX_XL_ODR_1Hz6: + *val = LSM6DSRX_XL_ODR_1Hz6; break; default: @@ -935,20 +935,20 @@ int32_t lsm6dsrx_gy_data_rate_get(stmdev_ctx_t *ctx, *val = LSM6DSRX_GY_ODR_208Hz; break; - case LSM6DSRX_GY_ODR_417Hz: - *val = LSM6DSRX_GY_ODR_417Hz; + case LSM6DSRX_GY_ODR_416Hz: + *val = LSM6DSRX_GY_ODR_416Hz; break; case LSM6DSRX_GY_ODR_833Hz: *val = LSM6DSRX_GY_ODR_833Hz; break; - case LSM6DSRX_GY_ODR_1667Hz: - *val = LSM6DSRX_GY_ODR_1667Hz; + case LSM6DSRX_GY_ODR_1666Hz: + *val = LSM6DSRX_GY_ODR_1666Hz; break; - case LSM6DSRX_GY_ODR_3333Hz: - *val = LSM6DSRX_GY_ODR_3333Hz; + case LSM6DSRX_GY_ODR_3332Hz: + *val = LSM6DSRX_GY_ODR_3332Hz; break; case LSM6DSRX_GY_ODR_6667Hz: diff --git a/lsm6dsrx_reg.h b/lsm6dsrx_reg.h index b881ecb..1597e66 100644 --- a/lsm6dsrx_reg.h +++ b/lsm6dsrx_reg.h @@ -2928,12 +2928,12 @@ typedef enum LSM6DSRX_XL_ODR_52Hz = 3, LSM6DSRX_XL_ODR_104Hz = 4, LSM6DSRX_XL_ODR_208Hz = 5, - LSM6DSRX_XL_ODR_417Hz = 6, + LSM6DSRX_XL_ODR_416Hz = 6, LSM6DSRX_XL_ODR_833Hz = 7, - LSM6DSRX_XL_ODR_1667Hz = 8, - LSM6DSRX_XL_ODR_3333Hz = 9, + LSM6DSRX_XL_ODR_1666Hz = 8, + LSM6DSRX_XL_ODR_3332Hz = 9, LSM6DSRX_XL_ODR_6667Hz = 10, - LSM6DSRX_XL_ODR_6Hz5 = 11, /* (low power only) */ + LSM6DSRX_XL_ODR_1Hz6 = 11, /* (low power only) */ } lsm6dsrx_odr_xl_t; int32_t lsm6dsrx_xl_data_rate_set(stmdev_ctx_t *ctx, lsm6dsrx_odr_xl_t val); @@ -2962,10 +2962,10 @@ typedef enum LSM6DSRX_GY_ODR_52Hz = 3, LSM6DSRX_GY_ODR_104Hz = 4, LSM6DSRX_GY_ODR_208Hz = 5, - LSM6DSRX_GY_ODR_417Hz = 6, + LSM6DSRX_GY_ODR_416Hz = 6, LSM6DSRX_GY_ODR_833Hz = 7, - LSM6DSRX_GY_ODR_1667Hz = 8, - LSM6DSRX_GY_ODR_3333Hz = 9, + LSM6DSRX_GY_ODR_1666Hz = 8, + LSM6DSRX_GY_ODR_3332Hz = 9, LSM6DSRX_GY_ODR_6667Hz = 10, } lsm6dsrx_odr_g_t; int32_t lsm6dsrx_gy_data_rate_set(stmdev_ctx_t *ctx,