📄 timerasyncc.nc
字号:
/*
* @author IPP HURRAY http://www.hurray.isep.ipp.pt/art-wise
* @author Andre Cunha
*
*/
//TIMER ASYNC TELOSB
configuration TimerAsyncC
{
provides interface StdControl;
provides interface TimerAsync;
}
implementation
{
components TimerAsyncM,MSP430TimerC,LedsC,HPLCC2420InterruptM;
StdControl = TimerAsyncM;
TimerAsync = TimerAsyncM;
TimerAsyncM.AlarmControl -> MSP430TimerC.ControlB5;
TimerAsyncM.AlarmCompare -> MSP430TimerC.CompareB5;
TimerAsyncM.Leds -> LedsC;
TimerAsyncM.SFD -> HPLCC2420InterruptM.SFD;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -