亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? stdint.h

?? TDK 6521 SOC 芯片 DEMO程序
?? H
字號:
/***************************************************************************
 * This code and information is provided "as is" without warranty of any   *
 * kind, either expressed or implied, including but not limited to the     *
 * implied warranties of merchantability and/or fitness for a particular   *
 * purpose.                                                                *
 *                                                                         *
 * Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved.    *
 ***************************************************************************/
//**************************************************************************
//    
// DESCRIPTION: 71M652x POWER METER- standard integer definitions
// This include file is close to the POSIX and C99 standard.
// It doesn't have 64-bit definitions, because KEIL C doesn't.
// It doesn't have signal definitions.
// 
//  AUTHOR:  RGV
//
//  HISTORY: See end of file
//
//**************************************************************************
//               
// File: stdint.h
//               
//**************************************************************************

#ifndef STDINT_H
#define STDINT_H
#define HAVE_STDINT_H

/* See your compiler manual for what this actually means.  Many
 * 8051 compilers, notably Keil, do not put local variables on
 * the stack! Instead, the linker manages a set of nesting overlays
 * in the type of memory selected by the memory model. So,
 * many compilers generate nonreentrant code by default. (I.e. unlike
 * other C compilers, functions can't just be called from interrupt code). */
typedef unsigned char      uint8_t;
typedef unsigned short     uint16_t;
typedef unsigned long      uint32_t;
typedef signed char        int8_t;
typedef signed short       int16_t;
typedef signed long        int32_t;

/* These are defined to make it easy to port to other 8051 compilers. 
 * Compared to other CPUs, the 8051 has a zoo of memory types. */

/* internal data, lower 128 bytes, addressed directly
 * Fastest available memory (except registers), not battery-backed-up,
 * competes with stack, registers, bools, and idata.
 * For portability, see uint_fast8_t and its sisters which are POSIX standard.
 * Obviously there's not much.  Don't waste it.
 * */
typedef unsigned char data      uint8d_t;
typedef unsigned short data     uint16d_t;
typedef unsigned long data      uint32d_t;
typedef signed char data        int8d_t;
typedef signed short data       int16d_t;
typedef signed long data        int32d_t;

/* internal data, 16 bytes (20h-2Fh), addressed directly, and bit addressable!
 * Fastest available memory, not battery-backed-up on meter chips,  
 * competes with stack, registers, bools, data, and idata. 
 * The space is valuable for bool globals. Don't waste it. */
typedef unsigned char bdata      uint8b_t;
typedef unsigned short bdata     uint16b_t;
typedef unsigned long bdata      uint32b_t;
typedef signed char bdata        int8b_t;
typedef signed short bdata       int16b_t;
typedef signed long bdata        int32b_t;

/* booleans are not a normal part of stdint.h, but pretty portable.
 * In Keil these go in 20h-2Fh.  They're fast, not battery-backed-up on meters,
 * and compete with bdata. Keil functions return bools in the carry bit, 
 * which makes code that's amusingly fast and small. */
typedef bit bool;

#define TRUE 1
#define FALSE 0
#define ON   1
#define OFF  0
#define YES 0x5A // so uninitialized values are "no"

/* internal data, 256 bytes, upper 128 addressed indirectly
 * pretty fast, not battery-backed-up on meter chips, 
 * ugh slower than data. Competes with data for space. */
typedef unsigned char idata      uint8i_t;
typedef unsigned short idata     uint16i_t;
typedef unsigned long idata      uint32i_t;
typedef signed char idata        int8i_t;
typedef signed short idata       int16i_t;
typedef signed long idata        int32i_t;

/* external data, 256 bytes of 2K of CMOS RAM,
 * The upper byte of the XDATA address is supplied by the sfr 0xBf, ADRMSB,
 * on meter chips.  On other 8051s, P2 filled this purpose.
 * Accessed indirectly. kinda fast, battery backed-up on 651X meter chips.
 * This is a great place for nonvolatile globals like power registers 
 * and configuration data. */
