Esempio n. 1
0
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);  //定时_设置周期
}
Esempio n. 2
0
void data_abort( void )
{
    uart_string_showstop(" data_abort " );
    showstop();
    while(1);
}
Esempio n. 3
0
void prefetch_abort( void )
{
    uart_string_showstop( "prefetch_abort" );
    showstop();
    while(1);
}
Esempio n. 4
0
void swi( void )
{
    uart_string_showstop( "swi" );
    showstop();
    while(1);
}
Esempio n. 5
0
void undefined_instruction( void )
{
    uart_string_showstop("undefined_instruction");
    showstop();
    while(1);
}
Esempio n. 6
0
void fiq( void )
{
    uart_string_showstop( "fiq" );
    showstop();
    while(1);
}
Esempio n. 7
0
/*
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);
}