Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
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 |