hal_utils_float_to_fixed_point_32b() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferencesData Use

Return value

0: Success -1: Fixed point data overflow, `fp_out` will still be assigned -2: Float is NaN -3: Invalid configuration

Notes

The supported data format: - [input] float (IEEE 754): sign(1bit) + exponent(8bit) + mantissa(23bit) (32 bit in total) - [output] fixed-point: sign(1bit) + integer(int_bit) + fraction(frac_bit) (less or equal to 32 bit)

References