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

📄 app.c

📁 tinyos2.0版本驱动
💻 C
📖 第 1 页 / 共 5 页
字号:
  } bits;  uint8_t flat;} Atm128UartControl_t;typedef Atm128UartControl_t Atm128_UCSR0B_t;typedef Atm128UartControl_t Atm128_UCSR1B_t;enum __nesc_unnamed4325 {  ATM128_UART_DATA_SIZE_5_BITS = 0,   ATM128_UART_DATA_SIZE_6_BITS = 1,   ATM128_UART_DATA_SIZE_7_BITS = 2,   ATM128_UART_DATA_SIZE_8_BITS = 3};#line 89#line 79typedef union __nesc_unnamed4326 {  uint8_t flat;  struct Atm128_UCSRC_t {    uint8_t ucpol : 1;    uint8_t ucsz : 2;    uint8_t usbs : 1;    uint8_t upm : 2;    uint8_t umsel : 1;    uint8_t rsvd : 1;  } bits;} Atm128UartMode_t;typedef Atm128UartMode_t Atm128_UCSR0C_t;typedef Atm128UartMode_t Atm128_UCSR1C_t;enum __nesc_unnamed4327 {  ATM128_19200_BAUD_4MHZ = 12,   ATM128_38400_BAUD_4MHZ = 6,   ATM128_57600_BAUD_4MHZ = 3,   ATM128_19200_BAUD_4MHZ_2X = 25,   ATM128_38400_BAUD_4MHZ_2X = 12,   ATM128_57600_BAUD_4MHZ_2X = 8,   ATM128_19200_BAUD_7MHZ = 23,   ATM128_38400_BAUD_7MHZ = 11,   ATM128_57600_BAUD_7MHZ = 7,   ATM128_19200_BAUD_7MHZ_2X = 47,   ATM128_38400_BAUD_7MHZ_2X = 23,   ATM128_57600_BAUD_7MHZ_2X = 15,   ATM128_19200_BAUD_8MHZ = 25,   ATM128_38400_BAUD_8MHZ = 12,   ATM128_57600_BAUD_8MHZ = 8,   ATM128_19200_BAUD_8MHZ_2X = 51,   ATM128_38400_BAUD_8MHZ_2X = 34,   ATM128_57600_BAUD_8MHZ_2X = 11};typedef uint8_t Atm128_UBRR0L_t;typedef uint8_t Atm128_UBRR0H_t;typedef uint8_t Atm128_UBRR1L_t;typedef uint8_t Atm128_UBRR1H_t;# 39 "/opt/tinyos-2.x/tos/chips/atm128/crc.h"uint16_t crcTable[256] __attribute((__progmem__))  = { 0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, 0x8108, 0x9129, 0xa14a, 0xb16b, 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef, 0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6, 0x9339, 0x8318, 0xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ff, 0xe3de, 0x2462, 0x3443, 0x0420, 0x1401, 0x64e6, 0x74c7, 0x44a4, 0x5485, 0xa56a, 0xb54b, 0x8528, 0x9509, 0xe5ee, 0xf5cf, 0xc5ac, 0xd58d, 0x3653, 0x2672, 0x1611, 0x0630, 0x76d7, 0x66f6, 0x5695, 0x46b4, 0xb75b, 0xa77a, 0x9719, 0x8738, 0xf7df, 0xe7fe, 0xd79d, 0xc7bc, 0x48c4, 0x58e5, 0x6886, 0x78a7, 0x0840, 0x1861, 0x2802, 0x3823, 0xc9cc, 0xd9ed, 0xe98e, 0xf9af, 0x8948, 0x9969, 0xa90a, 0xb92b, 0x5af5, 0x4ad4, 0x7ab7, 0x6a96, 0x1a71, 0x0a50, 0x3a33, 0x2a12, 0xdbfd, 0xcbdc, 0xfbbf, 0xeb9e, 0x9b79, 0x8b58, 0xbb3b, 0xab1a, 0x6ca6, 0x7c87, 0x4ce4, 0x5cc5, 0x2c22, 0x3c03, 0x0c60, 0x1c41, 0xedae, 0xfd8f, 0xcdec, 0xddcd, 0xad2a, 0xbd0b, 0x8d68, 0x9d49, 0x7e97, 0x6eb6, 0x5ed5, 0x4ef4, 0x3e13, 0x2e32, 0x1e51, 0x0e70, 0xff9f, 0xefbe, 0xdfdd, 0xcffc, 0xbf1b, 0xaf3a, 0x9f59, 0x8f78, 0x9188, 0x81a9, 0xb1ca, 0xa1eb, 0xd10c, 0xc12d, 0xf14e, 0xe16f, 0x1080, 0x00a1, 0x30c2, 0x20e3, 0x5004, 0x4025, 0x7046, 0x6067, 0x83b9, 0x9398, 0xa3fb, 0xb3da, 0xc33d, 0xd31c, 0xe37f, 0xf35e, 0x02b1, 0x1290, 0x22f3, 0x32d2, 0x4235, 0x5214, 0x6277, 0x7256, 0xb5ea, 0xa5cb, 0x95a8, 0x8589, 0xf56e, 0xe54f, 0xd52c, 0xc50d, 0x34e2, 0x24c3, 0x14a0, 0x0481, 0x7466, 0x6447, 0x5424, 0x4405, 0xa7db, 0xb7fa, 0x8799, 0x97b8, 0xe75f, 0xf77e, 0xc71d, 0xd73c, 0x26d3, 0x36f2, 0x0691, 0x16b0, 0x6657, 0x7676, 0x4615, 0x5634, 0xd94c, 0xc96d, 0xf90e, 0xe92f, 0x99c8, 0x89e9, 0xb98a, 0xa9ab, 0x5844, 0x4865, 0x7806, 0x6827, 0x18c0, 0x08e1, 0x3882, 0x28a3, 0xcb7d, 0xdb5c, 0xeb3f, 0xfb1e, 0x8bf9, 0x9bd8, 0xabbb, 0xbb9a, 0x4a75, 0x5a54, 0x6a37, 0x7a16, 0x0af1, 0x1ad0, 0x2ab3, 0x3a92, 0xfd2e, 0xed0f, 0xdd6c, 0xcd4d, 0xbdaa, 0xad8b, 0x9de8, 0x8dc9, 0x7c26, 0x6c07, 0x5c64, 0x4c45, 0x3ca2, 0x2c83, 0x1ce0, 0x0cc1, 0xef1f, 0xff3e, 0xcf5d, 0xdf7c, 0xaf9b, 0xbfba, 0x8fd9, 0x9ff8, 0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0 };static uint16_t crcByte(uint16_t oldCrc, uint8_t byte) __attribute((noinline)) ;typedef TMilli TestshtislC$Timer0$precision_tag;typedef uint16_t TestshtislC$Humidity$val_t;typedef uint16_t TestshtislC$CO2Reader$val_t;typedef uint16_t TestshtislC$ISLReader$val_t;typedef uint16_t TestshtislC$Temperature$val_t;typedef uint16_t /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Humidity$val_t;typedef uint16_t /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Temperature$val_t;typedef TMilli /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$Timer$precision_tag;typedef TMilli HplSensirionSht11P$Timer$precision_tag;enum HilTimerMilliC$__nesc_unnamed4328 {  HilTimerMilliC$TIMER_COUNT = 3U};typedef TMilli /*AlarmCounterMilliP.Atm128AlarmAsyncC*/Atm128AlarmAsyncC$0$precision;typedef /*AlarmCounterMilliP.Atm128AlarmAsyncC*/Atm128AlarmAsyncC$0$precision /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$precision;typedef /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$precision /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$precision_tag;typedef uint32_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$size_type;typedef /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$precision /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Counter$precision_tag;typedef uint32_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Counter$size_type;typedef uint8_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Compare$size_type;typedef uint8_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Timer$timer_size;typedef uint8_t HplAtm1281Timer2AsyncP$Compare$size_type;typedef uint8_t HplAtm1281Timer2AsyncP$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$0$precision_tag;typedef /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$0$precision_tag /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$0$LocalTime$precision_tag;typedef /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$0$precision_tag /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$0$Counter$precision_tag;typedef uint32_t /*HilTimerMilliC.CounterToLocalTimeC*/CounterToLocalTimeC$0$Counter$size_type;enum /*TestshtislAppC.SHT*/SensirionSht11C$0$__nesc_unnamed4329 {  SensirionSht11C$0$TEMP_KEY = 0U};enum /*TestshtislAppC.SHT*/SensirionSht11C$0$__nesc_unnamed4330 {  SensirionSht11C$0$HUM_KEY = 1U};typedef uint16_t ISL29001ReaderP$ISLReader$val_t;typedef TI2CBasicAddr ISL29001ReaderP$I2CPacket$addr_size;enum /*ISL29001ReaderC.Atm128I2CMasterC*/Atm128I2CMasterC$0$__nesc_unnamed4331 {  Atm128I2CMasterC$0$CLIENT_ID = 0U};enum Atm128I2CMasterP$__nesc_unnamed4332 {  Atm128I2CMasterP$ATM128_I2C_CLIENT_COUNT = 1U};typedef TI2CBasicAddr /*Atm128I2CMasterP.I2C*/Atm128I2CMasterImplP$0$SubPacket$addr_size;typedef TI2CBasicAddr /*Atm128I2CMasterP.I2C*/Atm128I2CMasterImplP$0$I2CPacket$addr_size;typedef TI2CBasicAddr /*Atm128I2CMasterP.Master*/Atm128I2CMasterPacketP$0$I2CPacket$addr_size;typedef uint16_t T6004ReaderP$T6004Reader$val_t;typedef TMicro /*Atm128Uart0C.UartP*/Atm128UartP$0$Counter$precision_tag;typedef uint32_t /*Atm128Uart0C.UartP*/Atm128UartP$0$Counter$size_type;typedef uint16_t HplAtm1281Timer3P$CompareA$size_type;typedef uint16_t HplAtm1281Timer3P$Capture$size_type;typedef uint16_t HplAtm1281Timer3P$CompareB$size_type;typedef uint16_t HplAtm1281Timer3P$CompareC$size_type;typedef uint16_t HplAtm1281Timer3P$Timer$timer_size;typedef uint16_t /*InitThreeP.InitThree*/Atm128TimerInitC$0$timer_size;typedef /*InitThreeP.InitThree*/Atm128TimerInitC$0$timer_size /*InitThreeP.InitThree*/Atm128TimerInitC$0$Timer$timer_size;typedef TThree /*CounterThree16C.NCounter*/Atm128CounterC$0$frequency_tag;typedef uint16_t /*CounterThree16C.NCounter*/Atm128CounterC$0$timer_size;typedef /*CounterThree16C.NCounter*/Atm128CounterC$0$frequency_tag /*CounterThree16C.NCounter*/Atm128CounterC$0$Counter$precision_tag;typedef /*CounterThree16C.NCounter*/Atm128CounterC$0$timer_size /*CounterThree16C.NCounter*/Atm128CounterC$0$Counter$size_type;typedef /*CounterThree16C.NCounter*/Atm128CounterC$0$timer_size /*CounterThree16C.NCounter*/Atm128CounterC$0$Timer$timer_size;typedef TMicro /*CounterMicro32C.Transform32*/TransformCounterC$0$to_precision_tag;typedef uint32_t /*CounterMicro32C.Transform32*/TransformCounterC$0$to_size_type;typedef TThree /*CounterMicro32C.Transform32*/TransformCounterC$0$from_precision_tag;typedef uint16_t /*CounterMicro32C.Transform32*/TransformCounterC$0$from_size_type;typedef counter_three_overflow_t /*CounterMicro32C.Transform32*/TransformCounterC$0$upper_count_type;typedef /*CounterMicro32C.Transform32*/TransformCounterC$0$from_precision_tag /*CounterMicro32C.Transform32*/TransformCounterC$0$CounterFrom$precision_tag;typedef /*CounterMicro32C.Transform32*/TransformCounterC$0$from_size_type /*CounterMicro32C.Transform32*/TransformCounterC$0$CounterFrom$size_type;typedef /*CounterMicro32C.Transform32*/TransformCounterC$0$to_precision_tag /*CounterMicro32C.Transform32*/TransformCounterC$0$Counter$precision_tag;typedef /*CounterMicro32C.Transform32*/TransformCounterC$0$to_size_type /*CounterMicro32C.Transform32*/TransformCounterC$0$Counter$size_type;typedef TMicro /*Atm128Uart1C.UartP*/Atm128UartP$1$Counter$precision_tag;typedef uint32_t /*Atm128Uart1C.UartP*/Atm128UartP$1$Counter$size_type;# 51 "/opt/tinyos-2.x/tos/interfaces/Init.nc"static error_t PlatformP$Init$init(void );#line 51static error_t MotePlatformP$PlatformInit$init(void );# 31 "/opt/tinyos-2.x/tos/interfaces/GeneralIO.nc"static void /*HplAtm128GeneralIOC.PortA.Bit0*/HplAtm128GeneralIOPinP$0$IO$toggle(void );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.Bit1*/HplAtm128GeneralIOPinP$1$IO$toggle(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$toggle(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.Bit3*/HplAtm128GeneralIOPinP$3$IO$makeOutput(void );#line 30static void /*HplAtm128GeneralIOC.PortA.Bit3*/HplAtm128GeneralIOPinP$3$IO$clr(void );static void /*HplAtm128GeneralIOC.PortA.Bit4*/HplAtm128GeneralIOPinP$4$IO$makeInput(void );static void /*HplAtm128GeneralIOC.PortA.Bit4*/HplAtm128GeneralIOPinP$4$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortA.Bit4*/HplAtm128GeneralIOPinP$4$IO$set(void );static void /*HplAtm128GeneralIOC.PortA.Bit4*/HplAtm128GeneralIOPinP$4$IO$clr(void );static void /*HplAtm128GeneralIOC.PortD.Bit0*/HplAtm128GeneralIOPinP$24$IO$makeInput(void );#line 29static void /*HplAtm128GeneralIOC.PortD.Bit0*/HplAtm128GeneralIOPinP$24$IO$set(void );static void /*HplAtm128GeneralIOC.PortD.Bit0*/HplAtm128GeneralIOPinP$24$IO$clr(void );static void /*HplAtm128GeneralIOC.PortD.Bit1*/HplAtm128GeneralIOPinP$25$IO$makeInput(void );#line 29static void /*HplAtm128GeneralIOC.PortD.Bit1*/HplAtm128GeneralIOPinP$25$IO$set(void );static void /*HplAtm128GeneralIOC.PortD.Bit1*/HplAtm128GeneralIOPinP$25$IO$clr(void );static void /*HplAtm128GeneralIOC.PortE.Bit7*/HplAtm128GeneralIOPinP$39$IO$makeInput(void );#line 32static bool /*HplAtm128GeneralIOC.PortE.Bit7*/HplAtm128GeneralIOPinP$39$IO$get(void );static void /*HplAtm128GeneralIOC.PortE.Bit7*/HplAtm128GeneralIOPinP$39$IO$makeOutput(void );#line 29static void /*HplAtm128GeneralIOC.PortE.Bit7*/HplAtm128GeneralIOPinP$39$IO$set(void );static void /*HplAtm128GeneralIOC.PortE.Bit7*/HplAtm128GeneralIOPinP$39$IO$clr(void );# 51 "/opt/tinyos-2.x/tos/interfaces/Init.nc"static error_t MeasureClockC$Init$init(void );# 60 "/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128Calibrate.nc"static uint16_t MeasureClockC$Atm128Calibrate$baudrateRegister(uint32_t baudrate);# 56 "/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc"static error_t SchedulerBasicP$TaskBasic$postTask(# 45 "/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc"uint8_t arg_0x1031d70);# 64 "/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc"static void SchedulerBasicP$TaskBasic$default$runTask(# 45 "/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc"uint8_t arg_0x1031d70);# 46 "/opt/tinyos-2.x/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.x/tos/interfaces/McuSleep.nc"static void McuSleepC$McuSleep$sleep(void );# 44 "/opt/tinyos-2.x/tos/interfaces/McuPowerState.nc"static void McuSleepC$McuPowerState$update(void );# 72 "/opt/tinyos-2.x/tos/lib/timer/Timer.nc"static void TestshtislC$Timer0$fired(void );# 49 "/opt/tinyos-2.x/tos/interfaces/Boot.nc"static void TestshtislC$Boot$booted(void );# 92 "/opt/tinyos-2.x/tos/interfaces/SplitControl.nc"static void TestshtislC$SerialControl$startDone(error_t error);#line 117static void TestshtislC$SerialControl$stopDone(error_t error);# 99 "/opt/tinyos-2.x/tos/interfaces/AMSend.nc"static void TestshtislC$AMSend$sendDone(#line 92message_t * msg, error_t error);# 63 "/opt/tinyos-2.x/tos/interfaces/Read.nc"static void TestshtislC$Humidity$readDone(error_t result, TestshtislC$Humidity$val_t val);#line 63static void TestshtislC$CO2Reader$readDone(error_t result, TestshtislC$CO2Reader$val_t val);#line 63static void TestshtislC$ISLReader$readDone(error_t result, TestshtislC$ISLReader$val_t val);#line 63static void TestshtislC$Temperature$readDone(error_t result, TestshtislC$Temperature$val_t val);# 51 "/opt/tinyos-2.x/tos/interfaces/Init.nc"static error_t LedsP$Init$init(void );# 56 "/opt/tinyos-2.x/tos/interfaces/Leds.nc"static void LedsP$Leds$led0Toggle(void );#line 72static void LedsP$Leds$led1Toggle(void );#line 89static void LedsP$Leds$led2Toggle(void );# 84 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Hum$measureHumidityDone(error_t result, uint16_t val);#line 116static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Hum$writeStatusRegDone(error_t result);#line 100static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Hum$readStatusRegDone(error_t result, uint8_t val);#line 54static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Hum$resetDone(error_t result);#line 69static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Hum$measureTemperatureDone(error_t result, uint16_t val);# 41 "/opt/tinyos-2.x/tos/interfaces/DeviceMetadata.nc"static uint8_t /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$HumidityMetadata$getSignificantBits(void );# 55 "/opt/tinyos-2.x/tos/interfaces/Read.nc"static error_t /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Humidity$read(void );# 41 "/opt/tinyos-2.x/tos/interfaces/DeviceMetadata.nc"static uint8_t /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$TemperatureMetadata$getSignificantBits(void );# 92 "/opt/tinyos-2.x/tos/interfaces/Resource.nc"static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$TempResource$granted(void );# 84 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Temp$measureHumidityDone(error_t result, uint16_t val);#line 116static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Temp$writeStatusRegDone(error_t result);#line 100static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Temp$readStatusRegDone(error_t result, uint8_t val);#line 54static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Temp$resetDone(error_t result);#line 69static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Sht11Temp$measureTemperatureDone(error_t result, uint16_t val);# 92 "/opt/tinyos-2.x/tos/interfaces/Resource.nc"static void /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$HumResource$granted(void );# 55 "/opt/tinyos-2.x/tos/interfaces/Read.nc"static error_t /*TestshtislAppC.SHT.SensirionSht11ReaderP*/SensirionSht11ReaderP$0$Temperature$read(void );# 57 "/opt/tinyos-2.x/tos/interfaces/GpioInterrupt.nc"static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$InterruptDATA$fired(void );# 64 "/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc"static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$readSensor$runTask(void );#line 64static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$signalStatusDone$runTask(void );# 84 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$default$measureHumidityDone(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8, # 84 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"error_t result, uint16_t val);#line 76static error_t /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$measureHumidity(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8);# 61 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"static error_t /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$measureTemperature(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8);# 116 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$default$writeStatusRegDone(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8, # 116 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"error_t result);#line 100static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$default$readStatusRegDone(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8, # 100 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"error_t result, uint8_t val);#line 54static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$default$resetDone(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8, # 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"error_t result);#line 69static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$SensirionSht11$default$measureTemperatureDone(# 54 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11LogicP.nc"uint8_t arg_0x123f6d8, # 69 "/opt/tinyos-2.x/tos/chips/sht11/SensirionSht11.nc"error_t result, uint16_t val);# 72 "/opt/tinyos-2.x/tos/lib/timer/Timer.nc"static void /*HalSensirionSht11C.SensirionSht11LogicP*/SensirionSht11LogicP$0$Timer$fired(void );# 83 "/opt/tinyos-2.x/tos/interfaces/SplitControl.nc"static error_t HplSensirionSht11P$SplitControl$start(void );#line 109static error_t HplSensirionSht11P$SplitControl$stop(void );# 64 "/opt/tinyos-2.x/tos/interfaces/TaskBasic.nc"static void HplSensirionSht11P$stopTask$runTask(void );# 72 "/opt/tinyos-2.x/tos/lib/timer/Timer.nc"static void HplSensirionSht11P$Timer$fired(void );# 98 "/opt/tinyos-2.x/tos/lib/timer/Alarm.nc"static /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$size_type /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$getNow(void );#line 92static void /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$startAt(/*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$size_type t0, /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$size_type dt);#line 105static /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$size_type /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$getAlarm(void );#line 62static void /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Alarm$stop(void );# 51 "/opt/tinyos-2.x/tos/interfaces/Init.nc"static error_t /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Init$init(void );# 53 "/opt/tinyos-2.x/tos/lib/timer/Counter.nc"static /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Counter$size_type /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Counter$get(void );# 49 "/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Compare.nc"static void /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Compare$fired(void );# 61 "/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer.nc"static void /*AlarmCounterMilliP.Atm128AlarmAsyncC.Atm1281AlarmAsyncP*/Atm1281AlarmAsyncP$0$Timer$overflow(void );# 69 "/opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm128TimerCtrl8.nc"static uint8_t HplAtm1281Timer2AsyncP$TimerCtrl$getInterruptFlag(void );#line 62static void HplAtm1281Timer2AsyncP$TimerCtrl$setControlB(uint8_t control);

⌨️ 快捷键说明

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