forked from ccsens_hardware/stc_touch_pen
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.
49 lines
924 B
49 lines
924 B
3 years ago
|
/*****************************************************************************
|
||
|
* 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
|
||
|
******************************************************************************/
|