代码搜索:timerTick
找到约 108 项符合「timerTick」的源代码
代码结果 108
www.eeworm.com/read/134228/14000481
lnp ide_prog.lnp
"IDE_LIB.obj",
"IDE_TEST.obj",
"STARTUP.obj",
".\TIMERTICK.obj"
TO "ide_prog"
RAMSIZE(256)
CODE( 0X4000-0X7FFF )
XDATA( 0X8200-0XBFFF )
www.eeworm.com/read/346216/11761256
cpp bughunt.cpp
// bughunt.cpp: the implement of the bughunt
#include "Control.h"
GameController *BugHunt;
int TimerCallback()
{
BugHunt ->TimerTick();
return 1;
}
int MouseCallback( const Position
www.eeworm.com/read/282522/4099173
c ptpd_timer.c
/* ptpd_timer.c */
#include "../ptpd.h"
static int iElapsedMilliSeconds = 0;
void initTimer(void)
{
DBG("initTimer\n");
iElapsedMilliSeconds = 0;
}
void timerTick(int iTickMill
www.eeworm.com/read/493977/6385652
c rgbpwm.c
/* RGB PWM Channels */
int led1Dir[3] = { -1,1,-1 };
int led2Dir[3] = { 1,-1,-1 };
int led3Dir[3] = { -1,1,1 };
unsigned char led1Duty[3] = { 100,20,100 };
unsigned char led2Duty[3] = { 10,130,
www.eeworm.com/read/134228/14000489
plg ide_prog.plg
Build target 'Target 1'
compiling IDE_LIB.c...
compiling IDE_TEST.c...
assembling STARTUP.A51...
compiling TIMERTICK.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
www.eeworm.com/read/443011/7639442
h zmac_lib.h
extern void ZSYS_Mac16Timer_SET(UINT16 TimerTick16);
extern UINT16 ZSYS_Mac16Timer_GET();
extern void RF_PACKET_Parser_FrameControl(MAC_PKT *pMAC);
////////////////////////////////////
www.eeworm.com/read/124938/14523304
plg fat32.plg
Build target 'Target 1'
compiling fileio.c...
compiling IDE_LIB.C...
compiling fat32.c...
assembling STARTUP.A51...
compiling TIMERTICK.C...
compiling FAT_TEST.C...
compiling util.c...
linking...
***
www.eeworm.com/read/338552/12294592
c rtos.c
一种裸奔多任务模型
一个网友的总结:stateMachine + <mark>timerTick</mark> + queue。
在RTOS环境下的多任务模型:
任务通常阻塞在一个OS调用上(比如从消息队列取数据)。
外部如果想让该任务运转,就要向消息队列发送消息。
任务收到消息时,根据当前状态,决定如何处理消息。这就是状态机。
任务将消息队列中的消息处理完毕后,重新进入阻塞状态。
任务在处理中,有时 ...