Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

Print Macros


Defines

#define PRINT_BITFIELD(bf, func, data, name)   {0?bf, 1?bf, func, data, name}
 Interpret data as a bitfield.
#define PRINT_FP32   {0, 31, &print_float, NULL, NULL}
 Print parameter as float.
#define PRINT_X32   {0, 31, &print_format, "0x%08x", NULL}
 32 Bit Hex
#define PRINT_UINT   {0, 31, &print_format, "%u", NULL}
 parameter is unsigned int
#define PRINT_MACRO(data)   {0, 31, &print_macro, data, NULL}
#define PRINT_MACRO16(data)   {0, 31, &print_macro16, data, NULL}
#define PRINT_FUNC(func)   {0, 31, &func, NULL, NULL}
#define PRINT_ENABLE_BIT(bit, name)   {bit, bit, &print_enable, name, NULL}
#define PRINT_OBJECT   {0, 31, &print_object, NULL, NULL}

Detailed Description

Often used standard printing functions for the command parameters. Simplifies the data_print_store setup / initialisation

Define Documentation

#define PRINT_BITFIELD bf,
func,
data,
name   )     {0?bf, 1?bf, func, data, name}
 

Interpret data as a bitfield.

#define PRINT_ENABLE_BIT bit,
name   )     {bit, bit, &print_enable, name, NULL}
 

#define PRINT_FP32   {0, 31, &print_float, NULL, NULL}
 

Print parameter as float.

#define PRINT_FUNC func   )     {0, 31, &func, NULL, NULL}
 

#define PRINT_MACRO data   )     {0, 31, &print_macro, data, NULL}
 

#define PRINT_MACRO16 data   )     {0, 31, &print_macro16, data, NULL}
 

#define PRINT_OBJECT   {0, 31, &print_object, NULL, NULL}
 

#define PRINT_UINT   {0, 31, &print_format, "%u", NULL}
 

parameter is unsigned int

#define PRINT_X32   {0, 31, &print_format, "0x%08x", NULL}
 

32 Bit Hex


Generated on Sat Aug 19 20:40:55 2006 for Renouveau by  doxygen 1.4.4