ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Functions
debug.c File Reference

Small printf user function. More...

#include "user_config.h"
#include <stdint.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include "mathio.h"
#include "debug.h"

Go to the source code of this file.

Functions

static void _uart0_fn (struct _printf_t *p, char ch)
 _uart0_fn low level function that writes a character with uart0har() More...
 
MEMSPACE int uart0_printf (const char *format,...)
 printf function More...
 

Detailed Description

Small printf user function.

Copyright © 2015 Mike Gore, GPL License
You are free to use this code under the terms of GPL
please retain a copy of this notice in any code you use it in.

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

This software 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file debug.c.

Function Documentation

static void _uart0_fn ( struct _printf_t p,
char  ch 
)
static

_uart0_fn low level function that writes a character with uart0har()

Parameters
[in]*pstructure with pointers to track number of bytes written
[in]chcharacter to write
Returns
void

Definition at line 37 of file debug.c.

Referenced by uart0_printf().

MEMSPACE int uart0_printf ( const char *  format,
  ... 
)

printf function

Parameters
[in]formatprintf forat string
[in]...list of arguments
Returns
size of printed string

Definition at line 54 of file debug.c.