5.3.12 _itoaQ15 Function
This function converts each decimal digit of a Q15 value to its representation in ASCII. For example, 1 is converted to 0x31, which is the ASCII representation of 1.
Include
<libq.h>
Prototype
void _itoaQ15(_Q15 x, char *s);
Arguments
x |
a fixed-point number in Q15 format, which ranges from -215 to 215-1. The value of this argument ranges from -32768 to 32767. |
s |
a buffer holding values in ASCII, at least 8 characters long. |
Return Value
None.