4 * Copyright 2003, 2004 Develer S.r.l. (http://www.develer.com/)
5 * This file is part of DevLib - See devlib/README for information.
10 * \brief Basic "printf", "sprintf" and "fprintf" formatter.
15 * Revision 1.4 2004/08/04 15:53:47 rasky
16 * Nuove opzioni di configurazione per formatted_write e ridotto maggiormente l'utilizzo dellos tack
18 * Revision 1.3 2004/07/29 22:57:09 bernie
19 * Add values for new-style CONFIG_PRINTF option.
21 * Revision 1.2 2004/06/03 11:27:09 bernie
22 * Add dual-license information.
24 * Revision 1.1 2004/05/23 15:43:16 bernie
25 * Import mware modules.
28 #ifndef MWARE_FORMATWR_H
29 #define MWARE_FORMATWR_H
35 * \name _formatted_write() configuration
38 #define PRINTF_DISABLED 0
39 #define PRINTF_NOMODIFIERS 1
40 #define PRINTF_REDUCED 2
41 #define PRINTF_NOFLOAT 3
45 #ifndef CONFIG_PRINTF_RETURN_COUNT
46 /*! Enable/disable _formatted_write return value */
47 #define CONFIG_PRINTF_RETURN_COUNT 1
53 void put_char_func(char c, void *user_data),
58 #include <avr/pgmspace.h>
59 int _formatted_write_P(
60 const char * PROGMEM format,
61 void put_char_func(char c, void *user_data),
66 #endif /* MWARE_FORMATWR_H */