mikroSDK Reference Manual
plot.h File Reference

Go to the source code of this file.

Macros

#define PLOT_BUFF_SIZE   48U
 Maximum buffer size for plotter. More...
 
#define PLOT_CHAR_NUM_TEMPLATE   13U
 Number of characters for plotter template message.
 
#define check_name_length(_name)
 Macro used to check chart name length. More...
 

Functions

static int plot (const char *__generic_ptr name, double value)
 Plot log API. More...
 

Macro Definition Documentation

◆ PLOT_BUFF_SIZE

#define PLOT_BUFF_SIZE   48U
Warning
Change at your own risk.

◆ check_name_length

#define check_name_length (   _name)
Value:
(printf_me("Chart name too long. Reduce by %u characters.\n", \
(0)
Warning
Chart name length must not be greater than PLOT_BUFF_SIZE - PLOT_CHAR_NUM_TEMPLATE.
Note
By default, maximum chart name is limited to 35.
PLOT_CHAR_NUM_TEMPLATE
#define PLOT_CHAR_NUM_TEMPLATE
Number of characters for plotter template message.
Definition: plot.h:65
PLOT_BUFF_SIZE
#define PLOT_BUFF_SIZE
Maximum buffer size for plotter.
Definition: plot.h:60
strlen
int strlen(const char *str)
Function returns the length of the string str. (the terminating null character does not count against...