📄 app.c
字号:
#define nx_struct struct#define nx_union union#define dbg(mode, format, ...) ((void)0)#define dbg_clear(mode, format, ...) ((void)0)#define dbg_active(mode) 0# 151 "/usr/lib/gcc-lib/msp430/3.2.3/include/stddef.h" 3typedef int ptrdiff_t;#line 213typedef unsigned int size_t;#line 325typedef int wchar_t;# 8 "/usr/lib/ncc/deputy_nodeputy.h"struct __nesc_attr_nonnull {} ;#line 9struct __nesc_attr_bnd {#line 9 void *lo, *hi;} ;#line 10struct __nesc_attr_bnd_nok {#line 10 void *lo, *hi;} ;#line 11struct __nesc_attr_count {#line 11 int n;} ;#line 12struct __nesc_attr_count_nok {#line 12 int n;} ;#line 13struct __nesc_attr_one {} ;#line 14struct __nesc_attr_one_nok {} ;#line 15struct __nesc_attr_dmemset {#line 15 int a1, a2, a3;} ;#line 16struct __nesc_attr_dmemcpy {#line 16 int a1, a2, a3;} ;#line 17struct __nesc_attr_nts {} ;# 38 "/usr/msp430/include/sys/inttypes.h" 3typedef signed char int8_t;typedef unsigned char uint8_t;typedef int int16_t;typedef unsigned int uint16_t;typedef long int32_t;typedef unsigned long uint32_t;typedef long long int64_t;typedef unsigned long long uint64_t;typedef int16_t intptr_t;typedef uint16_t uintptr_t;# 235 "/usr/lib/ncc/nesc_nx.h"static __inline uint8_t __nesc_ntoh_uint8(const void * source) ;static __inline uint8_t __nesc_hton_uint8(void * target, uint8_t value) ;static __inline uint8_t __nesc_ntoh_leuint8(const void * source) ;static __inline uint8_t __nesc_hton_leuint8(void * target, uint8_t value) ;static __inline int8_t __nesc_ntoh_int8(const void * source) ;#line 257static __inline int8_t __nesc_hton_int8(void * target, int8_t value) ;static __inline uint16_t __nesc_ntoh_uint16(const void * source) ;static __inline uint16_t __nesc_hton_uint16(void * target, uint16_t value) ;static __inline uint16_t __nesc_ntoh_leuint16(const void * source) ;static __inline uint16_t __nesc_hton_leuint16(void * target, uint16_t value) ;#line 294static __inline uint32_t __nesc_ntoh_uint32(const void * source) ;static __inline uint32_t __nesc_hton_uint32(void * target, uint32_t value) ;#line 385typedef struct { unsigned char data[1]; } __attribute__((packed)) nx_int8_t;typedef int8_t __nesc_nxbase_nx_int8_t ;typedef struct { unsigned char data[2]; } __attribute__((packed)) nx_int16_t;typedef int16_t __nesc_nxbase_nx_int16_t ;typedef struct { unsigned char data[4]; } __attribute__((packed)) nx_int32_t;typedef int32_t __nesc_nxbase_nx_int32_t ;typedef struct { unsigned char data[8]; } __attribute__((packed)) nx_int64_t;typedef int64_t __nesc_nxbase_nx_int64_t ;typedef struct { unsigned char data[1]; } __attribute__((packed)) nx_uint8_t;typedef uint8_t __nesc_nxbase_nx_uint8_t ;typedef struct { unsigned char data[2]; } __attribute__((packed)) nx_uint16_t;typedef uint16_t __nesc_nxbase_nx_uint16_t ;typedef struct { unsigned char data[4]; } __attribute__((packed)) nx_uint32_t;typedef uint32_t __nesc_nxbase_nx_uint32_t ;typedef struct { unsigned char data[8]; } __attribute__((packed)) nx_uint64_t;typedef uint64_t __nesc_nxbase_nx_uint64_t ;typedef struct { unsigned char data[1]; } __attribute__((packed)) nxle_int8_t;typedef int8_t __nesc_nxbase_nxle_int8_t ;typedef struct { unsigned char data[2]; } __attribute__((packed)) nxle_int16_t;typedef int16_t __nesc_nxbase_nxle_int16_t ;typedef struct { unsigned char data[4]; } __attribute__((packed)) nxle_int32_t;typedef int32_t __nesc_nxbase_nxle_int32_t ;typedef struct { unsigned char data[8]; } __attribute__((packed)) nxle_int64_t;typedef int64_t __nesc_nxbase_nxle_int64_t ;typedef struct { unsigned char data[1]; } __attribute__((packed)) nxle_uint8_t;typedef uint8_t __nesc_nxbase_nxle_uint8_t ;typedef struct { unsigned char data[2]; } __attribute__((packed)) nxle_uint16_t;typedef uint16_t __nesc_nxbase_nxle_uint16_t ;typedef struct { unsigned char data[4]; } __attribute__((packed)) nxle_uint32_t;typedef uint32_t __nesc_nxbase_nxle_uint32_t ;typedef struct { unsigned char data[8]; } __attribute__((packed)) nxle_uint64_t;typedef uint64_t __nesc_nxbase_nxle_uint64_t ;# 41 "/usr/msp430/include/sys/types.h" 3typedef unsigned char u_char;typedef unsigned short u_short;typedef unsigned int u_int;typedef unsigned long u_long;typedef unsigned short ushort;typedef unsigned int uint;typedef uint8_t u_int8_t;typedef uint16_t u_int16_t;typedef uint32_t u_int32_t;typedef uint64_t u_int64_t;typedef u_int64_t u_quad_t;typedef int64_t quad_t;typedef quad_t *qaddr_t;typedef char *caddr_t;typedef const char *c_caddr_t;typedef volatile char *v_caddr_t;typedef u_int32_t fixpt_t;typedef u_int32_t gid_t;typedef u_int32_t in_addr_t;typedef u_int16_t in_port_t;typedef u_int32_t ino_t;typedef long key_t;typedef u_int16_t mode_t;typedef u_int16_t nlink_t;typedef quad_t rlim_t;typedef int32_t segsz_t;typedef int32_t swblk_t;typedef int32_t ufs_daddr_t;typedef int32_t ufs_time_t;typedef u_int32_t uid_t;# 42 "/usr/msp430/include/string.h" 3extern void *memset(void *arg_0x4028f220, int arg_0x4028f378, size_t arg_0x4028f510);#line 63extern void *memset(void *arg_0x4029b118, int arg_0x4029b270, size_t arg_0x4029b408);# 59 "/usr/msp430/include/stdlib.h" 3#line 56typedef struct __nesc_unnamed4242 { int quot; int rem;} div_t;#line 64typedef struct __nesc_unnamed4243 { long quot; long rem;} ldiv_t;# 122 "/usr/msp430/include/sys/config.h" 3typedef long int __int32_t;typedef unsigned long int __uint32_t;# 12 "/usr/msp430/include/sys/_types.h" 3typedef long _off_t;typedef long _ssize_t;# 28 "/usr/msp430/include/sys/reent.h" 3typedef __uint32_t __ULong;struct _glue { struct _glue *_next; int _niobs; struct __sFILE *_iobs;};struct _Bigint { struct _Bigint *_next; int _k, _maxwds, _sign, _wds; __ULong _x[1];};struct __tm { int __tm_sec; int __tm_min; int __tm_hour; int __tm_mday; int __tm_mon; int __tm_year; int __tm_wday; int __tm_yday; int __tm_isdst;};struct _atexit { struct _atexit *_next; int _ind; void (*_fns[32])(void );};struct __sbuf { unsigned char *_base; int _size;};typedef long _fpos_t;#line 116struct __sFILE { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; void *_cookie; int (*_read)(void *_cookie, char *_buf, int _n); int (*_write)(void *_cookie, const char *_buf, int _n); _fpos_t (*_seek)(void *_cookie, _fpos_t _offset, int _whence); int (*_close)(void *_cookie); struct __sbuf _ub; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; int _offset; struct _reent *_data;};#line 174struct _rand48 { unsigned short _seed[3]; unsigned short _mult[3]; unsigned short _add;};struct _reent { int _errno; struct __sFILE *_stdin, *_stdout, *_stderr; int _inc; char _emergency[25]; int _current_category; const char *_current_locale; int __sdidinit; void (*__cleanup)(struct _reent *arg_0x402bd510); struct _Bigint *_result; int _result_k; struct _Bigint *_p5s; struct _Bigint **_freelist; int _cvtlen; char *_cvtbuf; union __nesc_unnamed4244 { struct __nesc_unnamed4245 { unsigned int _unused_rand; char *_strtok_last; char _asctime_buf[26]; struct __tm _localtime_buf; int _gamma_signgam; __extension__ unsigned long long _rand_next; struct _rand48 _r48; } _reent; struct __nesc_unnamed4246 { unsigned char *_nextf[30]; unsigned int _nmalloc[30]; } _unused; } _new; struct _atexit *_atexit; struct _atexit _atexit0; void (**_sig_func)(int arg_0x402c1b88); struct _glue __sglue; struct __sFILE __sf[3];};#line 273struct _reent;# 18 "/usr/msp430/include/math.h" 3union __dmath { __uint32_t i[2]; double d;};union __dmath;#line 208struct exception { int type; char *name; double arg1; double arg2; double retval; int err;};#line 261enum __fdlibm_version { __fdlibm_ieee = -1, __fdlibm_svid, __fdlibm_xopen, __fdlibm_posix};enum __fdlibm_version;# 23 "/opt/tinyos-2.1.0/tos/system/tos.h"typedef uint8_t bool;enum __nesc_unnamed4247 {#line 24 FALSE = 0, TRUE = 1};typedef nx_int8_t nx_bool;uint16_t TOS_NODE_ID = 1;struct __nesc_attr_atmostonce {};#line 35struct __nesc_attr_atleastonce {};#line 36struct __nesc_attr_exactlyonce {};# 40 "/opt/tinyos-2.1.0/tos/types/TinyError.h"enum __nesc_unnamed4248 { SUCCESS = 0, FAIL = 1, ESIZE = 2, ECANCEL = 3, EOFF = 4, EBUSY = 5, EINVAL = 6, ERETRY = 7, ERESERVE = 8, EALREADY = 9, ENOMEM = 10, ENOACK = 11,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -