📄 msp430timercommonp.nc
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -