forked from ccsens_hardware/stc_ttss_weight
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
917 B
48 lines
917 B
/*****************************************************************************
|
|
* debug_drv.c: debug app
|
|
*
|
|
* Copyright(C) 2013, cc
|
|
* All rights reserved.
|
|
*
|
|
* History
|
|
* 2013.05.24 ver 1.00 Prelimnary version, first Release
|
|
*
|
|
******************************************************************************/
|
|
|
|
#include "debug_drv.h"
|
|
|
|
void L3_debug_drv_init(void)
|
|
{
|
|
L0pf_send_uc = L0_uart0_uc;
|
|
Lc_print("\r\n debug shell init:\t");
|
|
/// io ÉèÖõıê׼д·¨
|
|
|
|
Lc_print("Mode:");
|
|
#ifdef D_debug_time
|
|
Lc_print(" debug");
|
|
#else
|
|
//D_debug_time_using
|
|
Lc_print(" normal");
|
|
#endif
|
|
}
|
|
|
|
|
|
#ifdef D_debug_sim
|
|
|
|
fff
|
|
void L3_debug_cycle(void)
|
|
{
|
|
INTERRUPT_UART();
|
|
TIMER0_IRQHandler();
|
|
|
|
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
/******************************************************************************
|
|
** End Of File
|
|
******************************************************************************/
|
|
|