embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
buffer_printf.h File Reference
#include <stdarg.h>
#include <stdint.h>
#include "project_settings.h"
#include "buffer.h"
Include dependency graph for buffer_printf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Buffer_Hex(buf, x)   Buffer_HexN(buf, x, 4)
 

Functions

void Buffer_printf (buffer_t *buf, char *str,...)
 printf implementation to char buffer More...
 
void Buffer_vprintf (buffer_t *buf, char *str, va_list vars)
 vprintf implementation to char buffer More...
 
void Buffer_Binary16 (buffer_t *buf, uint16_t x)
 Push 16 bit binary number to char buffer. More...
 
void Buffer_uint16 (buffer_t *buf, uint16_t x)
 Push unsigned integer to char buffer. More...
 
void Buffer_int16 (buffer_t *buf, int16_t x)
 Push integer to char buffer. More...
 
void Buffer_uint32 (buffer_t *buf, uint32_t x)
 Push unsigned long integer to char buffer. More...
 
void Buffer_int32 (buffer_t *buf, int32_t x)
 Push long to char buffer. More...
 
void Buffer_Str (buffer_t *buf, char *str)
 Push char array (string) to char buffer. More...
 
void Buffer_HexN (buffer_t *buf, uint32_t x, uint8_t n)
 Push 32 bit value to char buffer in hex format. More...
 
void Buffer_Float (buffer_t *buf, float x)
 Cheap implementation of float to char buffer. More...