typedef unsigned char pdata      uint8p_t;
typedef unsigned short pdata     uint16p_t;
typedef unsigned long pdata      uint32p_t;
typedef signed char pdata        int8p_t;
typedef signed short pdata       int16p_t;
typedef signed long pdata        int32p_t;

/* external data,  2k of CMOS RAM, accessed indirectly via a 16-bit register. 
 * slowest but largest memory, battery backed-up on meter chips
 * Use it for everything possible.  On Keil's large model, this 
 * is the default! */
typedef unsigned char xdata      uint8x_t;
typedef unsigned short xdata     uint16x_t;
typedef unsigned long xdata      uint32x_t;
typedef signed char xdata        int8x_t;
typedef signed short xdata       int16x_t;
typedef signed long xdata        int32x_t;

/* external read-only data, in code space, 
 * accessed indirectly via a 16-bit register. 
 * slowest but largest place, nonvolatile programmable flash on meter chips
 * Use it for constants and tables. */
typedef unsigned char code      uint8r_t;
typedef unsigned short code     uint16r_t;
typedef unsigned long code      uint32r_t;
typedef signed char code        int8r_t;
typedef signed short code       int16r_t;
typedef signed long code        int32r_t;

/* macros to define constants */
#define INT8_C(_v_) _v_
#define INT16_C(_v_) _v_
#define INT32_C(_v_) _v_L
#define INTMAX_C(_v_) _v_L
#define UINT8_C(_v_) _v_
#define UINT16_C(_v_) _v_
#define UINT32_C(_v_) _v_UL
#define UINTMAX_C(_v_) _v_UL

#define UINT8_MAX  255
#define UINT16_MAX 65535
#define UINT32_MAX 4294967295L

#define INT8_MIN  -128
#define INT16_MIN -32768
#define INT32_MIN -2147483648L

#define INT8_MAX  127
#define INT16_MAX 32767
#define INT32_MAX 2147483647L

/* Keil implements void pointers as 24-bit values, so
 * a 32-bit value is the smallest integer that can hold
 * a void pointer.  Typed pointers are always better.  */
typedef unsigned long      uintptr_t;
typedef signed long        intptr_t;
typedef signed short       ptrdiff_t;

#define UINTPTR_MAX 65535
#define INTPTR_MIN -32768
#define INTPTR_MAX 32767
#define INTPTRDIFF_MIN -32768
#define INTPTRDIFF_MAX 32767
#define SIZE_MAX 65535

#define WCHAR_MIN -128
#define WCHAR_MAX 127
#define WINT_MIN -32768
#define WINT_MAX 32767


typedef unsigned long      uintmax_t;
typedef signed long        intmax_t;

#define UINTMAX_MAX 4294967295L
#define INTMAX_MIN -2147483648L
#define INTMAX_MAX 2147483647L


/* define a type that is at least the desired bit width.  See
 * your compiler manual for what this really means. */
typedef unsigned char      uint_least8_t;
typedef unsigned short     uint_least16_t;
typedef unsigned long      uint_least32_t;

typedef signed char        int_least8_t;
typedef signed short       int_least16_t;
typedef signed long        int_least32_t;

#define INT_LEAST8_MIN -128
#define INT_LEAST16_MIN -32768
#define INT_LEAST32_MIN -2147483648L

#define INT_LEAST8_MAX 127
#define INT_LEAST16_MAX 32767
#define INT_LEAST32_MAX 2147483647L

#define UINT_LEAST8_MAX 255
#define UINT_LEAST16_MAX 65535
#define UINT_LEAST32_MAX 4294967295L

/* define the fastest memory. */
/* See uint8d_t and its brothers, above for a description of the memory. */
typedef unsigned char data      uint_fast8_t;
typedef unsigned short data     uint_fast16_t;
typedef unsigned long  data     uint_fast32_t;

typedef signed char data        int_fast8_t;
typedef signed short data       int_fast16_t;
typedef signed long data        int_fast32_t;

#define INT_FAST8_MIN -128
#define INT_FAST16_MIN -32768
#define INT_FAST32_MIN -2147483648L

#define INT_FAST8_MAX 127
#define INT_FAST16_MAX 32767
#define INT_FAST32_MAX 2147483647L

