?? app.c
字號:
uint8_t HPLClock$Clock$getInterval(void);static inline #line 134uint8_t HPLClock$Clock$readCounter(void);static inline #line 149result_t HPLClock$Clock$setRate(char interval, char scale);#line 167void __attribute((interrupt)) __vector_15(void);# 51 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc"bool HPLPowerManagementM$disabled = TRUE;enum HPLPowerManagementM$__nesc_unnamed4269 { HPLPowerManagementM$IDLE = 0, HPLPowerManagementM$ADC_NR = 1 << 3, HPLPowerManagementM$POWER_DOWN = 1 << 4, HPLPowerManagementM$POWER_SAVE = (1 << 3) + (1 << 4), HPLPowerManagementM$STANDBY = (1 << 2) + (1 << 4), HPLPowerManagementM$EXT_STANDBY = (1 << 3) + (1 << 4) + (1 << 2)};static inline uint8_t HPLPowerManagementM$getPowerLevel(void);static inline #line 84void HPLPowerManagementM$doAdjustment(void);static #line 101uint8_t HPLPowerManagementM$PowerManagement$adjustPower(void);# 50 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/LedsC.nc"uint8_t LedsC$ledsOn;enum LedsC$__nesc_unnamed4270 { LedsC$RED_BIT = 1, LedsC$GREEN_BIT = 2, LedsC$YELLOW_BIT = 4};static inline result_t LedsC$Leds$init(void);static inline #line 72result_t LedsC$Leds$redOn(void);static inline result_t LedsC$Leds$redOff(void);static result_t LedsC$Leds$redToggle(void);static inline result_t LedsC$Leds$greenOn(void);static inline result_t LedsC$Leds$greenOff(void);static inline result_t LedsC$Leds$greenToggle(void);static inline result_t LedsC$Leds$yellowOn(void);static inline result_t LedsC$Leds$yellowOff(void);static inline result_t LedsC$Leds$yellowToggle(void);static # 75 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/ReceiveMsg.nc"TOS_MsgPtr AMStandard$ReceiveMsg$receive(# 56 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/AMStandard.nc"uint8_t arg_0xa42f278, # 75 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/ReceiveMsg.nc"TOS_MsgPtr arg_0xa3568f8);static # 59 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc"result_t AMStandard$ActivityTimer$start(char arg_0xa32b868, uint32_t arg_0xa32b9c0);static # 58 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc"result_t AMStandard$UARTSend$send(TOS_MsgPtr arg_0xa42cef0);static # 41 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/PowerManagement.nc"uint8_t AMStandard$PowerManagement$adjustPower(void);static # 63 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc"result_t AMStandard$RadioControl$init(void);static result_t AMStandard$RadioControl$start(void);static #line 63result_t AMStandard$TimerControl$init(void);static result_t AMStandard$TimerControl$start(void);static #line 63result_t AMStandard$UARTControl$init(void);static result_t AMStandard$UARTControl$start(void);static # 65 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/AMStandard.nc"result_t AMStandard$sendDone(void);static # 58 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc"result_t AMStandard$RadioSend$send(TOS_MsgPtr arg_0xa42cef0);static # 49 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/SendMsg.nc"result_t AMStandard$SendMsg$sendDone(# 55 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/AMStandard.nc"uint8_t arg_0xa42ecc0, # 49 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/SendMsg.nc"TOS_MsgPtr arg_0xa3486c8, result_t arg_0xa348818);# 81 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/AMStandard.nc"bool AMStandard$state;TOS_MsgPtr AMStandard$buffer;uint16_t AMStandard$lastCount;uint16_t AMStandard$counter;static inline bool AMStandard$Control$init(void);static #line 103bool AMStandard$Control$start(void);static inline #line 132void AMStandard$dbgPacket(TOS_MsgPtr data);static result_t AMStandard$reportSendDone(TOS_MsgPtr msg, result_t success);static inline result_t AMStandard$ActivityTimer$fired(void);static inline result_t AMStandard$SendMsg$default$sendDone(uint8_t id, TOS_MsgPtr msg, result_t success);static inline result_t AMStandard$default$sendDone(void);static inline void AMStandard$sendTask(void);static #line 179result_t AMStandard$SendMsg$send(uint8_t id, uint16_t addr, uint8_t length, TOS_MsgPtr data);static inline #line 207result_t AMStandard$UARTSend$sendDone(TOS_MsgPtr msg, result_t success);static inline result_t AMStandard$RadioSend$sendDone(TOS_MsgPtr msg, result_t success);TOS_MsgPtr received(TOS_MsgPtr packet);static inline #line 242TOS_MsgPtr AMStandard$ReceiveMsg$default$receive(uint8_t id, TOS_MsgPtr msg);static inline TOS_MsgPtr AMStandard$UARTReceive$receive(TOS_MsgPtr packet);static inline TOS_MsgPtr AMStandard$RadioReceive$receive(TOS_MsgPtr packet);static # 59 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc"result_t CC1000RadioIntM$SquelchTimer$start(char arg_0xa32b868, uint32_t arg_0xa32b9c0);static result_t CC1000RadioIntM$SquelchTimer$stop(void);static # 63 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/Random.nc"uint16_t CC1000RadioIntM$Random$rand(void);static #line 57result_t CC1000RadioIntM$Random$init(void);static # 67 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/BareSendMsg.nc"result_t CC1000RadioIntM$Send$sendDone(TOS_MsgPtr arg_0xa42d408, result_t arg_0xa42d558);static # 116 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/ADCControl.nc"result_t CC1000RadioIntM$ADCControl$bindPort(uint8_t arg_0xa48ec60, uint8_t arg_0xa48eda8);static #line 77result_t CC1000RadioIntM$ADCControl$init(void);static # 63 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/StdControl.nc"result_t CC1000RadioIntM$TimerControl$init(void);static result_t CC1000RadioIntM$TimerControl$start(void);static #line 63result_t CC1000RadioIntM$CC1000StdControl$init(void);static result_t CC1000RadioIntM$CC1000StdControl$start(void);static result_t CC1000RadioIntM$CC1000StdControl$stop(void);static # 75 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/ReceiveMsg.nc"TOS_MsgPtr CC1000RadioIntM$Receive$receive(TOS_MsgPtr arg_0xa3568f8);static # 38 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/SpiByteFifo.nc"result_t CC1000RadioIntM$SpiByteFifo$initSlave(void);static #line 37result_t CC1000RadioIntM$SpiByteFifo$disableIntr(void);static #line 33result_t CC1000RadioIntM$SpiByteFifo$writeByte(uint8_t arg_0xa49e490);static result_t CC1000RadioIntM$SpiByteFifo$enableIntr(void);static result_t CC1000RadioIntM$SpiByteFifo$txMode(void);static result_t CC1000RadioIntM$SpiByteFifo$rxMode(void);static # 59 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc"result_t CC1000RadioIntM$WakeupTimer$start(char arg_0xa32b868, uint32_t arg_0xa32b9c0);static result_t CC1000RadioIntM$WakeupTimer$stop(void);static # 36 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc"void CC1000RadioIntM$RadioReceiveCoordinator$byte(TOS_MsgPtr arg_0xa455c08, uint8_t arg_0xa455d58);static void CC1000RadioIntM$RadioReceiveCoordinator$blockTimer(void);static #line 31void CC1000RadioIntM$RadioReceiveCoordinator$startSymbol(uint8_t arg_0xa4554f8, uint8_t arg_0xa455640, TOS_MsgPtr arg_0xa455790);static # 81 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/Leds.nc"result_t CC1000RadioIntM$Leds$redToggle(void);static # 190 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000Control.nc"bool CC1000RadioIntM$CC1000Control$GetLOStatus(void);static #line 116result_t CC1000RadioIntM$CC1000Control$RxMode(void);static #line 137result_t CC1000RadioIntM$CC1000Control$BIASOn(void);static #line 108result_t CC1000RadioIntM$CC1000Control$TxMode(void);static #line 170result_t CC1000RadioIntM$CC1000Control$SelectLock(uint8_t arg_0xa451180);static # 36 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/RadioCoordinator.nc"void CC1000RadioIntM$RadioSendCoordinator$byte(TOS_MsgPtr arg_0xa455c08, uint8_t arg_0xa455d58);static void CC1000RadioIntM$RadioSendCoordinator$blockTimer(void);static #line 31void CC1000RadioIntM$RadioSendCoordinator$startSymbol(uint8_t arg_0xa4554f8, uint8_t arg_0xa455640, TOS_MsgPtr arg_0xa455790);static # 52 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/interfaces/ADC.nc"result_t CC1000RadioIntM$RSSIADC$getData(void);static # 74 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/MacBackoff.nc"int16_t CC1000RadioIntM$MacBackoff$initialBackoff(TOS_MsgPtr arg_0xa466fe0);static int16_t CC1000RadioIntM$MacBackoff$congestionBackoff(TOS_MsgPtr arg_0xa467408);# 116 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntM.nc"enum CC1000RadioIntM$__nesc_unnamed4271 { CC1000RadioIntM$TX_STATE, CC1000RadioIntM$DISABLED_STATE, CC1000RadioIntM$IDLE_STATE, CC1000RadioIntM$PRETX_STATE, CC1000RadioIntM$SYNC_STATE, CC1000RadioIntM$RX_STATE, CC1000RadioIntM$SENDING_ACK, CC1000RadioIntM$POWER_DOWN_STATE, CC1000RadioIntM$NULL_STATE};enum CC1000RadioIntM$__nesc_unnamed4272 { CC1000RadioIntM$TXSTATE_WAIT, CC1000RadioIntM$TXSTATE_START, CC1000RadioIntM$TXSTATE_PREAMBLE, CC1000RadioIntM$TXSTATE_SYNC, CC1000RadioIntM$TXSTATE_DATA, CC1000RadioIntM$TXSTATE_CRC, CC1000RadioIntM$TXSTATE_FLUSH, CC1000RadioIntM$TXSTATE_WAIT_FOR_ACK, CC1000RadioIntM$TXSTATE_READ_ACK, CC1000RadioIntM$TXSTATE_DONE};enum CC1000RadioIntM$__nesc_unnamed4273 { CC1000RadioIntM$SYNC_BYTE = 0x33, CC1000RadioIntM$NSYNC_BYTE = 0xcc, CC1000RadioIntM$SYNC_WORD = 0x33cc, CC1000RadioIntM$NSYNC_WORD = 0xcc33, CC1000RadioIntM$ACK_LENGTH = 16, CC1000RadioIntM$MAX_ACK_WAIT = 18};uint8_t CC1000RadioIntM$ack_code[3] = { 0xab, 0xba, 0x83 };uint8_t CC1000RadioIntM$RadioState;uint8_t CC1000RadioIntM$RadioTxState;uint8_t CC1000RadioIntM$RSSIInitState; uint8_t CC1000RadioIntM$iRSSIcount;uint8_t CC1000RadioIntM$iSquelchCount;uint16_t CC1000RadioIntM$txlength;uint16_t CC1000RadioIntM$rxlength;TOS_MsgPtr CC1000RadioIntM$txbufptr;TOS_MsgPtr CC1000RadioIntM$rxbufptr;TOS_Msg CC1000RadioIntM$RxBuf;uint8_t CC1000RadioIntM$NextTxByte;uint8_t CC1000RadioIntM$lplpower;uint8_t CC1000RadioIntM$lplpowertx;uint16_t CC1000RadioIntM$preamblelen;uint16_t CC1000RadioIntM$PreambleCount;uint8_t CC1000RadioIntM$SOFCount;uint16_t CC1000RadioIntM$search_word;union CC1000RadioIntM$__nesc_unnamed4274 { uint16_t W; struct { uint8_t LSB; uint8_t MSB; } ;} CC1000RadioIntM$RxShiftBuf;uint8_t CC1000RadioIntM$RxBitOffset;uint16_t CC1000RadioIntM$RxByteCnt;uint16_t CC1000RadioIntM$TxByteCnt;uint16_t CC1000RadioIntM$RSSISampleFreq; bool CC1000RadioIntM$bInvertRxData;bool CC1000RadioIntM$bTxPending;bool CC1000RadioIntM$bTxBusy;bool CC1000RadioIntM$bAckEnable;uint16_t CC1000RadioIntM$usRunningCRC; uint16_t CC1000RadioIntM$usRSSIVal;uint16_t CC1000RadioIntM$usSquelchVal;uint16_t CC1000RadioIntM$usTempSquelch;uint8_t CC1000RadioIntM$usSquelchIndex;uint16_t CC1000RadioIntM$usSquelchTable[9];int16_t CC1000RadioIntM$sMacDelay;volatile uint16_t CC1000RadioIntM$LocalAddr;static inline #line 223void CC1000RadioIntM$adjustSquelch(void);static #line 270void CC1000RadioIntM$PacketRcvd(void);static inline #line 286void CC1000RadioIntM$PacketSent(void);static inline #line 300result_t CC1000RadioIntM$StdControl$init(void);static inline #line 442result_t CC1000RadioIntM$SquelchTimer$fired(void);static inline result_t CC1000RadioIntM$WakeupTimer$fired(void);static inline #line 512result_t CC1000RadioIntM$StdControl$start(void);static inline #line 550result_t CC1000RadioIntM$Send$send(TOS_MsgPtr pMsg);static #line 608result_t CC1000RadioIntM$SpiByteFifo$dataReady(uint8_t data_in);static inline #line 931result_t CC1000RadioIntM$RSSIADC$dataReady(uint16_t data);static inline #line 1012void CC1000RadioIntM$RadioSendCoordinator$default$startSymbol(uint8_t bitsPerBlock, uint8_t offset, TOS_MsgPtr msgBuff);static inline void CC1000RadioIntM$RadioSendCoordinator$default$byte(TOS_MsgPtr msg, uint8_t byteCount);static inline void CC1000RadioIntM$RadioSendCoordinator$default$blockTimer(void);static inline void CC1000RadioIntM$RadioReceiveCoordinator$default$startSymbol(uint8_t bitsPerBlock, uint8_t offset, TOS_MsgPtr msgBuff);static inline void CC1000RadioIntM$RadioReceiveCoordinator$default$byte(TOS_MsgPtr msg, uint8_t byteCount);static inline void CC1000RadioIntM$RadioReceiveCoordinator$default$blockTimer(void);static inline int16_t CC1000RadioIntM$MacBackoff$default$initialBackoff(TOS_MsgPtr m);static inline int16_t CC1000RadioIntM$MacBackoff$default$congestionBackoff(TOS_MsgPtr m);static # 51 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/HPLCC1000.nc"result_t CC1000ControlM$HPLChipcon$init(void);static #line 65uint8_t CC1000ControlM$HPLChipcon$read(uint8_t arg_0xa513308);static #line 58result_t CC1000ControlM$HPLChipcon$write(uint8_t arg_0xa512d50, uint8_t arg_0xa512e98);# 82 "C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/mica2/CC1000ControlM.nc"uint32_t CC1000ControlM$gCurrentChannel; uint8_t CC1000ControlM$gCurrentParameters[31];enum CC1000ControlM$__nesc_unnamed4275 { CC1000ControlM$IF = 150000, CC1000ControlM$FREQ_MIN = 4194304, CC1000ControlM$FREQ_MAX = 16751615};const uint32_t CC1000ControlM$FRefTbl[9] = { 2457600, 2106514, 1843200, 1638400, 1474560, 1340509, 1228800, 1134277, 1053257 };const uint16_t CC1000ControlM$CorTbl[9] = { 1213,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -