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

# rprintf.c File Reference

## Detailed Description

Definition in file rprintf.c.

`#include <avr/pgmspace.h>`
`#include <stdarg.h>`
`#include "global.h"`
`#include "rprintf.h"`

Go to the source code of this file.

## Defines
#define | TRUE -1
#define | FALSE 0
#define | INF 32766
#define | READMEMBYTE(a, char_ptr) ((a)?(pgm_read_byte(char_ptr)):(*char_ptr))
#define | hexchar(x) pgm_read_byte( HexChars+((x)&0x0f) )
## Functions
void | rprintfChar (unsigned char c)
| prints a single character to the current output device
void | rprintfStr (char str[])
| prints a null-terminated string stored in RAM
void | rprintfStrLen (char str[], unsigned int start, unsigned int len)
void | rprintfProgStr (const prog_char str[])
void | rprintfCRLF (void)
void | rprintfu04 (unsigned char data)
| Print 4-bit hex number. Outputs a single hex character.
void | rprintfu08 (unsigned char data)
| Print 8-bit hex number. Outputs two hex characters.
void | rprintfu16 (unsigned short data)
| Print 16-bit hex number. Outputs four hex characters.
void | rprintfu32 (unsigned long data)
| Print 32-bit hex number. Outputs eight hex characters.
void | rprintfNum (char base, char numDigits, char isSigned, char padchar, long n)
int | rprintf1RamRom (unsigned char stringInRom, const char *format,...)