⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 app.c

📁 This is a sensor module build in NesC
💻 C
📖 第 1 页 / 共 5 页
字号:
  uint8_t spie : 1;  uint8_t spe : 1;  uint8_t dord : 1;  uint8_t mstr : 1;  uint8_t cpol : 1;  uint8_t cpha : 1;  uint8_t spr : 2;} Atm128SPIControl_s;#line 50typedef union __nesc_unnamed4308 {  uint8_t flat;  Atm128SPIControl_s bits;} Atm128SPIControl_t;typedef Atm128SPIControl_t Atm128_SPCR_t;#line 58typedef struct __nesc_unnamed4309 {  uint8_t spif : 1;  uint8_t wcol : 1;  uint8_t rsvd : 5;  uint8_t spi2x : 1;} Atm128SPIStatus_s;#line 65typedef union __nesc_unnamed4310 {  uint8_t flat;  Atm128SPIStatus_s bits;} Atm128SPIStatus_t;typedef Atm128SPIStatus_t Atm128_SPSR_t;typedef uint8_t Atm128_SPDR_t;# 28 "/opt/tinyos-2.1.0/tos/chips/cc2420/CC2420TimeSyncMessage.h"typedef nx_uint32_t timesync_radio_t;typedef uint16_t SensorModuleC$Read$val_t;typedef TMilli SensorModuleC$MilliTimer$precision_tag;typedef uint16_t AdcP$Read$val_t;typedef uint16_t AdcP$ReadNow$val_t;typedef uint16_t /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$width_t;typedef /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$width_t /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Read$val_t;typedef /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$width_t /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Service$val_t;enum /*SensorModuleAppC.DemoSensorC.DemoChannel.AdcReadClientC*/AdcReadClientC$0$__nesc_unnamed4311 {  AdcReadClientC$0$ID = 0U, AdcReadClientC$0$HAL_ID = 0U};typedef T32khz CC2420ControlP$StartupTimer$precision_tag;typedef uint32_t CC2420ControlP$StartupTimer$size_type;typedef uint16_t CC2420ControlP$ReadRssi$val_t;typedef uint8_t HplAtm128Timer0AsyncP$Compare$size_type;typedef uint8_t HplAtm128Timer0AsyncP$Timer$timer_size;typedef uint16_t HplAtm128Timer1P$CompareA$size_type;typedef uint16_t HplAtm128Timer1P$Capture$size_type;typedef uint16_t HplAtm128Timer1P$CompareB$size_type;typedef uint16_t HplAtm128Timer1P$CompareC$size_type;typedef uint16_t HplAtm128Timer1P$Timer$timer_size;typedef uint16_t /*InitOneP.InitOne*/Atm128TimerInitC$0$timer_size;typedef /*InitOneP.InitOne*/Atm128TimerInitC$0$timer_size /*InitOneP.InitOne*/Atm128TimerInitC$0$Timer$timer_size;typedef TOne /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$frequency_tag;typedef uint16_t /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$timer_size;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$frequency_tag /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$Alarm$precision_tag;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$timer_size /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$Alarm$size_type;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$timer_size /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$HplAtm128Compare$size_type;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$timer_size /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16.NAlarm*/Atm128AlarmC$0$HplAtm128Timer$timer_size;enum /*AlarmMultiplexC.Alarm.Alarm32khz32C.Alarm16*/AlarmOne16C$0$__nesc_unnamed4312 {  AlarmOne16C$0$COMPARE_ID = 0U};typedef TOne /*CounterOne16C.NCounter*/Atm128CounterC$0$frequency_tag;typedef uint16_t /*CounterOne16C.NCounter*/Atm128CounterC$0$timer_size;typedef /*CounterOne16C.NCounter*/Atm128CounterC$0$frequency_tag /*CounterOne16C.NCounter*/Atm128CounterC$0$Counter$precision_tag;typedef /*CounterOne16C.NCounter*/Atm128CounterC$0$timer_size /*CounterOne16C.NCounter*/Atm128CounterC$0$Counter$size_type;typedef /*CounterOne16C.NCounter*/Atm128CounterC$0$timer_size /*CounterOne16C.NCounter*/Atm128CounterC$0$Timer$timer_size;typedef T32khz /*Counter32khz32C.Transform32*/TransformCounterC$0$to_precision_tag;typedef uint32_t /*Counter32khz32C.Transform32*/TransformCounterC$0$to_size_type;typedef T32khz /*Counter32khz32C.Transform32*/TransformCounterC$0$from_precision_tag;typedef uint16_t /*Counter32khz32C.Transform32*/TransformCounterC$0$from_size_type;typedef counter_one_overflow_t /*Counter32khz32C.Transform32*/TransformCounterC$0$upper_count_type;typedef /*Counter32khz32C.Transform32*/TransformCounterC$0$from_precision_tag /*Counter32khz32C.Transform32*/TransformCounterC$0$CounterFrom$precision_tag;typedef /*Counter32khz32C.Transform32*/TransformCounterC$0$from_size_type /*Counter32khz32C.Transform32*/TransformCounterC$0$CounterFrom$size_type;typedef /*Counter32khz32C.Transform32*/TransformCounterC$0$to_precision_tag /*Counter32khz32C.Transform32*/TransformCounterC$0$Counter$precision_tag;typedef /*Counter32khz32C.Transform32*/TransformCounterC$0$to_size_type /*Counter32khz32C.Transform32*/TransformCounterC$0$Counter$size_type;typedef T32khz /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$to_precision_tag;typedef uint32_t /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$to_size_type;typedef TOne /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$from_precision_tag;typedef uint16_t /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$from_size_type;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$to_precision_tag /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$Alarm$precision_tag;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$to_size_type /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$Alarm$size_type;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$from_precision_tag /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$AlarmFrom$precision_tag;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$from_size_type /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$AlarmFrom$size_type;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$to_precision_tag /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$Counter$precision_tag;typedef /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$to_size_type /*AlarmMultiplexC.Alarm.Alarm32khz32C.Transform32*/TransformAlarmC$0$Counter$size_type;typedef uint16_t /*HplCC2420InterruptsC.CaptureSFDC*/Atm128GpioCaptureC$0$Atm128Capture$size_type;enum /*CC2420ControlC.Spi*/CC2420SpiC$0$__nesc_unnamed4313 {  CC2420SpiC$0$CLIENT_ID = 0U};enum /*CC2420ControlC.SyncSpiC*/CC2420SpiC$1$__nesc_unnamed4314 {  CC2420SpiC$1$CLIENT_ID = 1U};enum /*CC2420ControlC.RssiResource*/CC2420SpiC$2$__nesc_unnamed4315 {  CC2420SpiC$2$CLIENT_ID = 2U};typedef T32khz CC2420TransmitP$PacketTimeStamp$precision_tag;typedef uint32_t CC2420TransmitP$PacketTimeStamp$size_type;typedef T32khz CC2420TransmitP$BackoffTimer$precision_tag;typedef uint32_t CC2420TransmitP$BackoffTimer$size_type;enum /*CC2420TransmitC.Spi*/CC2420SpiC$3$__nesc_unnamed4316 {  CC2420SpiC$3$CLIENT_ID = 3U};typedef T32khz CC2420ReceiveP$PacketTimeStamp$precision_tag;typedef uint32_t CC2420ReceiveP$PacketTimeStamp$size_type;typedef T32khz CC2420PacketP$PacketTimeStamp32khz$precision_tag;typedef uint32_t CC2420PacketP$PacketTimeStamp32khz$size_type;typedef T32khz CC2420PacketP$LocalTime32khz$precision_tag;typedef TMilli CC2420PacketP$LocalTimeMilli$precision_tag;typedef TMilli CC2420PacketP$PacketTimeStampMilli$precision_tag;typedef uint32_t CC2420PacketP$PacketTimeStampMilli$size_type;typedef T32khz /*CC2420PacketC.CounterToLocalTimeC*/CounterToLocalTimeC$0$precision_tag;typedef /*CC2420PacketC.CounterToLocalTimeC*/CounterToLocalTimeC$0$precision_tag /*CC2420PacketC.CounterToLocalTimeC*/CounterToLocalTimeC$0$LocalTime$precision_tag;typedef /*CC2420PacketC.CounterToLocalTimeC*/CounterToLocalTimeC$0$precision_tag /*CC2420PacketC.CounterToLocalTimeC*/CounterToLocalTimeC$0$Counter$precision_tag;typedef uint32_t /*CC2420PacketC.CounterToLocalTimeC*/CounterToLocalTimeC$0$Counter$size_type;enum HilTimerMilliC$__nesc_unnamed4317 {  HilTimerMilliC$TIMER_COUNT = 2U};typedef TMilli /*AlarmCounterMilliP.Atm128AlarmAsyncC*/Atm128AlarmAsyncC$0$precision;typedef /*AlarmCounterMilliP.Atm128AlarmAsyncC*/Atm128AlarmAsyncC$0$precision /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$precision;typedef /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$precision /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$Alarm$precision_tag;typedef uint32_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$Alarm$size_type;typedef /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$precision /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$Counter$precision_tag;typedef uint32_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$Counter$size_type;typedef uint8_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$Compare$size_type;typedef uint8_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm128AlarmAsyncP*/Atm128AlarmAsyncP$0$Timer$timer_size;typedef TMilli /*HilTimerMilliC.AlarmToTimerC*/AlarmToTimerC$0$precision_tag;typedef /*HilTimerMilliC.AlarmToTimerC*/AlarmToTimerC$0$precision_tag /*HilTimerMilliC.AlarmToTimerC*/AlarmToTimerC$0$Alarm$precision_tag;typedef uint32_t /*HilTimerMilliC.AlarmToTimerC*/AlarmToTimerC$0$Alarm$size_type;typedef /*HilTimerMilliC.AlarmToTimerC*/AlarmToTimerC$0$precision_tag /*HilTimerMilliC.AlarmToTimerC*/AlarmToTimerC$0$Timer$precision_tag;typedef TMilli /*HilTimerMilliC.VirtualizeTimerC*/VirtualizeTimerC$0$precision_tag;typedef /*HilTimerMilliC.VirtualizeTimerC*/VirtualizeTimerC$0$precision_tag /*HilTimerMilliC.VirtualizeTimerC*/VirtualizeTimerC$0$TimerFrom$precision_tag;typedef /*HilTimerMilliC.VirtualizeTimerC*/VirtualizeTimerC$0$precision_tag /*HilTimerMilliC.VirtualizeTimerC*/VirtualizeTimerC$0$Timer$precision_tag;typedef TMilli /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$1$precision_tag;typedef /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$1$precision_tag /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$1$LocalTime$precision_tag;typedef /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$1$precision_tag /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$1$Counter$precision_tag;typedef uint32_t /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$1$Counter$size_type;enum /*CC2420ReceiveC.Spi*/CC2420SpiC$4$__nesc_unnamed4318 {  CC2420SpiC$4$CLIENT_ID = 4U};typedef uint16_t RandomMlcgC$SeedInit$parameter;enum AMQueueP$__nesc_unnamed4319 {  AMQueueP$NUM_CLIENTS = 1U};# 51 "/opt/tinyos-2.1.0/tos/interfaces/Init.nc"static error_t PlatformP$Init$init(void );#line 51static error_t MotePlatformP$PlatformInit$init(void );# 35 "/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc"static void /*HplAtm128GeneralIOC.PortA.Bit0*/HplAtm128GeneralIOPinP$0$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortA.Bit0*/HplAtm128GeneralIOPinP$0$IO$set(void );static void /*HplAtm128GeneralIOC.PortA.Bit0*/HplAtm128GeneralIOPinP$0$IO$clr(void );static void /*HplAtm128GeneralIOC.PortA.Bit1*/HplAtm128GeneralIOPinP$1$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortA.Bit1*/HplAtm128GeneralIOPinP$1$IO$set(void );static void /*HplAtm128GeneralIOC.PortA.Bit2*/HplAtm128GeneralIOPinP$2$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortA.Bit2*/HplAtm128GeneralIOPinP$2$IO$set(void );static void /*HplAtm128GeneralIOC.PortA.Bit4*/HplAtm128GeneralIOPinP$4$IO$makeInput(void );#line 30static void /*HplAtm128GeneralIOC.PortA.Bit4*/HplAtm128GeneralIOPinP$4$IO$clr(void );static void /*HplAtm128GeneralIOC.PortA.Bit5*/HplAtm128GeneralIOPinP$5$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortA.Bit5*/HplAtm128GeneralIOPinP$5$IO$set(void );static void /*HplAtm128GeneralIOC.PortA.Bit5*/HplAtm128GeneralIOPinP$5$IO$clr(void );static void /*HplAtm128GeneralIOC.PortA.Bit6*/HplAtm128GeneralIOPinP$6$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortA.Bit6*/HplAtm128GeneralIOPinP$6$IO$set(void );static void /*HplAtm128GeneralIOC.PortA.Bit6*/HplAtm128GeneralIOPinP$6$IO$clr(void );static void /*HplAtm128GeneralIOC.PortB.Bit0*/HplAtm128GeneralIOPinP$8$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortB.Bit0*/HplAtm128GeneralIOPinP$8$IO$set(void );static void /*HplAtm128GeneralIOC.PortB.Bit0*/HplAtm128GeneralIOPinP$8$IO$clr(void );static void /*HplAtm128GeneralIOC.PortB.Bit1*/HplAtm128GeneralIOPinP$9$IO$makeOutput(void );#line 35static void /*HplAtm128GeneralIOC.PortB.Bit2*/HplAtm128GeneralIOPinP$10$IO$makeOutput(void );#line 33static void /*HplAtm128GeneralIOC.PortB.Bit3*/HplAtm128GeneralIOPinP$11$IO$makeInput(void );#line 32static bool /*HplAtm128GeneralIOC.PortB.Bit7*/HplAtm128GeneralIOPinP$15$IO$get(void );static void /*HplAtm128GeneralIOC.PortD.Bit4*/HplAtm128GeneralIOPinP$28$IO$makeInput(void );#line 32static bool /*HplAtm128GeneralIOC.PortD.Bit4*/HplAtm128GeneralIOPinP$28$IO$get(void );static void /*HplAtm128GeneralIOC.PortD.Bit6*/HplAtm128GeneralIOPinP$30$IO$makeInput(void );#line 32static bool /*HplAtm128GeneralIOC.PortD.Bit6*/HplAtm128GeneralIOPinP$30$IO$get(void );#line 32static bool /*HplAtm128GeneralIOC.PortE.Bit6*/HplAtm128GeneralIOPinP$38$IO$get(void );# 51 "/opt/tinyos-2.1.0/tos/interfaces/Init.nc"static error_t MeasureClockC$Init$init(void );# 53 "/opt/tinyos-2.1.0/tos/chips/atm128/timer/Atm128Calibrate.nc"static uint8_t MeasureClockC$Atm128Calibrate$adcPrescaler(void );# 56 "/opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc"static error_t SchedulerBasicP$TaskBasic$postTask(# 45 "/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc"uint8_t arg_0x4034b860);# 64 "/opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc"static void SchedulerBasicP$TaskBasic$default$runTask(# 45 "/opt/tinyos-2.1.0/tos/system/SchedulerBasicP.nc"uint8_t arg_0x4034b860);# 46 "/opt/tinyos-2.1.0/tos/interfaces/Scheduler.nc"static void SchedulerBasicP$Scheduler$init(void );#line 61static void SchedulerBasicP$Scheduler$taskLoop(void );#line 54static bool SchedulerBasicP$Scheduler$runNextTask(void );# 59 "/opt/tinyos-2.1.0/tos/interfaces/McuSleep.nc"static void McuSleepC$McuSleep$sleep(void );# 44 "/opt/tinyos-2.1.0/tos/interfaces/McuPowerState.nc"static void McuSleepC$McuPowerState$update(void );# 49 "/opt/tinyos-2.1.0/tos/interfaces/Boot.nc"static void SensorModuleC$Boot$booted(void );# 99 "/opt/tinyos-2.1.0/tos/interfaces/AMSend.nc"static void SensorModuleC$AMSend$sendDone(#line 92message_t * msg, error_t error);# 63 "/opt/tinyos-2.1.0/tos/interfaces/Read.nc"static void SensorModuleC$Read$readDone(error_t result, SensorModuleC$Read$val_t val);# 92 "/opt/tinyos-2.1.0/tos/interfaces/SplitControl.nc"static void SensorModuleC$RadioControl$startDone(error_t error);#line 117static void SensorModuleC$RadioControl$stopDone(error_t error);# 67 "/opt/tinyos-2.1.0/tos/interfaces/Receive.nc"static #line 63message_t * SensorModuleC$Receive$receive(#line 60message_t * msg, void * payload, uint8_t len);# 72 "/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc"static void SensorModuleC$MilliTimer$fired(void );# 51 "/opt/tinyos-2.1.0/tos/interfaces/Init.nc"static error_t LedsP$Init$init(void );# 50 "/opt/tinyos-2.1.0/tos/interfaces/Leds.nc"static void LedsP$Leds$led0Off(void );#line 78static void LedsP$Leds$led2On(void );# 51 "/opt/tinyos-2.1.0/tos/interfaces/Init.nc"static error_t Atm128AdcP$Init$init(void );# 110 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/Atm128AdcMultiple.nc"static bool Atm128AdcP$Atm128AdcMultiple$default$dataReady(uint16_t data, bool precise, uint8_t channel, uint8_t *newChannel, uint8_t *newRefVoltage);# 61 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/Atm128AdcSingle.nc"static bool Atm128AdcP$Atm128AdcSingle$getData(uint8_t channel, uint8_t refVoltage, bool leftJustify, uint8_t prescaler);# 147 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/HplAtm128Adc.nc"static void Atm128AdcP$HplAtm128Adc$dataReady(uint16_t data);# 74 "/opt/tinyos-2.1.0/tos/interfaces/AsyncStdControl.nc"static error_t Atm128AdcP$AsyncStdControl$start(void );static error_t Atm128AdcP$AsyncStdControl$stop(void );# 44 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/HplAtm128Adc.nc"static Atm128Admux_t HplAtm128AdcP$HplAtm128Adc$getAdmux(void );#line 73static void HplAtm128AdcP$HplAtm128Adc$enableAdc(void );#line 49static void HplAtm128AdcP$HplAtm128Adc$setAdmux(Atm128Admux_t admux);#line 141static bool HplAtm128AdcP$HplAtm128Adc$cancel(void );#line 77static void HplAtm128AdcP$HplAtm128Adc$disableAdc(void );static void HplAtm128AdcP$HplAtm128Adc$disableInterruption(void );#line 60static void HplAtm128AdcP$HplAtm128Adc$setAdcsra(Atm128Adcsra_t adcsra);#line 55static Atm128Adcsra_t HplAtm128AdcP$HplAtm128Adc$getAdcsra(void );static uint16_t HplAtm128AdcP$HplAtm128Adc$getValue(void );# 51 "/opt/tinyos-2.1.0/tos/interfaces/Init.nc"static error_t /*Atm128AdcC.AdcArbiter.Queue*/RoundRobinResourceQueueC$0$Init$init(void );# 69 "/opt/tinyos-2.1.0/tos/interfaces/ResourceQueue.nc"static error_t /*Atm128AdcC.AdcArbiter.Queue*/RoundRobinResourceQueueC$0$RoundRobinQueue$enqueue(resource_client_id_t id);#line 43static bool /*Atm128AdcC.AdcArbiter.Queue*/RoundRobinResourceQueueC$0$RoundRobinQueue$isEmpty(void );static bool /*Atm128AdcC.AdcArbiter.Queue*/RoundRobinResourceQueueC$0$RoundRobinQueue$isEnqueued(resource_client_id_t id);static resource_client_id_t /*Atm128AdcC.AdcArbiter.Queue*/RoundRobinResourceQueueC$0$RoundRobinQueue$dequeue(void );# 43 "/opt/tinyos-2.1.0/tos/interfaces/ResourceRequested.nc"static void /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$ResourceRequested$default$requested(# 55 "/opt/tinyos-2.1.0/tos/system/ArbiterP.nc"uint8_t arg_0x4057ada8);# 55 "/opt/tinyos-2.1.0/tos/interfaces/ResourceConfigure.nc"static void /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$ResourceConfigure$default$unconfigure(# 60 "/opt/tinyos-2.1.0/tos/system/ArbiterP.nc"uint8_t arg_0x405781b8);# 49 "/opt/tinyos-2.1.0/tos/interfaces/ResourceConfigure.nc"static void /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$ResourceConfigure$default$configure(# 60 "/opt/tinyos-2.1.0/tos/system/ArbiterP.nc"uint8_t arg_0x405781b8);# 56 "/opt/tinyos-2.1.0/tos/interfaces/ResourceDefaultOwner.nc"static error_t /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$ResourceDefaultOwner$release(void );# 110 "/opt/tinyos-2.1.0/tos/interfaces/Resource.nc"static error_t /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$Resource$release(# 54 "/opt/tinyos-2.1.0/tos/system/ArbiterP.nc"uint8_t arg_0x4057a380);# 78 "/opt/tinyos-2.1.0/tos/interfaces/Resource.nc"static error_t /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$Resource$request(# 54 "/opt/tinyos-2.1.0/tos/system/ArbiterP.nc"uint8_t arg_0x4057a380);# 92 "/opt/tinyos-2.1.0/tos/interfaces/Resource.nc"static void /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$Resource$default$granted(# 54 "/opt/tinyos-2.1.0/tos/system/ArbiterP.nc"uint8_t arg_0x4057a380);# 64 "/opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc"static void /*Atm128AdcC.AdcArbiter.Arbiter*/ArbiterP$0$grantedTask$runTask(void );# 52 "/opt/tinyos-2.1.0/tos/lib/power/PowerDownCleanup.nc"static void /*Atm128AdcC.PM.PowerManager*/AsyncPowerManagerP$0$PowerDownCleanup$default$cleanup(void );# 73 "/opt/tinyos-2.1.0/tos/interfaces/ResourceDefaultOwner.nc"static void /*Atm128AdcC.PM.PowerManager*/AsyncPowerManagerP$0$ResourceDefaultOwner$requested(void );#line 46static void /*Atm128AdcC.PM.PowerManager*/AsyncPowerManagerP$0$ResourceDefaultOwner$granted(void );# 55 "/opt/tinyos-2.1.0/tos/interfaces/Read.nc"static error_t AdcP$Read$read(# 48 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/AdcP.nc"uint8_t arg_0x405b7878);# 66 "/opt/tinyos-2.1.0/tos/interfaces/ReadNow.nc"static void AdcP$ReadNow$default$readDone(# 49 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/AdcP.nc"uint8_t arg_0x405b4888, # 66 "/opt/tinyos-2.1.0/tos/interfaces/ReadNow.nc"error_t result, AdcP$ReadNow$val_t val);# 32 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/Atm128AdcConfig.nc"static uint8_t AdcP$Atm128AdcConfig$default$getRefVoltage(# 53 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/AdcP.nc"uint8_t arg_0x405b3dc0);# 25 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/Atm128AdcConfig.nc"static uint8_t AdcP$Atm128AdcConfig$default$getChannel(# 53 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/AdcP.nc"uint8_t arg_0x405b3dc0);# 39 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/Atm128AdcConfig.nc"static uint8_t AdcP$Atm128AdcConfig$default$getPrescaler(# 53 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/AdcP.nc"uint8_t arg_0x405b3dc0);# 72 "/opt/tinyos-2.1.0/tos/chips/atm128/adc/Atm128AdcSingle.nc"static void AdcP$Atm128AdcSingle$dataReady(uint16_t data, bool precise);# 64 "/opt/tinyos-2.1.0/tos/interfaces/TaskBasic.nc"static void AdcP$acquiredData$runTask(void );# 55 "/opt/tinyos-2.1.0/tos/interfaces/Read.nc"static error_t /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Read$read(# 24 "/opt/tinyos-2.1.0/tos/system/ArbitratedReadC.nc"uint8_t arg_0x405d2a28);# 63 "/opt/tinyos-2.1.0/tos/interfaces/Read.nc"static void /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Read$default$readDone(# 24 "/opt/tinyos-2.1.0/tos/system/ArbitratedReadC.nc"uint8_t arg_0x405d2a28, # 63 "/opt/tinyos-2.1.0/tos/interfaces/Read.nc"error_t result, /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Read$val_t val);#line 63static void /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Service$readDone(# 26 "/opt/tinyos-2.1.0/tos/system/ArbitratedReadC.nc"uint8_t arg_0x405d1ac8, # 63 "/opt/tinyos-2.1.0/tos/interfaces/Read.nc"error_t result, /*WireAdcP.ArbitrateRead*/ArbitratedReadC$0$Service$val_t val);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -