debug.c

Go to the documentation of this file.
00001 #include "../lpc_config.h"
00002 #include "../uart/uart.h"
00003 #include "../rtc/rtc.h"
00004 #include <stdio.h>
00005 //#include "debug.h"
00006 
00007 
00008 
00009 //
00010 //void PRT_ERROR(msg_error erro){
00011 //      char buff[50];
00012 //      sprintf(buff, "\n%s\n",error_cli[erro]);
00013 //      uart_puts(buff);
00014 //}
00015 //
00017 //void debug_cli(char *data){
00018 //      char buff[400];
00019 //      sprintf(buff, "\n%02d:%02d:%02d<DEBUG_CLI>:%s",RTC_HOUR, RTC_MIN, RTC_SEC, data);
00020 //      (DEBUG_CLI) ? uart_puts(buff) : 0;
00021 //}
00022 //
00023 //
00025 //void debug_func(char *data){
00026 //      char buff[400];
00027 //      sprintf(buff, "\n%02d:%02d:%02d<DEBUG_FUNCTION_CLI>:%s",RTC_HOUR, RTC_MIN, RTC_SEC, data);
00028 //      (DEBUG_FUNCTION_CLI) ? uart_puts(buff) :        0;
00029 //}
00030