|
|
/*
|
|
* uart.h
|
|
*/
|
|
|
|
/*******************************************************/
|
|
/* printf²Ù×÷º¯Êý */
|
|
/*******************************************************/
|
|
#ifndef __UART_H__
|
|
#define __UART_H__
|
|
|
|
void uart_putc (const char c);
|
|
void uart_puts (const char *s);
|
|
int my_strlen(char *str);
|
|
char *myitoa(int n, int hex);
|
|
unsigned square(unsigned val, unsigned num);
|
|
char * ftoa(double val, int prec);
|
|
void uart_printf(const char *format, ...);
|
|
|
|
#endif
|