📄 toa.nc
字号:
includes ToAMsg;
configuration ToA
{
}
implementation
{
components Main, ToAM, GenericComm as Comm, Sounder,
MicC,TimerC, SysTimeC, LedsC, MicroTimerM;
Main.StdControl -> ToAM;
Main.StdControl -> Comm;
ToAM.TimerToA -> TimerC.Timer[unique("Timer")];
ToAM.TimerSounder -> TimerC.Timer[unique("Timer")];
ToAM.TimerSample -> TimerC.Timer[unique("Timer")];
ToAM.MicroTimerSample -> MicroTimerM;
ToAM.MicCtrl -> MicC;
ToAM.SounderCtrl -> Sounder;
ToAM.SendBeacon -> Comm.SendMsg[SendBeacon];
ToAM.SendResult -> Comm.SendMsg[SendResult];
ToAM.ReceiveBeacon -> Comm.ReceiveMsg[SendBeacon];
ToAM.SysTime -> SysTimeC;
ToAM.Mic -> MicC;
ToAM.MicInterrupt -> MicC;
ToAM.Leds -> LedsC;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -