timerasyncc.nc

来自「Zigbee的nesc源码」· NC 代码 · 共 31 行

NC
31
字号
/*
 * @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 + =
减小字号Ctrl + -
显示快捷键?