91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 10.34MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-17
  • 語言: 其他
  • 標簽: OSEK??FREEOSEK??OPENOSEK??

資源簡介

OSEK學習資料,非常詳細的介紹OSEK,非常有助于OSEK的學習。

資源截圖

代碼片段和文件信息


/*************************************************
??towtutorial.c
????Source?file?for?Tornado?for?OSEKWorks?tutorial
?*************************************************/



#include????“osekworks.h“
#include????“oil.h“

/*
????This?is?the?parameter?to?the?clock?initialisation?function.
????This?is?the?number?of?ticks?per?second.
*/
#define?????TICKS2SEC???1000

/*?Task?2?Counter?*/
int?counter?=?0;


/***********************************************************************/
/*
?*??Startup?Hook?function?initialises?the?clock.
?*/
/***********************************************************************/
void
StartupHook()
{

????/*
????Initialise?the?clock.
????This?will?start?generating?ticks.
????*/
????RtcInit(TICKS2SEC?SYSTEM_COUNTER);

}

/***********************************************************************/
/*
?*??ShutdownHook?is?called?from?ShutdownOS().
?*/
/***********************************************************************/
void?ShutdownHook(StatusType?error)
{
????if?(error);
}

/***********************************************************************/
/*??sendertask?starts?when?senderalarm?expires?????????????????????*/
/***********************************************************************/
TASK(sendertask)
{
???/*?Reach?this?point?because?alarm?expired.?*/

???SetEvent(receivertask?senderevent);

???/*?Terminate?*/
???TerminateTask();

};


/***********************************************************************/
/*??receivertask?is?set?to?autostart???????????????????????????????????*/
/***********************************************************************/
TASK(receivertask)
{
???int?localcounter?=?0;
???/*?Reach?this?point?because?of?autostart.*/

???/*?Set?an?alarm?that?activates?every?100msec?*/
???SetRelAlarm(senderalarm?100?100);??


???while(1)
???{
??????WaitEvent(senderevent);
??????/*?Reach?this?point?because?event?was?set.?*/
??????ClearEvent(senderevent);
??????counter++;
??????localcounter++;
???}

???TerminateTask();
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????2392576??2001-01-18?14:14??osek\customer-sales-v1.3.ppt

?????文件?????119283??2001-04-30?12:21??osek\OSEKWorks?4.0?Dev.?Kit(Datasheet).pdf

?????文件??????91716??2001-04-30?13:29??osek\osekworks?benchmark(PPC).pdf

?????文件??????21036??2000-10-20?01:12??osek\OSEKWorks?Final.pdf

?????文件??????66621??2000-11-16?11:58??osek\OSEKWorks?Roadmap.pdf

?????文件????6927360??2001-04-25?11:38??osek\osekworks-level1.ppt

?????文件?????162225??2001-04-30?12:24??osek\Q&A.pdf

?????文件????4408320??2001-03-05?13:03??osek\sae-osekide.ppt

?????文件?????338432??2001-04-30?12:27??osek\Training\Chpt0?Automotive?Development.ppt

?????文件?????188928??2001-04-30?12:36??osek\Training\Chpt1?Multitasking.ppt

?????文件?????160768??2001-04-30?12:41??osek\Training\Chpt10?Addl?Tools.ppt

?????文件?????530432??2001-04-30?12:45??osek\Training\Chpt11?Positioning.ppt

?????文件?????880128??2001-04-30?12:46??osek\Training\Chpt12?Examples.ppt

?????文件?????426496??2001-04-30?13:03??osek\Training\Chpt2?embedded?Devlopment.ppt

?????文件?????141312??2001-04-30?13:10??osek\Training\Chpt3?OSEK?Introduction.ppt

?????文件?????439296??2001-04-30?13:13??osek\Training\Chpt4?OSEK?Details.ppt

?????文件?????109568??2001-04-30?13:10??osek\Training\Chpt5?Developing?with?OSEK.ppt

?????文件?????157696??2001-04-30?13:12??osek\Training\Chpt6?OIL.ppt

?????文件??????25957??2001-04-30?13:18??osek\Training\Chpt7?Tornado.ppt

?????文件?????102912??2001-04-30?13:18??osek\Training\Chpt8?COM.ppt

?????文件??????61440??2001-04-30?13:18??osek\Training\Chpt9?NM.ppt

?????文件?????787968??2001-04-30?13:25??osek\Training\Overview.ppt

?????文件?????880128??2001-04-30?13:26??osek\Training\Training?Hand-on?demo\Chpt12?Examples.ppt

?????文件??????10441??2001-04-30?13:25??osek\Training\Training?Hand-on?demo\makefile.txt

?????文件???????1993??2001-04-30?13:25??osek\Training\Training?Hand-on?demo\towtutorial.c

?????文件???????3315??2001-04-30?13:25??osek\Training\Training?Hand-on?demo\towtutorial.oil.txt

?????目錄??????????0??2010-12-10?18:21??osek\Training\Training?Hand-on?demo

?????目錄??????????0??2010-12-10?18:21??osek\Training

?????目錄??????????0??2010-12-10?18:21??osek

-----------?---------??----------?-----??----

............此處省略2個文件信息

評論

共有 條評論