00001 #ifndef _print_funcs_h_
00002 #define _print_funcs_h_
00003
00004 #include "../usart/usart.h"
00005 #include <avr32/ap7000.h>
00006
00007 void init_dbg_rs232( long cpu_hz );
00008 void print_dbg(char *str);
00009 void print_dbg_ulong(unsigned long n);
00010 void print_dbg_hex(unsigned long n);
00011
00012
00013
00014 int print(volatile avr32_usart_t * usart, char *str);
00015 int print_char(volatile avr32_usart_t * usart, int c);
00016 void print_ulong(volatile avr32_usart_t * usart, unsigned long n);
00017 void print_hex(volatile avr32_usart_t * usart, unsigned long n);
00018
00019 #endif