Zigbee Module Examples

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
printf.c File Reference

small printf() implementation More...

`#include "printf.h"`

## Functions
void | tfp_printf (char *fmt,...)
int | putchar (int c)

## Detailed Description

small printf() implementation

Requires ~506B of Flash, ~18B of RAM when compiled on IAR, or about 1/3 the size of IAR-Small.

See also:
  http://www.sparetimelabs.com/printfrevisited/index.html

Copyright (C) 2004,2008 Kustaa Nyholm

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

## Function Documentation

int putchar | ( | int | c | ) |

Send one byte via hardware UART. Required for printf() etc. in stdio.h

Declaration so we can use this inside hal_launchpad.c for debugging

Send one byte via hardware UART. Required for printf() etc. in stdio.h

Send one byte via hardware UART. Called by printf() etc. in stdio.h