msp430timercommonp.nc
来自「tinyos-2.x.rar」· NC 代码 · 共 17 行
NC
17 行
module Msp430TimerCommonP @safe()
{
provides interface Msp430TimerEvent as VectorTimerA0;
provides interface Msp430TimerEvent as VectorTimerA1;
provides interface Msp430TimerEvent as VectorTimerB0;
provides interface Msp430TimerEvent as VectorTimerB1;
}
implementation
{
TOSH_SIGNAL(TIMERA0_VECTOR) { signal VectorTimerA0.fired(); }
TOSH_SIGNAL(TIMERA1_VECTOR) { signal VectorTimerA1.fired(); }
TOSH_SIGNAL(TIMERB0_VECTOR) { signal VectorTimerB0.fired(); }
TOSH_SIGNAL(TIMERB1_VECTOR) { signal VectorTimerB1.fired(); }
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?