Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
|
|
4.2.0-rc3 |
Extends the existing inttypes headers for print formatting. More...
Macros | |
#define | PRIq(precision) |
Insert Q value format string. | |
#define | PRIq_arg(q, precision, shift) |
Insert Q value arguments to print format. |
Extends the existing inttypes headers for print formatting.
Usage:
For a Q value representing 0.5, the expected output will be: "Value=2.000000"
#define PRIq | ( | precision | ) |
#define PRIq_arg | ( | q, | |
precision, | |||
shift ) |
#include <zephyr/dsp/print_format.h>
Insert Q value arguments to print format.
[in] | q | The q value |
[in] | precision | Number of decimal points to print |
[in] | shift | The "scale" to shift q by |