Induction motor testing through matlab and simulink. This test all the required parameter to find out the induction motor is stable or not
标签: Induction parameter simulink required
上传时间: 2017-07-08
上传用户:wxhwjf
GRE 数学圣经,下面是详细的英文介绍: Comprehensive Prep for GRE Math Every year, students pay $1,000 and more to test prep companies to prepare for the math section of the GRE. Now you can get the same preparation in a book. Although the GRE math section is difficult, it is very learnable. GRE Math Bible presents a thorough analysis of GRE math and introduces numerous analytic techniques that will help you immensely, not only on the GRE but in graduate school as well.
标签: GRE Math 数学
上传时间: 2015-08-22
上传用户:东大寺的
/* ********************************************************************************************************* * uC/TCP-IP V2 * The Embedded TCP/IP Suite * * (c) Copyright 2003-2010; Micrium, Inc.; Weston, FL * * All rights reserved. Protected by international copyright laws. * * uC/TCP-IP is provided in source form to registered licensees ONLY. It is * illegal to distribute this source code to any third party unless you receive * written permission by an authorized Micrium representative. Knowledge of * the source code may NOT be used to develop a similar product. * * Please help us continue to provide the Embedded community with the finest * software available. Your honesty is greatly appreciated. * * You can contact us at www.micrium.com. ********************************************************************************************************* */ /* ********************************************************************************************************* * * NETWORK TCP LAYER * (TRANSMISSION CONTROL PROTOCOL) * * Filename : net_tcp.h * Version : V2.10 * Programmer(s) : ITJ ********************************************************************************************************* * Note(s) : (1) Supports Transmission Control Protocol as described in RFC #793 with the following * restrictions/constraints : * * (a) TCP Security & Precedence NOT supported RFC # 793, Section 3.6 * * (b) TCP Urgent Data NOT supported RFC # 793, Section 3.7 * 'The Communication of * Urgent Information' * * (c) The following TCP options NOT supported : * * (1) Window Scale RFC #1072, Section 2 * RFC #1323, Section 2 * (2) Selective Acknowledgement (SACK) RFC #1072, Section 3 * RFC #2018 * RFC #2883 * (3) TCP Echo RFC #1072, Section 4 * (4) Timestamp RFC #1323, Section 3.2 * (5) Protection Against Wrapped Sequences (PAWS) RFC #1323, Section 4 * * (d) #### IP-Options-to-TCP-Connection RFC #1122, Section 4.2.3.8 * Handling NOT supported * * (e) #### ICMP-Error-Message-to-TCP-Connection RFC #1122, Section 4.2.3.9 * Handling NOT currently supported * * (2) TCP Layer assumes/requires Network Socket Layer (see 'net_sock.h MODULE Note #1a2'). ********************************************************************************************************* */ /*$PAGE*/ /* ********************************************************************************************************* * MODULE * * Note(s) : (1) TCP Layer module is NOT required for UDP-to-Application API configuration. * * See also 'net_cfg.h TRANSPORT LAYER CONFIGURATION' * & 'net_cfg.h USER DATAGRAM PROTOCOL LAYER CONFIGURATION'. * * See also 'net_tcp.h Note #2'. * * (2) The following TCP-module-present configuration value MUST be pre-#define'd in * 'net_cfg_net.h' PRIOR to all other network modules that require TCP Layer * configuration (see 'net_cfg_net.h TCP LAYER CONFIGURATION Note #2b') : * * NET_TCP_MODULE_PRESENT ********************************************************************************************************* */ #ifdef NET_TCP_MODULE_PRESENT /* See Note #2. */ /* ********************************************************************************************************* * EXTERNS ********************************************************************************************************* */ #if ((defined(NET_TCP_MODULE)) && \ (defined(NET_GLOBALS_EXT))) #define NET_TCP_EXT #else #define NET_TCP_EXT extern #endif /*$PAGE*/ /* ********************************************************************************************************* * DEFINES ********************************************************************************************************* */ /* ********************************************************************************************************* * TCP HEADER DEFINES * * Note(s) : (1) The following TCP value MUST be pre-#define'd in 'net_def.h' PRIOR to 'net_buf.h' so that * the Network Buffer Module can configure maximum buffer header size (see 'net_def.h TCP * LAYER DEFINES' & 'net_buf.h NETWORK BUFFER INDEX & SIZE DEFINES Note #1') : * * (a) NET_TCP_HDR_SIZE_MAX 60 (NET_TCP_HDR_LEN_MAX * * NET_TCP_HDR_LEN_WORD_SIZE) * * (2) Urgent pointer & data NOT supported (see 'net_tcp.h Note #1b'). ********************************************************************************************************* */ #define NET_TCP_HDR_LEN_MASK 0xF000u #define NET_TCP_HDR_LEN_SHIFT 12u #define NET_TCP_HDR_LEN_NONE 0u #define NET_TCP_HDR_LEN_MIN 5u #define NET_TCP_HDR_LEN_MAX 15u #define NET_TCP_HDR_LEN_WORD_SIZE CPU_WORD_SIZE_32 #define NET_TCP_HDR_SIZE_MIN (NET_TCP_HDR_LEN_MIN * NET_TCP_HDR_LEN_WORD_SIZE) #if 0 /* See Note #1a. */ #define NET_TCP_HDR_SIZE_MAX (NET_TCP_HDR_LEN_MAX * NET_TCP_HDR_LEN_WORD_SIZE) #endif #define NET_TCP_HDR_SIZE_TOT_MIN (NET_IP_HDR_SIZE_TOT_MIN + NET_TCP_HDR_SIZE_MIN) #define NET_TCP_HDR_SIZE_TOT_MAX (NET_IP_HDR_SIZE_TOT_MAX + NET_TCP_HDR_SIZE_MAX) #define NET_TCP_PSEUDO_HDR_SIZE 12u /* = sizeof(NET_TCP_PSEUDO_HDR) */ #define NET_TCP_PORT_NBR_RESERVED NET_PORT_NBR_RESERVED #define NET_TCP_PORT_NBR_NONE NET_TCP_PORT_NBR_RESERVED #define NET_TCP_HDR_URG_PTR_NONE 0x0000u /* See Note #2. */ /*$PAGE*/ /* ********************************************************************************************************* * TCP HEADER FLAG DEFINES * * Note(s) : (1) See 'TCP HEADER Note #2' for flag fields. * * (2) Urgent pointer & data NOT supported (see 'net_tcp.h Note #1b'). ********************************************************************************************************* */ #define NET_TCP_HDR_FLAG_MASK 0x0FFFu #define NET_TCP_HDR_FLAG_NONE DEF_BIT_NONE #define NET_TCP_HDR_FLAG_RESERVED 0x0FE0u /* MUST be '0'. */ #define NET_TCP_HDR_FLAG_URGENT DEF_BIT_05 /* See Note #2. */ #define NET_TCP_HDR_FLAG_ACK DEF_BIT_04 #define NET_TCP_HDR_FLAG_PUSH DEF_BIT_03 #define NET_TCP_HDR_FLAG_RESET DEF_BIT_02 #define NET_TCP_HDR_FLAG_SYNC DEF_BIT_01 #define NET_TCP_HDR_FLAG_FIN DEF_BIT_00 #define NET_TCP_HDR_FLAG_CLOSE NET_TCP_HDR_FLAG_FIN /* ********************************************************************************************************* * TCP FLAG DEFINES ********************************************************************************************************* */ /* ------------------ NET TCP FLAGS ------------------- */ #define NET_TCP_FLAG_NONE DEF_BIT_NONE #define NET_TCP_FLAG_USED DEF_BIT_00 /* TCP conn cur used; i.e. NOT in free TCP conn pool. */ /* ------------------ TCP TX FLAGS ------------------- */ /* TCP tx flags copied from TCP hdr flags. */ #define NET_TCP_FLAG_TX_FIN NET_TCP_HDR_FLAG_FIN #define NET_TCP_FLAG_TX_CLOSE NET_TCP_FLAG_TX_FIN #define NET_TCP_FLAG_TX_SYNC NET_TCP_HDR_FLAG_SYNC #define NET_TCP_FLAG_TX_RESET NET_TCP_HDR_FLAG_RESET #define NET_TCP_FLAG_TX_PUSH NET_TCP_HDR_FLAG_PUSH #define NET_TCP_FLAG_TX_ACK NET_TCP_HDR_FLAG_ACK #define NET_TCP_FLAG_TX_URGENT NET_TCP_HDR_FLAG_URGENT #define NET_TCP_FLAG_TX_BLOCK DEF_BIT_07 /* ------------------ TCP RX FLAGS ------------------- */ #define NET_TCP_FLAG_RX_DATA_PEEK DEF_BIT_08 #define NET_TCP_FLAG_RX_BLOCK DEF_BIT_15 /*$PAGE*/ /* ********************************************************************************************************* * TCP TYPE DEFINES * * Note(s) : (1) NET_TCP_TYPE_&&& #define values specifically chosen as ASCII representations of the TCP * types. Memory displays of TCP types will display with their chosen ASCII names. ********************************************************************************************************* */ /* ------------------ NET TCP TYPES ------------------- */ #if (CPU_CFG_ENDIAN_TYPE == CPU_ENDIAN_TYPE_BIG) #define NET_TCP_TYPE_NONE 0x4E4F4E45u /* "NONE" in ASCII. */ #define NET_TCP_TYPE_CONN 0x54435020u /* "TCP " in ASCII. */ #else #if (CPU_CFG_DATA_SIZE == CPU_WORD_SIZE_32) #define NET_TCP_TYPE_NONE 0x454E4F4Eu /* "NONE" in ASCII. */ #define NET_TCP_TYPE_CONN 0x20504354u /* "TCP " in ASCII. */ #elif (CPU_CFG_DATA_SIZE == CPU_WORD_SIZE_16) #define NET_TCP_TYPE_NONE 0x4F4E454Eu /* "NONE" in ASCII. */ #define NET_TCP_TYPE_CONN 0x43542050u /* "TCP " in ASCII. */ #else /* Dflt CPU_WORD_SIZE_08. */ #define NET_TCP_TYPE_NONE 0x4E4F4E45u /* "NONE" in ASCII. */ #define NET_TCP_TYPE_CONN 0x54435020u /* "TCP " in ASCII. */ #endif #endif /* ********************************************************************************************************* * TCP SEQUENCE NUMBER DEFINES * * Note(s) : (1) TCP initial transmit sequence number is incremented by a fixed value, preferably a large * prime value or a large value with multiple unique factors. * * (a) One reasonable TCP initial transmit sequence number increment value example : * * 65527 = 37 * 23 * 11 * 7 * * * #### NET_TCP_TX_SEQ_NBR_CTR_INC could be developer-configured in 'net_cfg.h'. * * See also 'NET_TCP_TX_GET_SEQ_NBR() Notes #1b2 & #1c2'. ********************************************************************************************************* */ #define NET_TCP_SEQ_NBR_NONE 0u #define NET_TCP_ACK_NBR_NONE NET_TCP_SEQ_NBR_NONE #define NET_TCP_TX_SEQ_NBR_CTR_INC 65527u /* See Note #1. */ #define NET_TCP_ACK_NBR_DUP_WIN_SIZE_SCALE 4 /*$PAGE*/ /* ********************************************************************************************************* * TCP DATA/TOTAL LENGTH DEFINES * * Note(s) : (1) (a) TCP total length #define's (NET_TCP_TOT_LEN) relate to the total size of a complete * TCP packet, including the packet's TCP header. Note that a complete TCP packet MAY * be fragmented in multiple Internet Protocol packets. * * (b) TCP data length #define's (NET_TCP_DATA_LEN) relate to the data size of a complete * TCP packet, equal to the total TCP packet length minus its TCP header size. Note * that a complete TCP packet MAY be fragmented in multiple Internet Protocol packets. ********************************************************************************************************* */ /* See Notes #1a & #1b. */ #define NET_TCP_DATA_LEN_MIN 0u #define NET_TCP_TOT_LEN_MIN (NET_TCP_HDR_SIZE_MIN + NET_TCP_DATA_LEN_MIN) #define NET_TCP_TOT_LEN_MAX (NET_IP_TOT_LEN_MAX - NET_IP_HDR_SIZE_MIN ) #define NET_TCP_DATA_LEN_MAX (NET_TCP_TOT_LEN_MAX - NET_TCP_HDR_SIZE_MIN) /*$PAGE*/ /* ********************************************************************************************************* * TCP SEGMENT SIZE DEFINES * * Note(s) : (1) (a) RFC # 879, Section 3 states that the TCP Maximum Segment Size "counts only * data octets in the segment, ... not the TCP header or the IP header". * * (b) RFC #1122, Section 4.2.2.6 requires that : * * (1) "The MSS value to be sent in an MSS option must be less than or equal to * * (A) MMS_R - 20 * * where MMS_R is the maximum size for a transport-layer message that can * be received." * * (2) "If an MSS option is not received at connection setup, TCP MUST assume a * default send MSS of 536 (576 - 40)." * * See also 'net_ip.h IP DATA/TOTAL LENGTH DEFINES Note #1'. ********************************************************************************************************* */ /* See Note #1. */ #define NET_TCP_MAX_SEG_SIZE_DFLT (NET_IP_MAX_DATAGRAM_SIZE_DFLT - NET_IP_HDR_SIZE_MIN - NET_TCP_HDR_SIZE_MIN) #define NET_TCP_MAX_SEG_SIZE_DFLT_RX NET_TCP_DATA_LEN_MAX /* See Note #1b1. */ #define NET_TCP_MAX_SEG_SIZE_DFLT_TX NET_TCP_MAX_SEG_SIZE_DFLT /* See Note #1b2. */ #define NET_TCP_MAX_SEG_SIZE_NONE 0u #define NET_TCP_MAX_SEG_SIZE_MIN NET_TCP_MAX_SEG_SIZE_DFLT #define NET_TCP_MAX_SEG_SIZE_MAX NET_TCP_DATA_LEN_MAX #define NET_TCP_SEG_LEN_MIN NET_TCP_DATA_LEN_MIN #define NET_TCP_SEG_LEN_MAX NET_TCP_DATA_LEN_MAX #define NET_TCP_SEG_LEN_SYNC 1u #define NET_TCP_SEG_LEN_FIN 1u #define NET_TCP_SEG_LEN_CLOSE NET_TCP_SEG_LEN_FIN #define NET_TCP_SEG_LEN_ACK 0u #define NET_TCP_SEG_LEN_RESET 0u #define NET_TCP_SEG_LEN_PROBE 0u #define NET_TCP_DATA_LEN_TX_SYNC 0u #define NET_TCP_DATA_LEN_TX_FIN 0u #define NET_TCP_DATA_LEN_TX_CLOSE NET_TCP_DATA_LEN_TX_FIN #define NET_TCP_DATA_LEN_TX_ACK 0u #define NET_TCP_DATA_LEN_TX_PROBE_NO_DATA 0u #define NET_TCP_DATA_LEN_TX_PROBE_DATA 1u #define NET_TCP_DATA_LEN_TX_RESET 0u #define NET_TCP_TX_PROBE_DATA 0x00u /* ********************************************************************************************************* * TCP WINDOW SIZE DEFINES * * Note(s) : (1) Although NO RFC specifies the absolute minimum TCP connection window size value allowed, * RFC #793, Section 3.7 'Data Communication : Managing the Window' states that for "the * window ... there is an assumption that this is related to the currently available data * buffer space available for this connection". ********************************************************************************************************* */ #define NET_TCP_WIN_SIZE_NONE 0u #define NET_TCP_WIN_SIZE_MIN NET_TCP_MAX_SEG_SIZE_MIN #define NET_TCP_WIN_SIZE_MAX DEF_INT_16U_MAX_VAL /*$PAGE*/ /* ********************************************************************************************************* * TCP HEADER OPTIONS DEFINES * * Note(s) : (1) See the following RFC's for TCP options summary : * * (a) RFC # 793, Section 3.1 'Header Format : Options' * (b) RFC #1122; Sections 4.2.2.5, 4.2.2.6 * * (2) TCP option types are encoded in the first octet for each TCP option as follows : * * -------- * | TYPE | * -------- * * The TCP option type value determines the TCP option format : * * (a) The following TCP option types are single-octet TCP options -- i.e. the option type * octet is the ONLY octet for the TCP option. * * (1) TYPE = 0 End of Options List * (2) TYPE = 1 No Operation * * * (b) All other TCP options MUST be multi-octet TCP options (see RFC #1122, Section 4.2.2.5) : * * ------------------------------ * | TYPE | LEN | TCP OPT | * ------------------------------ * * where * TYPE Indicates the specific TCP option type * LEN Indicates the total TCP option length, in octets, including * the option type & the option length octets * TCP OPT Additional TCP option octets, if any, that contain the remaining * TCP option information * * The following TCP option types are multi-octet TCP options where the option's second * octet specify the total TCP option length, in octets, including the option type & the * option length octets : * * (1) TYPE = 2 Maximum Segment Size See RFC # 793, Section 3.1 'Header Format : * Options : Maximum Segment Size'; * RFC #1122, Section 4.2.2.6; * RFC # 879, Section 3 * * (2) TYPE = 3 Window Scale See 'net_tcp.h Note #1c1' * (3) TYPE = 4 SACK Allowed See 'net_tcp.h Note #1c2' * (4) TYPE = 5 SACK Option See 'net_tcp.h Note #1c2' * (5) TYPE = 6 Echo Request See 'net_tcp.h Note #1c3' * (6) TYPE = 7 Echo Reply See 'net_tcp.h Note #1c3' * (7) TYPE = 8 Timestamp See 'net_tcp.h Note #1c4' * * (3) TCP header allows for a maximum option list length of 40 octets : * * NET_TCP_HDR_OPT_SIZE_MAX = NET_TCP_HDR_SIZE_MAX - NET_TCP_HDR_SIZE_MIN * * = 60 - 20 * * = 40 * * (4) 'NET_TCP_OPT_SIZE' MUST be pre-defined PRIOR to all definitions that require TCP option * size data type. ********************************************************************************************************* */ /*$PAGE*/ #define NET_TCP_HDR_OPT_END_LIST 0u #define NET_TCP_HDR_OPT_NOP 1u #define NET_TCP_HDR_OPT_MAX_SEG_SIZE 2u #define NET_TCP_HDR_OPT_WIN_SCALE 3u #define NET_TCP_HDR_OPT_SACK_PERMIT 4u #define NET_TCP_HDR_OPT_SACK 5u #define NET_TCP_HDR_OPT_ECHO_REQ 6u #define NET_TCP_HDR_OPT_ECHO_REPLY 7u #define NET_TCP_HDR_OPT_TS 8u #define NET_TCP_HDR_OPT_PAD NET_TCP_HDR_OPT_END_LIST #define NET_TCP_HDR_OPT_LEN_END_LIST 1u #define NET_TCP_HDR_OPT_LEN_NOP 1u #define NET_TCP_HDR_OPT_LEN_MAX_SEG_SIZE 4u #define NET_TCP_HDR_OPT_LEN_WIN_SCALE 3u #define NET_TCP_HDR_OPT_LEN_SACK_PERMIT 2u #define NET_TCP_HDR_OPT_LEN_ECHO_REQ 6u #define NET_TCP_HDR_OPT_LEN_ECHO_REPLY 6u #define NET_TCP_HDR_OPT_LEN_TS 10u #define NET_TCP_HDR_OPT_LEN_SACK_MIN 6u #define NET_TCP_HDR_OPT_LEN_SACK_MAX 38u #define NET_TCP_HDR_OPT_LEN_MIN 1u #define NET_TCP_HDR_OPT_LEN_MIN_LEN 2u #define NET_TCP_HDR_OPT_LEN_MAX 38u typedef CPU_INT32U NET_TCP_OPT_SIZE; /* TCP opt size data type (see Note #4). */ #define NET_TCP_HDR_OPT_SIZE_WORD (sizeof(NET_TCP_OPT_SIZE)) #define NET_TCP_HDR_OPT_SIZE_MAX (NET_TCP_HDR_SIZE_MAX - NET_TCP_HDR_SIZE_MIN) #define NET_TCP_HDR_OPT_NBR_MIN 0u #define NET_TCP_HDR_OPT_NBR_MAX (NET_TCP_HDR_OPT_SIZE_MAX / NET_TCP_HDR_OPT_SIZE_WORD) #define NET_TCP_HDR_OPT_IX NET_TCP_HDR_SIZE_MIN /*$PAGE*/ /* ********************************************************************************************************* * TCP OPTION CONFIGURATION TYPE DEFINES * * Note(s) : (1) NET_TCP_OPT_CFG_TYPE_&&& #define values specifically chosen as ASCII representations of * the TCP option configuration types. Memory displays of TCP option configuration buffers * will display the TCP option configuration TYPEs with their chosen ASCII names. ********************************************************************************************************* */ /* ---------------- TCP OPT CFG TYPES ----------------- */ #if (CPU_CFG_ENDIAN_TYPE == CPU_ENDIAN_TYPE_BIG) #define NET_TCP_OPT_CFG_TYPE_NONE 0x4E4F4E45u /* "NONE" in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_MAX_SEG_SIZE 0x4D535320u /* "MSS " in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_WIN_SCALE 0x57494E20u /* "WIN " in ASCII (see 'net_tcp.h Note #1c1'). */ #define NET_TCP_OPT_CFG_TYPE_SACK_PERMIT 0x53434B50u /* "SCKP" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_SACK 0x5341434Bu /* "SACK" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REQ 0x45524551u /* "EREQ" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REPLY 0x4543484Fu /* "ECHO" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_TS 0x54532020u /* "TS " in ASCII (see 'net_tcp.h Note #1c4'). */ #else #if (CPU_CFG_DATA_SIZE == CPU_WORD_SIZE_32) #define NET_TCP_OPT_CFG_TYPE_NONE 0x454E4F4Eu /* "NONE" in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_MAX_SEG_SIZE 0x2053534Du /* "MSS " in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_WIN_SCALE 0x204E4957u /* "WIN " in ASCII (see 'net_tcp.h Note #1c1'). */ #define NET_TCP_OPT_CFG_TYPE_SACK_PERMIT 0x504B4353u /* "SCKP" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_SACK 0x4B434153u /* "SACK" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REQ 0x51455245u /* "EREQ" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REPLY 0x4F484345u /* "ECHO" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_TS 0x20205354u /* "TS " in ASCII (see 'net_tcp.h Note #1c4'). */ #elif (CPU_CFG_DATA_SIZE == CPU_WORD_SIZE_16) #define NET_TCP_OPT_CFG_TYPE_NONE 0x4F4E454Eu /* "NONE" in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_MAX_SEG_SIZE 0x534D2053u /* "MSS " in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_WIN_SCALE 0x4957204Eu /* "WIN " in ASCII (see 'net_tcp.h Note #1c1'). */ #define NET_TCP_OPT_CFG_TYPE_SACK_PERMIT 0x4353504Bu /* "SCKP" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_SACK 0x41534B43u /* "SACK" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REQ 0x52455145u /* "EREQ" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REPLY 0x43454F48u /* "ECHO" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_TS 0x53542020u /* "TS " in ASCII (see 'net_tcp.h Note #1c4'). */ #else /* Dflt CPU_WORD_SIZE_08. */ #define NET_TCP_OPT_CFG_TYPE_NONE 0x4E4F4E45u /* "NONE" in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_MAX_SEG_SIZE 0x4D535320u /* "MSS " in ASCII. */ #define NET_TCP_OPT_CFG_TYPE_WIN_SCALE 0x57494E20u /* "WIN " in ASCII (see 'net_tcp.h Note #1c1'). */ #define NET_TCP_OPT_CFG_TYPE_SACK_PERMIT 0x53434B50u /* "SCKP" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_SACK 0x5341434Bu /* "SACK" in ASCII (see 'net_tcp.h Note #1c2'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REQ 0x45524551u /* "EREQ" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_ECHO_REPLY 0x4543484Fu /* "ECHO" in ASCII (see 'net_tcp.h Note #1c3'). */ #define NET_TCP_OPT_CFG_TYPE_TS 0x54532020u /* "TS " in ASCII (see 'net_tcp.h Note #1c4'). */ #endif #endif /*$PAGE*/ /* ********************************************************************************************************* * TCP CONNECTION TIMEOUT DEFINES * * Note(s) : (1) (a) (1) RFC #1122, Section 4.2.2.13 'DISCUSSION' states that "the graceful close algorithm * of TCP requires that the connection state remain defined on (at least) one end of * the connection, for a timeout period of 2xMSL ... During this period, the (remote * socket, local socket) pair that defines the connection is busy and cannot be reused". * * (2) The following sections reiterate that the TIME-WAIT state timeout scalar is two * maximum segment lifetimes (2 MSL) : * * (A) RFC #793, Section 3.9 'Event Processing : SEGMENT ARRIVES : * Check Sequence Number : TIME-WAIT STATE' * (B) RFC #793, Section 3.9 'Event Processing : SEGMENT ARRIVES : * Check FIN Bit : TIME-WAIT STATE' * * (b) (1) RFC #793, Section 3.3 'Sequence Numbers : Knowing When to Keep Quiet' states that * "the Maximum Segment Lifetime (MSL) is ... to be 2 minutes. This is an engineering * choice, and may be changed if experience indicates it is desirable to do so". * * (2) Microsoft Corporation's Windows XP defaults MSL to 15 seconds. ********************************************************************************************************* */ /* Max seg timeout (see Note #1b) : */ #define NET_TCP_CONN_TIMEOUT_MAX_SEG_MIN_SEC ( 0u ) /* ... min = 0 seconds */ #define NET_TCP_CONN_TIMEOUT_MAX_SEG_MAX_SEC ( 2u * DEF_TIME_NBR_SEC_PER_MIN) /* ... max = 2 minutes */ #define NET_TCP_CONN_TIMEOUT_MAX_SEG_DFLT_SEC ( 15u ) /* ... dflt = 15 seconds */ #define NET_TCP_CONN_TIMEOUT_MAX_SEG_SCALAR 2u /* ... scalar (see Note #1a). */ #define NET_TCP_CONN_TIMEOUT_CONN_DFLT_SEC (120u * DEF_TIME_NBR_SEC_PER_MIN) /* Dflt conn timeout = 120 minutes */ #define NET_TCP_CONN_TIMEOUT_USER_DFLT_SEC ( 30u * DEF_TIME_NBR_SEC_PER_MIN) /* Dflt user timeout = 30 minutes */ /*$PAGE*/ /* ********************************************************************************************************* * TCP CONNECTION STATES * * Note(s) : (1) See the following RFC's for TCP state machine summary : * * (a) RFC # 793; Sections 3.2, 3.4, 3.5, 3.9 * (b) RFC #1122; Sections 4.2.2.8, 4.2.2.10, 4.2.2.11, 4.2.2.13, 4.2.2.18, 4.2.2.20 * * (2) (a) #### Additional closing-data-available state used for closing connections to allow the * application layer to receive any remaining data. * * See also 'net_tcp.c NetTCP_RxPktConnHandlerFinWait1() Note #2f5A2', * 'net_tcp.c NetTCP_RxPktConnHandlerFinWait2() Note #2f5B', * 'net_tcp.c NetTCP_RxPktConnHandlerClosing() Note #2d2B2a1B', * & 'net_tcp.c NetTCP_RxPktConnHandlerLastAck() Note #2d2A1b'. ********************************************************************************************************* */ #define NET_TCP_CONN_STATE_NONE 0u #define NET_TCP_CONN_STATE_FREE 1u #define NET_TCP_CONN_STATE_CLOSED 10u #define NET_TCP_CONN_STATE_LISTEN 20u #define NET_TCP_CONN_STATE_SYNC_RXD 30u #define NET_TCP_CONN_STATE_SYNC_RXD_PASSIVE 31u #define NET_TCP_CONN_STATE_SYNC_RXD_ACTIVE 32u #define NET_TCP_CONN_STATE_SYNC_TXD 35u #define NET_TCP_CONN_STATE_CONN 40u #define NET_TCP_CONN_STATE_FIN_WAIT_1 50u #define NET_TCP_CONN_STATE_FIN_WAIT_2 51u #define NET_TCP_CONN_STATE_CLOSING 52u #define NET_TCP_CONN_STATE_TIME_WAIT 53u #define NET_TCP_CONN_STATE_CLOSE_WAIT 55u #define NET_TCP_CONN_STATE_LAST_ACK 56u #define NET_TCP_CONN_STATE_CLOSING_DATA_AVAIL 59u /* See Note #2a. */ /* ********************************************************************************************************* * TCP CONNECTION QUEUE STATES ********************************************************************************************************* */ #define NET_TCP_RX_Q_STATE_NONE 0u #define NET_TCP_RX_Q_STATE_CLOSED 100u #define NET_TCP_RX_Q_STATE_CLOSING 101u #define NET_TCP_RX_Q_STATE_SYNC 110u #define NET_TCP_RX_Q_STATE_CONN 111u #define NET_TCP_TX_Q_STATE_NONE 0u #define NET_TCP_TX_Q_STATE_CLOSED 200u #define NET_TCP_TX_Q_STATE_CLOSING 201u #define NET_TCP_TX_Q_STATE_SYNC 210u #define NET_TCP_TX_Q_STATE_CONN 211u #define NET_TCP_TX_Q_STATE_SUSPEND 215u #define NET_TCP_TX_Q_STATE_CLOSED_SUSPEND 220u #define NET_TCP_TX_Q_STATE_CLOSING_SUSPEND 221u /*$PAGE*/ /* ********************************************************************************************************* * TCP CONNECTION CODE DEFINES **************
上传时间: 2015-11-22
上传用户:the same kong
Fire and Fury。 This article is about the 2018 book. For other uses, see Fire and Fury (disambiguation). The title refers to a quote by Trump about the conflict with North Korea. The book became a New York Times number one bestseller.Fire and Fury: Inside the Trump White House is a 2018 book by Michael Wolff which details the behavior of U.S. President Donald Trump and the staff of his 2016 presidential campaign and White House. The book highlights descriptions of Trump's behavior, chaotic interactions among senior White House staff, and derogatory comments about the Trump family by former White House Chief StrategistSteve Bannon. Trump is depicted as being held in low regard by his White House staff, leading Wolff to state that "100% of the people around him" believe Trump is unfit for office.[1] Reviewers generally accepted Wolff's portrait of a dysfunctional Trump administration, but were skeptical of many of the book's most controversial claims.
上传时间: 2018-02-26
上传用户:Yoobaobao
This article is about the 2018 book. For other uses, see Fire and Fury (disambiguation). The title refers to a quote by Trump abot the conflict with North Korea. The book became a New York Times number one bestseller.Fire and Fury: Inside the Trump White House is a 2018 book by Michael Wolff which details the behavior of U.S. President Donald Trump and the staff of his 2016 presidential campaign and White House. The book highlights descriptions of Trump's behavior, chaotic interactions among senior White House staff, and derogatory comments about the Trump family by former White House Chief StrategistSteve Bannon. Trump is depicted as being held in low regard by his White House staff, leading Wolff to state that "100% of the people around him" believe Trump is unfit for office.[1] Reviewers generally accepted Wolff's portrait of a dysfunctional Trump administration, but were skeptical of many of the book's most controversial claims.
上传时间: 2018-02-26
上传用户:Yoobaobao
This book is an entry-level text on the technology of telecommunications. It has been crafted with the newcomer in mind. The twenty-one chapters of text have been prepared for high-school graduates who understand algebra, logarithms, and the basic principles of electricity such as Ohm’s law. However, it is appreciated that many readers require support in these areas. Appendices A and B review the essentials of electricity and mathematics up through logarithms. This material was placed in the appendices so as not to distract from the main theme, the technology of telecommunication systems. Another topic that many in the industry find difficult is the use of decibels and derived units. Appendix C provides the reader a basic understanding of decibels and their applications. The only mathematics necessary is an understanding of the powers of ten
标签: Telecommunications Fundamentals 2nd of ed
上传时间: 2020-05-27
上传用户:shancjb
說明:1,测试交流电源(Test AC Power Supply):A.中国(China):AC 220V+/-2%50Hz+/-2%B.美国(United States of America):AC 120V+/-2%60Hz+/-2%。C.英国(Britain):AC 240V+/-2%50Hz+/-2%D.欧洲(Europe):AC 230V+/-2%50Hz+/-2%E.日本(Japan):AC 100V+/-2%60Hz+/-2%F.墨西哥(Mexico):AC 127V+/-2%60Hz+/-2%2,测试温度条件(Test Temperature Conditions):25℃+/-2℃。3,测试以右声道为准(Standard Test Use Right Channell)4,信号由AUX插座输入(Signal From AUX Jack Input)。5,测试以音量最大,音调和平衡在中央位置(电子音调在正常状态)。(Test Volume Setup Max,Equalizer And Balance Setup Center)。6,标准輸出(Standard Output):A.输入1 KHz频率信号(Input 1 KHz Frequency Signal)B.左右声道输入信号测试右声道(L&R Input Signal Test Use R Channel)C.额定输出功率満(Rating Output Power Full)10 W,标准输出定为1w.(Rating Output Power Full 10 w,Standard Output Setup 1 W)D.额定输出功率1W到10w,标准输出定为500 mW(Rating Output Power 1 W To 10 W,Standard Output Setup 500 mW)E.额定输出功率小于1w,标准输出定为50 mW(Rating Output Power Not Full 1 W,Standard Output Setup 50 mW)F.标准輸出电压以V-VPR为准(Standard Output Voltage Use V-V/PR)。G.V-V/PR中P为额定输出功率,R为喇叭标称阻抗。
标签: 音响功放
上传时间: 2022-06-18
上传用户:
eeworm.com VIP专区 单片机源码系列 29资源包含以下内容:1. 单片机开发使用工具.zip2. 低成本8位单片机控制的光电寻迹智能车.zip3. nios ii 入门手册中文版.zip4. 绝密单片机笔记.pdf5. 汉字转unicode带16进制.exe6. 基于单片机的智能小车程序.zip7. 8路串口继电器.zip8. Kinetis_K60开源底层驱动开发包(20120328).rar9. 34个单片机实例(包括框图和程序).doc10. 单片机功能简图.pdf11. 按键漫谈.pdf12. 暑期单片机训练题集.pdf13. 基于单片机的数字时钟.doc14. 电子工程师知识.doc15. DIY单片LCD投影机.doc16. 欧姆龙plc编程软件使用手册.pdf17. Keil_uVision4安装破解方法与汉化.doc18. 单片机C语言应用.pdf19. 单片机开发板原理图.pdf20. McuTools 工具集成 非常实用.zip21. Keil_uvision教程.doc22. STC单片机资料.pdf23. CAD技巧120个绝对实用.doc24. 51单片机控制的步进电机.doc25. 谭浩强C语言程序设计.pdf26. 三天入门Cortex-M4.pdf27. 数码管显示—ADC0832电压表PROTUES仿真.rar28. 避障小车.doc29. 算法设计与分析.zip30. 王爽《汇编语言》.pdf31. 算法大全.zip32. K60文档整合.rar33. AT89C52中文手册.pdf34. 更方便的定时器计算.exe35. AT89S52消防智能电动车设计.rar36. 摇摇棒资料.rar37. 单片机的开发软件STC-ISP-V4.83-NOT-SETUP-CHINESE.EXE38. keil与Proteus使用.pdf39. C8051F000_03_IcpdfCom.pdf40. C8051F005_IcpdfCom.pdf41. AT89S52单片机程序50例(00-50).rar42. STCMCU全系列头文件.zip43. 全套pads2007视频教程.rar44. 33个毕业设计——单片机类.rar45. 最全版ds18b20简体中文资料.rar46. 【仿真】PROTEUS中Max7221数码管动态显示.rar47. USART串口编程.pdf48. MCS-51单片机原理及实用技术.rar49. lcd1602字符手册.pdf50. McuTools工具集成.zip51. 单片机源程序精华包.rar52. 单片机高级语言C51应用程序设计.pdf53. STM32中文参考手册.pdf54. 16-16点阵字模生成软件 绿色版.rar55. 利用Protel99SE设计PCB基础教程.rar56. NUC122 Technical Reference Manual SC V1.06.pdf57. Keil_C51几种精确延时方法.doc58. MedWin v2.04单片机集成开发环境(中文版).rar59. ARM Cortex-M0原理与应用实践V1.5.pdf60. Proteus单片机仿真实例大全.rar61. 单片机wifi方案.pdf62. 边学边用单片机.rar63. 单片机常用模块电路大全.zip64. 伟福E2000仿真机软件下载.zip65. adc8009应用实例--基于51单片机的PWM直流电机调速proteus仿真.zip66. 《51单片机C语言实例fenxi》写的还可以.pdf67. MicroChip Pic电子发烧友_开发工具下载.zip68. 8X8点阵取模软件.zip69. STC89CXX_GUIDE-CHINESE.pdf70. 芯源的单片机教程.pdf71. CodeVisionAVR破解版.rar72. lcd1602显示.rar73. in4007和in4148区别.pdf74. MSP430单片机实时多任务操作系统c源代码.zip75. Keil C51 V6.23 中文汉化程序_keil c51软件下载.zip76. 单片机反编译器 V1.2下载.zip77. Keil Arm7 设计软件_V1.0测试版下载.zip78. PZISP自动下载软件.exe79. Lope 51 仿真软件 Ver 3.26 中文完整版_下载.rar80. NE555手册.pdf81. Keil C51 V6.21的安装程序_Keil C51下载.zip82. HC6800说明书.pdf83. 51的上位机程序.docx84. Keil C51 7.01 DEMO版_(有2k代码大小限制)下载.zip85. PIC单片机的C语言使用.doc86. keil7.06完全破解版_免费下载.rar87. PIC单片机原理图.pdf88. Keil C51 V7.0中文汉化程序_免费下载.zip89. KEIL7.0完全破解版、中文补丁_keil下载.zip90. KEIL中文完全破解版_免费下载.rar91. protues仿真keil程序 初学者的福音.zip92. 可移植到51单片机_T9拼音输入法.wps93. RTX51多任务操作系统中文使用指南.pdf94. 串口调试助手大全免费下载.rar95. 80C51单片机的结构.ppt96. 16.16LED点阵字库软件.rar97. 超声波测距离.pdf98. 怎样才能学好单片机.pdf99. 计算51单片机波特率程序_免费下载.zip100. 单片机初学习.pdf
上传时间: 2013-07-22
上传用户:eeworm
eeworm.com VIP专区 单片机源码系列 61资源包含以下内容:1. LLCR Pin Socket Testing with t.pdf2. 单片机开发中应掌握的几个基本技巧.rar3. PIC16F877 学习指南.pdf4. MPLAB 6.XX及PICC18安装使用简介.rar5. KS-0825用户接口电路模块.pdf6. TEC6213 AM/SW/FM收音机频率显示MCU接口电路.pdf7. 单片机音乐程序教程.rar8. 51单片机汇编语言教程.pdf9. 8SH702&703用户接口电路.pdf10. dsPIC30F产品手册.rar11. dsPIC30F数字信号控制器单片机和DSP领域的最佳选择.rar12. 基于模糊PID算法的电阻炉温度控制系统设计.pdf13. 基于TMS320F2812的数字频率计.pdf14. 单片机开发仿真环境+keil初学者教程.rar15. 数字频度计设计.pdf16. 单片机论文资料 (包含62篇论文).rar17. 综合运动机器人测控系统的设计与实施.ppt18. SMS模块TC351及其外围电路设计.pdf19. 基于单片机的智能玩具电动车设计.doc20. 从51初学入门到单片机电子工程师.pdf21. 采用纳瓦技术的8/14引脚闪存8位CMOS单片机 PIC12.pdf22. Keil uVision3Keil uVision3.rar23. 6引脚8位闪存单片机 PIC10F200/202/204/2.pdf24. 单片机测控系统综合实验指导书.doc25. MSP430与ARM7系列比较.pdf26. MPLAB C30用户指南(英文).pdf27. 单片机的电路仿真.pdf28. 嵌入式CAN转UART模块 CSM100系列产品手册.pdf29. Proteus中文入门基础教程.rar30. PICkit™ 2 Microcontrolle.pdf31. 微控制器末来发展分析.pdf32. 单片机系统的工作原理设计.pdf33. PICKIT™ 2 PROGRAMMER-TO-.pdf34. MCU市场最新技术与市场发展趋势.pdf35. 单片机实验教程大纲.pdf36. PICkit™ 2 单片机编程器用户指南.pdf37. 用单片机设计电子音乐门铃.rar38. 单片机课程设计指导教材.pdf39. 基于AT89C52单片机的步进电机控制系统设计.pdf40. 单片机小精灵工具下载.rar41. AVR 单片机和C语言的集成开发环境.pdf42. C8051F330低成本智能单相交流电压表方案(取代传统动圈.pdf43. Proteus 6.9 SP4.rar44. 8098 单片机和伺服电机PWM 调速控制.pdf45. 单片机设计资料集.rar46. MCS—51系列单片机结构及原理.pdf47. 常用三星单片机烧写电压设置参考表.pdf48. 单片机开发工具全集.rar49. 学习单片机总结宝典.pdf50. P87LPC767 OTP 单片机原理.pdf51. 单片机经典教程.rar52. 单片机原理和应用实验电子教材.pdf53. 看门狗电路的分析.pdf54. 单片机与可编程器件教程.pdf55. 单片机原理及综合设计.pdf56. 在串口/并口基础上实现51内核单片机的在线编程.doc57. 单片机系统组成原理(PPT篇).ppt58. 精通MCS-51单片机绝世秘笈.rar59. 单片机的结构原理解析.pdf60. AVR单片机技术原理.pdf61. ISP 型单片机实验板.pdf62. PIC 单片机的组成习题解答.pdf63. 各系列I/O型单片机使用手册.pdf64. A/D 型单片机使用说明书/手册.pdf65. HT49R30A-1八位单片机.pdf66. 单片机之PPT篇.pdf67. 51单片机C语言快速上手.pdf68. MCS-51单片机讲义资料(汇编).pdf69. MCS-51单片机的系统扩展技术.pdf70. STC89系列单片机选型指南.pdf71. MPLAB C18使用指南.pdf72. 最强万年历源码(支持24节气、支持所有单片机、ARM).rar73. 单片机大虾是怎么样炼成的.pdf74. 基于AT89S52的红外遥控电子密码锁设计.rar75. 基于AT89C51的红外遥控电子密码锁的设计.rar76. 单片机控制红外线防盗报警器的制作及应用.rar77. Stellaris(群星)单片机的片上FLASH编程(英).pdf78. 高速SOC单片机C8051F.pdf79. LM3S系列代码加密.rar80. 单片机/ISP综合设计实验.pdf81. 使用Stellaris(群星)单片机驱动直流无刷电机.rar82. 单片机原理及应用.pdf83. MCS-51单片机实验指导书.pdf84. 使用Stellaris(群星)单片机制作自动小车.rar85. Luminary的ADC过采样应用笔记.rar86. 单片机反汇编工具包.zip87. 单片机原理和接口技术简介.pdf88. Stellaris(群星)单片机加上32KB串行SRAM(英.pdf89. MCS-51单片机的硬件结构原理.pdf90. PIC16F877 单片机的键盘和LED 数码显示接口.pdf91. LM3S系列微控制器I2C应用文档.rar92. PWM语音播放器——基于Luminary单片机.rar93. C8051F单片机.pdf94. LM3S系列单片机IrDA应用笔记.rar95. LM3S系列单片机以太网升级方案解决.rar96. STC12C5410AD 系列单片机器件手册.pdf97. Stellaris(群星)单片机的时钟选择.pdf98. LM3S系列单片机串行(UART)升级方案解决.rar99. 单片机应用开发实验指导书.pdf100. LM3S系列单片机睡眠与深度睡眠应用笔记.pdf
标签: 电路分析基础
上传时间: 2013-04-15
上传用户:eeworm
VIP专区-嵌入式/单片机编程源码精选合集系列(93)资源包含以下内容:1. Samsung S3C2410的Datasheet和电路图, 传上来跟大家分享下!.2. 我自己用的protel99老虎元件库.3. 可编程序控制器(PLC)原理及应用.4. sumsung44b0板子测试主程序文件.5. C语言模拟I2C总线的程序适合微处理器没有I2C总线接口而需要外接I2C总线接口的外设.6. 一个C51的在线下载器的源程序是一个很规范的下载器的程序.7. T1XX系列驱动AU7寸TFT屏的源程序.8. 80C51上电复位和复位延时的时序分析.9. MP3的Protel电路原理图.10. 这是一个翻译的SD的资料.11. 该程序实现的锁相环.12. 介绍异步FIFO结构的.13. linux I2C driver for pxa cpu, ov9640 camera. Also include a doc about linux I2C driver.14. linux FM radio driver for Siliconlab SI4703 chip,not copy, my development..15. 电感式位移检测的传感系统————我的课衬设计题目.16. 义统资料。关于CMOS芯片的.17. 2085固件的一个工具.18. 如果需要研究炬力的mp3体系.19. 一个s1mp3的模拟器.20. 具体也是mp3的一个工具吧.21. 温度湿度一体化传感器的C51测试程序,容易移植到其他嵌入式处理器上.22. labview6.2的RS232串口通信波形显示器..23. 使用移位减法完成32位除法操作。适用于没有除法指令的嵌入式处理器。源码简单.24. 自己编写的51嵌入式操作系统.25. 普光开发板的说明书 可显示大分辨率的图象.26. 音乐发生器及同步显歌词本试验从硬件电路原理图.27. 文件中包含了多种常电子原件的大小规格.28. FPGA高级设计.29. CPLD ARM等JTAG下载线,ISP编程使用.30. 高速FPGA(NIOS II)系统设计和实现.31. 电路一款SD卡读卡器电路图,图中有详细的引脚标记.32. 算法导论.33. 基于恩智浦dsp芯片的fir滤波源码.34. 基于恩智浦dsp芯片的idct源码.35. 用于测试基于英蓓特s3c44b0的flash擦写.36. 该原代码是uc/os-ii的完整代码,该操作系统结构清晰明了,适合自学,可作为学习嵌入式操作系统的入门读物.37. CardBus代码驱动等有用资料.38. pcmcia代码驱动等有用资料.39. pcmcia代码驱动等有用资料.40. 嵌入式电子书籍(经典)嵌入式技术开发设计内幕.
上传时间: 2013-04-15
上传用户:eeworm