66
Dependencies: mbed-dev-f303 FastPWM3
Diff: math_ops.h
- Revision:
- 52:8fff6f1a3f50
- Parent:
- 45:aadebe074af6
diff -r 8dcdb8a89d0e -r 8fff6f1a3f50 math_ops.h --- a/math_ops.h Tue Oct 26 08:56:41 2021 +0000 +++ b/math_ops.h Mon Dec 20 01:24:06 2021 +0000 @@ -11,6 +11,7 @@ float fminf3(float x, float y, float z); float roundf(float x); void limit_norm(float *x, float *y, float limit); +void limit(float *x, float min, float max); int float_to_uint(float x, float x_min, float x_max, uint8_t bits); float uint_to_float(int x_int, float x_min, float x_max, uint8_t bits);