MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); connect(timer, SIGNAL(timeout()), this, SLOT(time_trigger())); //定时_链接响应 connect(showtime, SIGNAL(timeout()), this, SLOT(showstop())); QPalette codetext_palette; //画刷_备用 codetext_palette.setColor(QPalette::Base, green); ui->codetext->setTextColor(green); //代码_设置颜色 ui->label_gif->hide(); //动图_初始隐藏 ui->label_gif->raise(); //让动图在顶层 ui->destroy->hide(); //按钮_初始隐藏 ui->destroy->raise(); //按钮_在顶层 timer->start(500); //定时_设置周期 }
void data_abort( void ) { uart_string_showstop(" data_abort " ); showstop(); while(1); }
void prefetch_abort( void ) { uart_string_showstop( "prefetch_abort" ); showstop(); while(1); }
void swi( void ) { uart_string_showstop( "swi" ); showstop(); while(1); }
void undefined_instruction( void ) { uart_string_showstop("undefined_instruction"); showstop(); while(1); }
void fiq( void ) { uart_string_showstop( "fiq" ); showstop(); while(1); }
/* reset undefined_instruction swi prefetch_abort data_abort unused OS_CPU_IRQ_ISR;@irqHandler to be modified fiq */ void unused ( void ) { uart_string_showstop("unused"); showstop(); while(1); }