#define UINT_FAST8_MAX 255
#define UINT_FAST16_MAX 65535
#define UINT_FAST32_MAX 4294967295L

/* These are not part of the standard, but they're very useful */
typedef union Uint8_16_t  { uint8_t c[2]; uint16_t i; } uint8_16_t;
typedef union Uint16_32_t  { uint16_t i[2]; uint32_t l; } uint16_32_t;
typedef union Uint8_16_32_t \
   { uint8_t c[4]; uint16_t i[2]; uint32_t l; } uint8_16_32_t;

typedef union Sint8_16_t  { int8_t c[2]; int16_t i; } int8_16_t;
typedef union Sint16_32_t  { int16_t i[2]; int32_t l; } int16_32_t;
typedef union Sint8_16_32_t \
   { int8_t c[4]; int16_t i[2]; int32_t l; } int8_16_32_t;

typedef struct Uint8_16_8_t { uint8_t f; uint16_t i; uint8_t c; } uint8_16_8_t;
typedef union  Uint8_16_8_32_t { uint8_16_8_t c; uint32_t l; } uint8_16_8_32_t;

#if 1 
// BIG_ENDIAN
#define HI 0
#define LO 1

#define HI_HI 0
#define HI_LO 1
#define LO_HI 2
#define LO_LO 3

#else
// LITTLE_ENDIAN
#define HI 1
#define LO 0

#define HI_HI 3
#define HI_LO 2
#define LO_HI 1
#define LO_LO 0
#endif

#define NO_BITS 0x00
#define BIT0    0x01
#define BIT1    0x02
#define BIT2    0x04
#define BIT3    0x08
#define BIT4    0x10
#define BIT5    0x20
#define BIT6    0x40
#define BIT7    0x80
#define BIT8    0x0100
#define BIT9    0x0200
#define BIT10   0x0400
#define BIT11   0x0800
#define BIT12   0x1000
#define BIT13   0x2000
#define BIT14   0x4000
#define BIT15   0x8000
#define BIT16   0x010000
#define BIT17   0x020000
#define BIT18   0x040000
#define BIT19   0x080000
#define BIT20   0x100000
#define BIT21   0x200000
#define BIT22   0x400000
#define BIT23   0x800000
#define BIT24   0x01000000
#define BIT25   0x02000000
#define BIT26   0x04000000
#define BIT27   0x08000000
#define BIT28   0x10000000
#define BIT29   0x20000000
#define BIT30   0x40000000
#define BIT31   0x80000000

/***************************************************************************
 * History
 * $Log: stdint.h,v $
 * Revision 1.22  2006/09/09 01:16:00  gmikef
 * *** empty log message ***
 *
 * Revision 1.20  2006/01/10 04:13:39  gmikef
 * Added PDATA support for CE Outputs.
 *
 * Revision 1.19  2006/01/04 04:47:57  gmikef
 * Switched RMS and VA calculations to use floating point. (and Calibration).
 *
 * Revision 1.17  2005/11/09 02:21:17  tvander
 * Added code to display watt hours from brownout mode.
 * Added code to clear EEPROM (lapie command "EEE")
 *
 * Revision 1.16  2005/09/22 23:45:30  tvander
 * Clean build all models and unit tests, updated copyright to be fore Teridian
 *
 * Revision 1.15  2005/09/08 00:31:43  tvander
 * Fixed: Lost data due to overwrite of Ithrshld, xfer busy never runs,
 * unavailable second phase, cosmetic issues with status.  Updated
 * date.
 *
 * Revision 1.14  2005/08/23 02:12:56  gmikef
 * *** empty log message ***
 *
 * Revision 1.13  2005/08/20 01:32:49  gmikef
 * *** empty log message ***
 *
 * Revision 1.12  2005/04/30 02:20:54  gmikef
 * *** empty log message ***
 *
 * Revision 1.11  2005/04/28 19:12:28  tvander
 * Comments only!  Restored history comments.
 *
 * Revision 1.10  2005/04/27 23:49:26  gmikef
 * Some MATH rountines now use 'idata'.
 * Added MATH_FAST flag to 'options.h".
 * Changed "6521B.Uv2" to max optimization.
 *
 * Revision 1.9  2005/04/21 02:09:27  gmikef
 * *** empty log message ***
 *
 * Revision 1.8  2005/04/09 02:28:59  gmikef
 * *** empty log message ***
 *
 * Revision 1.7  2005/03/24 21:44:12  gmikef
 * *** empty log message ***
 *
 * Revision 1.6  2005/03/24 01:39:00  tvander
 * First successful compile of serial unit test
 *
 * Revision 1.5  2005/03/23 19:18:12  tvander
 * *** empty log message ***
 *
 * Revision 1.4  2005/03/12 00:28:08  tvander
 * Added code space as int8r_t (for example)
 *
 * Revision 1.3  2005/03/12 00:06:42  tvander
 * Added full 8051 types
 *
 * Revision 1.2  2005/03/11 22:57:03  tvander
 * Added bool, and 8/16/32 data structures
 *
 * Revision 1.1  2005/03/11 22:17:23  tvander
 * Structure
 *
 * Copyright (C) 2005 Teridian Semiconductor Corp. All Rights Reserved.    *
 * this program is fully protected by the United States copyright          *
 * laws and is the property of Teridian Semiconductor Corporation.         *
 ***************************************************************************/
