?? switest.c
字號:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) DSP/BIOS 4.90.280 01-13-05 (barracuda-o07)" */
/*
* ======== switest.c =======
*
*/
#include <std.h>
#include <log.h>
#include <swi.h>
#include <sys.h>
#include "switestcfg.h"
Void swiFxn0(Void);
Void swiFxn1(Void);
/*
* ======== main ========
*/
Void main(Int argc, Char *argv[])
{
LOG_printf(&trace,"switest started!\n");
LOG_printf(&trace,"Main posts SWI0\n");
SWI_post(&SWI0);
LOG_printf(&trace,"Main done!\n");
}
/*
* ======== swiFxn0 ========
*/
Void swiFxn0(Void)
{
LOG_printf(&trace,"swiFxn0 posts SWI1\n");
SWI_post(&SWI1);
LOG_printf(&trace,"SWI0 done!\n");
}
/*
* ======== swiFxn1 ========
*/
Void swiFxn1(Void)
{
LOG_printf(&trace,"SWI1 done!\n");
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -