#include "printf.h"Go to the source code of this file.
Defines | |
| #define | putchar(c) outbyte(c) |
| #define | PAD_RIGHT 1 |
| #define | PAD_ZERO 2 |
| #define | PRINT_BUF_LEN 12 |
Functions | |
| void | outbyte (int c) |
| void | printchar (char **str, int c) |
| int | prints (char **out, const char *string, int width, int pad) |
| int | printi (char **out, int i, int b, int sg, int width, int pad, int letbase) |
| int | print (char **out, int *varg) |
| int | printf (const char *format,...) |
| int | sprintf (char *out, const char *format,...) |
| #define PAD_ZERO 2 |
| #define putchar | ( | c | ) | outbyte(c) |
| void outbyte | ( | int | c | ) |
| int print | ( | char ** | out, | |
| int * | varg | |||
| ) |
Definition at line 123 of file printf.c.
References PAD_RIGHT, PAD_ZERO, printchar(), printi(), prints(), and WD_Reset().
| void printchar | ( | char ** | str, | |
| int | c | |||
| ) |
| int printf | ( | const char * | format, | |
| ... | ||||
| ) |
Definition at line 193 of file printf.c.
References print().
Referenced by AD5382_ControlRegister(), AD5382_SetGain(), AD5382_SetOffset(), AD5382_SoftClr(), AD5382_SoftPowerDown(), AD5382_SoftPowerUp(), AD5382_SoftReset(), AD5382Write(), AD5391_ControlRegisterRead(), AD5391_ControlRegisterWrite(), AD5391_Init(), AD5391_SetGain(), AD5391_SetOffset(), AD5391_SoftClr(), AD5391_SoftPowerDown(), AD5391_SoftPowerUp(), AD5391_SoftReset(), AD5391Write(), AD7414_5Read(), AD7997_ConfigRegister(), AD7997_Menu(), AD7997_ReadAnalogValue(), AD7997_SetCycleTimeRegister(), AD_MAX_Init(), AD_MAX_Read(), AMenu(), CAN1_Off(), CAN1_RX_interrupt(), CAN2_Off(), CAN4_Off(), CAN_LUT_interrupt(), CAN_Off(), CANMenu(), CanRead(), detect_cfi(), DO_H(), DO_L(), DO_MAX_Init(), DoMenu(), GetStatus(), Init(), JtagInitialize(), main(), PrintCANsStatus(), RamtronInit(), RamtronReadByte(), RamtronWriteByte(), RamtronWriteString(), ReadOnI2C(), RMenu(), SendSlaveAdress(), SetSignal(), SetStatus(), Sheduler(), StartTimer0(), StartTimer1(), StopTimer0(), strcmp(), strlen(), TestGSR(), TestICR(), TestRFS(), TestSR(), TestTxSR(), TIMER0_Int(), Timer0RegSet(), TIMER1_Int(), Timer1RegSet(), UARTgetchar(), UARTReadChar(), WD_reset(), WD_Start(), WD_Stop(), and WriteOnI2C().
| int printi | ( | char ** | out, | |
| int | i, | |||
| int | b, | |||
| int | sg, | |||
| int | width, | |||
| int | pad, | |||
| int | letbase | |||
| ) |
Definition at line 80 of file printf.c.
References PAD_ZERO, PRINT_BUF_LEN, printchar(), and prints().
Referenced by print().
| int prints | ( | char ** | out, | |
| const char * | string, | |||
| int | width, | |||
| int | pad | |||
| ) |
| int sprintf | ( | char * | out, | |
| const char * | format, | |||
| ... | ||||
| ) |
1.4.7