#endif /* STDINT_H */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费视频播放| 日av在线不卡| 婷婷综合五月天| 蜜桃视频在线观看一区| 国产乱妇无码大片在线观看| 成人av免费在线观看| 欧美图区在线视频| 日韩精品一区二区三区在线观看| 久久久精品欧美丰满| 亚洲精品日韩综合观看成人91| 丝袜a∨在线一区二区三区不卡| 国产在线不卡视频| 日本久久电影网| 日韩午夜av一区| 中文字幕一区二区三区四区不卡 | 九九九久久久精品| 波多野结衣亚洲| 91精品国产高清一区二区三区| 国产日韩欧美精品在线| 亚洲已满18点击进入久久| 国产在线播放一区二区三区| 色天使久久综合网天天| 精品国产污污免费网站入口| 亚洲资源中文字幕| 国产高清亚洲一区| 欧美美女bb生活片| 中文文精品字幕一区二区| 丝袜诱惑制服诱惑色一区在线观看| 成人一二三区视频| 日韩欧美卡一卡二| 洋洋av久久久久久久一区| 国产91丝袜在线播放0| 51午夜精品国产| 一区二区中文字幕在线| 青草av.久久免费一区| 色婷婷国产精品综合在线观看| 26uuu色噜噜精品一区| 亚洲综合在线电影| 成人丝袜18视频在线观看| 欧美一区二区在线看| 亚洲精品中文在线影院| 国产成人免费视频网站 | 蜜臀久久99精品久久久画质超高清 | 不卡免费追剧大全电视剧网站| 欧美一级专区免费大片| 亚洲伊人色欲综合网| caoporen国产精品视频| 久久综合九色综合欧美就去吻 | 精品欧美一区二区在线观看| 亚洲综合激情另类小说区| 成人午夜视频在线观看| 久久综合色之久久综合| 欧美aaa在线| 欧美猛男男办公室激情| 亚洲综合小说图片| 97超碰欧美中文字幕| 亚洲国产精品传媒在线观看| 国产乱子轮精品视频| 日韩一区和二区| 日本中文字幕一区二区视频 | 日日夜夜精品视频天天综合网| 色狠狠av一区二区三区| 亚洲精选视频在线| 91丨porny丨蝌蚪视频| 18欧美乱大交hd1984| 风间由美性色一区二区三区| 久久久五月婷婷| 激情文学综合插| 日韩欧美一区二区不卡| 午夜不卡av在线| 欧美日韩一区视频| 亚洲成人一二三| 欧美唯美清纯偷拍| 婷婷丁香激情综合| 6080国产精品一区二区| 蜜臀精品久久久久久蜜臀| 日韩欧美一级特黄在线播放| 精品在线亚洲视频| 精品国产乱码久久久久久图片 | 国产日产精品1区| 高清久久久久久| 国产精品女同一区二区三区| 国产**成人网毛片九色| 国产精品国产三级国产aⅴ中文 | 中文字幕在线观看不卡视频| 不卡的电影网站| 亚洲精品免费在线| 欧美日韩视频在线第一区| 日韩电影在线观看电影| 日韩欧美精品在线| 国产精品一区在线观看乱码| 欧美国产日本视频| 99国产精品久久久久久久久久久| 一区二区三区四区中文字幕| 欧美日韩黄视频| 狂野欧美性猛交blacked| 久久综合狠狠综合久久综合88 | 中文字幕一区在线观看| 在线中文字幕一区二区| 婷婷综合五月天| 精品国产一区二区国模嫣然| 国产成人高清在线| 一区二区三区欧美视频| 4438x亚洲最大成人网| 久久黄色级2电影| 国产日韩欧美不卡| 在线观看视频91| 视频在线观看91| 国产午夜精品久久久久久久| av日韩在线网站| 三级一区在线视频先锋| 2020国产精品| 91久久精品一区二区二区| 免费看欧美美女黄的网站| 欧美国产激情二区三区| 欧洲亚洲精品在线| 久久99精品久久久久久动态图| 国产精品美女一区二区在线观看| 欧美三级电影精品| 国产精品一区二区久久不卡| 一区二区三国产精华液| 精品国产乱码久久久久久免费| 91丝袜呻吟高潮美腿白嫩在线观看| 无吗不卡中文字幕| 中文字幕欧美日本乱码一线二线| 欧美中文字幕不卡| 国产精品一区二区三区99| 一区二区三区高清| 久久精品视频一区| 欧美精品在欧美一区二区少妇| 国产盗摄视频一区二区三区| 亚洲成人av免费| 中文欧美字幕免费| 欧美一区二区私人影院日本| 91色综合久久久久婷婷| 激情偷乱视频一区二区三区| 亚洲图片欧美视频| 国产精品白丝在线| 亚洲精品在线电影| 精品视频在线免费观看| 成人免费看黄yyy456| 日本伊人色综合网| 亚洲欧美aⅴ...| 久久久久久久综合色一本| 欧美日韩精品一区二区三区| 91小视频在线观看| 国产精品1024| 久久精品国产成人一区二区三区| 亚洲精品成人精品456| 久久久国产精华| 日韩一级片在线播放| 欧美无乱码久久久免费午夜一区 | 亚洲欧美怡红院| 2023国产精华国产精品| 69久久99精品久久久久婷婷 | 一区二区三区日韩欧美| 久久久欧美精品sm网站| 日韩欧美一区在线观看| 欧美日韩一区精品| 色婷婷综合五月| 9色porny自拍视频一区二区| 国产乱码精品一区二区三| 免费成人在线观看| 视频一区中文字幕| 亚洲一区二区成人在线观看| 最近中文字幕一区二区三区| 日本一区二区三区电影| 久久久99免费| 欧美本精品男人aⅴ天堂| 欧美一级黄色大片| 欧美一区二区三区精品| 国产欧美日韩在线视频| 日韩欧美美女一区二区三区| 3d成人动漫网站| 欧美军同video69gay| 精品污污网站免费看| 欧美日韩在线一区二区| 欧美日韩在线直播| 欧美少妇bbb| 欧美日韩在线播放一区| 欧美日高清视频| 欧美精品v国产精品v日韩精品| 欧美揉bbbbb揉bbbbb| 欧美日韩三级在线| 欧美精品1区2区| 91麻豆精品91久久久久同性| 欧美精品v国产精品v日韩精品| 欧美欧美欧美欧美| 日韩一区二区三区视频在线| 日韩女优制服丝袜电影| 精品免费99久久| 久久久久久久久久久99999| 国产欧美日韩麻豆91| 国产精品初高中害羞小美女文| 国产精品免费看片| 亚洲欧美一区二区不卡| 亚洲午夜免费视频| 日日夜夜精品视频天天综合网| 另类专区欧美蜜桃臀第一页| 国产精品一区三区|