📄 accelconfigp.nc
字号:
/* $Id: AccelConfigP.nc,v 1.3 2007/03/14 03:25:05 pipeng Exp $ * Copyright (c) 2006 Intel Corporation * All rights reserved. * * This file is distributed under the terms in the attached INTEL-LICENSE * file. If you do not find these files, copies can be found by writing to * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA, * 94704. Attention: Intel License Inquiry. *//** * Internal component for basicsb photodiode. Arbitrates access to the photo * diode and automatically turns it on or off based on user requests. * * @author David Gay */configuration AccelConfigP { provides { interface Resource[uint8_t client]; interface Atm128AdcConfig as ConfigX; interface Atm128AdcConfig as ConfigY; }}implementation { components AccelP, MicaBusC, new TimerMilliC() as WarmupTimer, new RoundRobinArbiterC(UQ_ACCEL_RESOURCE) as Arbiter, new SplitControlPowerManagerC() as PowerManager; Resource = Arbiter; ConfigX = AccelP.ConfigX; ConfigY = AccelP.ConfigY; PowerManager.ResourceDefaultOwner -> Arbiter; PowerManager.ArbiterInfo -> Arbiter; PowerManager.SplitControl -> AccelP; AccelP.Timer -> WarmupTimer; AccelP.AccelPin -> MicaBusC.PW4; AccelP.AccelAdcX -> MicaBusC.Adc3; AccelP.AccelAdcY -> MicaBusC.Adc4;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -