虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

single-<b>Chip</b>

  • net_tcp.h

    /* ********************************************************************************************************* *                                             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 **************

    标签: tcp uCOS-II

    上传时间: 2015-11-22

    上传用户:the same kong

  • 用三点法实现机器人三维位置测量的研究

    用三点法实现机器人三维位置测量的研究摘 要 :提 出 了一 种 微 小 爬 壁 机 器 人 三 维 位 置 测 量 的新 方 法 。笔 者 通 过 深 入 分 析 研 究各 种 位 置 测 控 方 法 与 系 统 ,提 出采 用单 目视 觉方 法 中的 聚 焦法 ,以 CCD作 为 传 感 器 ,用 三 点 法 实现 对 机 器 人 的 三 维 位 置 测 量 。 验 证性 实验 结果表 明 ,本研 究提 出的测 量原 理和 系统是 正 确 可行 的 。 关键词 :机 器人 ;位置 测量 ;CCD传 感 器 ;单 目视 觉 ;摄 像 机 标 定 中 图分 类 号 :TP242.6 文 献 标 识 码 :B Abstract:A new 3D position measurementmethod Ofa wall—climbing micro robothas been researched.Researc— hing on the various position measuring and controlling method,theauthorhasputforwardanewprojecttomeas— ure the 3D position of the robot,in which the focusing method with singlecamera and CCD sensorhasbeen used to getthe position information.The elementary experiment has verified the principle and the system. Key words:robot;position detection;CCD sensor;single camera vision;camera caiibration 位置测量技 术是智 能机 器人 的关键 技术 ,是各 种 机器人控 制系统 中极 为重 要 的环节 ,也 是 国内外研 究 的热点所 在。 按 照测试 系统 与被 测机 器 人 的关 系 ,可 以将位 置 测量技术 分为接触 式和非接触式 两大类 。接触 式测量 系统 由于在测 量过程 中或多或少地 对机器人施 加 了载 荷 ,因而仅适用于静 态 位置测 量 。而动 态 位 置测量 系 统 主要分 5类 :①激光跟踪 系统 ;@ CCD交 互测量 收 稿 日期 :2001—07—03 基 金项 目:国家 863高科技 研 究 资助 项 目(9804-06);教 育 部 高 等 学校 骨干教 师 资助 计 3t,j项 目 作者 简 介 :张 智海 (1973一 ),男 ,工 学硕 士 ,主 要 研 究 方 向 为 智 能 机 器人 测 控 技 术 。 系统 ;③ 超声波 测量 系统 ;④ PSD(positionsensitivede— vice)位 置 测 量 系统 ;⑤ 带 有 接 近觉 传 感 器 的 测量 系 统 。位置测量 还可 以从另一个分类 角度划分为主动式 测量和被动 式测 量 。主动式测 量主要可 以分为结 构光方法和激光 自动聚焦法两类 。被 动式测量 主要 可 以分为双 目视 觉 、三 目视觉 、单 目视觉 等方法 。 对 比以上各种方法 的 优缺 点 ,针对 笔者 研制 的微 小爬壁机器人 的空 间三 维位 置 测量 的要 求 ,测量 系统 必须满足尺 寸小 、分 辨率 高 、稳定 性 和可 靠性 好 、时 间 响应快等特 点 ,提 出了采用 单 目视觉方法 中的聚焦法 , 选用 CCD作 为传感器 ,用 三点法实现对机器人 的三维 位置测量 ,并用 Matlab和 V

    标签: 机器人

    上传时间: 2022-02-12

    上传用户:

  • sony CMOS传感器 IMX385LQR-C DataSheet

    DescriptionThe IMX385LQR-C is a diagonal 8.35 mm (Type 1/2) CMOS active pixel type solid-state image sensor with a squarepixel array and 2.13 M effective pixels. This chip operates with analog 3.3 V, digital 1.2 V, and interface 1.8 V triplepower supply, and has low power consumption. High sensitivity, low dark current and no smear are achieved throughthe adoption of R, G and B primary color mosaic filters. This chip features an electronic shutter with variablecharge-integration time.(Applications: Surveillance cameras)

    标签: CMOS传感器 IMX385LQR-C

    上传时间: 2022-06-18

    上传用户:

  • sony CMOS传感器 IMX178LQJ-C dataSheet

    sony CMOS传感器datasheet,IMX178LQJ-C_Data_SheetDescriptionThe IMX178LQJ-C is a diagonal 8.92 mm (Type 1/1.8) CMOS active pixel type image sensor with a square pixelarray and 6.44 M effective pixels. This chip operates with analog 2.9 V, digital 1.2 V and interface 1.8 V triple powersupply, and has low power consumption.High sensitivity, low dark current and no smear are achieved through the adoption of R, G and B primary colormosaic filters.This chip features an electronic shutter with variable charge-integration time.(Applications: Surveillance cameras, FA cameras, Industrial cameras)

    标签: CMOS传感器 IMX178LQJ-C

    上传时间: 2022-06-18

    上传用户:

  • VIP专区-嵌入式/单片机编程源码精选合集系列(13)

    VIP专区-嵌入式/单片机编程源码精选合集系列(13)资源包含以下内容:1. CPMinterrupt 860中断管理.2. 菲利普LPC900系列写Flash源码.3. 前段时间做了一个AT91M55800的芯片测试.4. tms320c5402 bootloader.5. tms320c54x realtime os.6. tms320 c5416 boot code.7. MGLS-240128TA液晶点阵显示驱动程序.8. 嵌入式WINDOWSCE的书.9. 嵌入式TCP/IP包.10. sl811hs的host源程序.11. 嵌入式产品中的osip的源代码..12. msp430的FLASH自编程子程序.13. IGNITE开发板说明书.14. 嵌入式实时系统中的优先级反转问题.15. 仅供参考.16. 仅供参考.17. LCD driver 程序.18. 一个能跨页面读写的I2C源码.19. 一个2051控制两个步进电机的源码.20. 1330液晶源码(可直接调用汉字).21. pcf8583 常用时钟芯片的使用.22. 1815 LCD drive IC 类驱动测试程序.23. 内存检测程序源代码.24. 嵌入式系统词汇表.25. demonstrate how to use the bulk endpoint pairing feature of the EZ-USB chip.26. A Simple isochronous transfer. Reads 8051 ports A,B and C, and continuously sends a five byte packet.27. 44b0x bootloader.28. 键盘只有一个键 b.29. tornado安装说明及KEY.30. 6711a板程序的傅立叶变换.31. 6711开发的源程序.32. 6711开发程序例子.33. 6711开发板源程序.34. 6711开发板源程序.35. 智能楼宇自动控制系统.36. YAFFS的升级版本YAFFS2.37. 嵌入开发笔记 用ps阅读器打开.38. 嵌入式系统的重要概念.39. 嵌入式系统的调试方法.40. 一个在mck2407板上控制无刷电机恒速运行的程序.

    标签: 精密 设计方法

    上传时间: 2013-07-21

    上传用户:eeworm

  • VIP专区-嵌入式/单片机编程源码精选合集系列(36)

    VIP专区-嵌入式/单片机编程源码精选合集系列(36)资源包含以下内容:1. C51 I2C 驱动程序 含头文件.2. arm芯 ucos 下的开发框架.3. c8051f***的程序源代码.4. 新华龙单片机的flash用法.5. 用C8051F300设计锂离子电池充电器的解决方案.6. c8051f系列单片机 用过采样和求均值提高ADC分辨率.7. C6000指令集 是对C6000指令集的文档.8. VxWorks 编程手册 VxWorks 编程手册.9. proteus 6.7及其破解(绝对好用).10. iic总线资料.11. 手机游戏礼包包 原理图采用OrCad软件或PowerPCB软件打开 好玩的很  快来试试吧.12. 红外测温计 红外线测温   自动化设计 原理图采用OrCad软件或PowerPCB软件打开 很完美.13. 9智能机器人礼包 智能机器人  单片机实现   功能齐全  运动流畅.14. 哈哈!终于找到了最新版本的UCGUI! 增加了不少的功能.15. Nios II是一个用户可配置的通用RISC嵌入式处理器,这个文档详细介绍这个处理器的用法.16. 这是一个c语言写的a/d转换程序。利用i2c总线实现对24c02的存和取.17. 学DSP时.18. 汉字液晶子程 液晶屏分为4行*12列汉字.19. 这是一个c语言描述的8位led显示的源代码.20. We demonstrate a method for encoding and decoding the [24,12,8] extended binary Golay code using a s.21. Training embedded apps to process speech may be as easy as finding the right 8-bit micro. Don t let.22. The CC1000 RF transceiver is very easy to interface with a microcontroller. The chip is configured.23. One of the most important issues affecting the implementation of microcontroller software deals wi.24. AVR单片机开发中.25. 作基于日立公司superh系列微处理器嵌入式操作系统bootloader源代码.26. touchsceen_test ├─ main.c C语言主源文件 ├─ AscII6x8.c Ascii字符6x8点阵显示格式数据 ├─ lcd.c LCD显示函数源文件 ├─.27. iic_test ├─ main.c C语言主源文件 ├─ iic.c IIC总线操作和24C040擦写函数源文件 └─ iic.h IIC总线操作和24C040写定义头文件.28. Nexperia系统声音实现的源码.29. 89C516RD+的两个AD转换程序,89C51是22.1184MHZ,有64KB Flash 256B(DataRAM)+1024B(Ext.RAM)的性价比很高的MCU.30. 网上收集的VC多线程开发、嵌入式开发文档.31. ucos-2在lpc2100上的移制例子。.32. mcf5307实验源代码.33. CPLD对DUSH的读写控制,LINUX下运行.解压即可..34. HART协议由Rosemount公司开发且已向每个使用者开放HART协议采用标准的Bell 202频移键控信号以1200波特通信以低电平加载于4mA~20mA模拟信号上.35. 中文MODBUS协议(完整版)涵盖协议基本内容。不用我多说了吧!自己看好了。.36. μC_OS-II在Nios上的移植(共同学习ucosII).37. SST28F040读写源程序,C语言编写,方便移植.38. 基于ARM 的PDA拼音输入法源程序,c语言编写,方便移植.39. Cypress公司的USB芯片开发资料.40. at91 sam 系列arm7单片机程序下工具.

    标签: 自动变速器

    上传时间: 2013-06-18

    上传用户:eeworm

  • VIP专区-嵌入式/单片机编程源码精选合集系列(71)

    VIP专区-嵌入式/单片机编程源码精选合集系列(71)资源包含以下内容:1. LPC2200的实验原代码,ADS 1.2集成开发环境练习.2. LPC2200的汇编指令实验原代码工程,周立功的2200实验板.3. 这一一个讲I2C的程序。是FPGA硬件程序。非常好的哦。.4. M3355的源代码.5. SAMSUNG 5009的源代码.6. ZORAN 962/966 SOURCE CODE,DVD chip.7. MachDevice Project: Blank Plugin.8. SDRAM Controller For Altera SOPC Builder and NIOS on DE2 kit board.9. SRAM Controller For Altera SOPC Builder and NIOS on DE2 kit board.10. RS232 Controller For Altera SOPC Builder and NIOS on DE2 kit board.11. DE2_PIO Controller For Altera SOPC Builder and NIOS on DE2 kit board.12. 在QuartusII中使用AHDL语言编写一个RS232串行数据通信接口.13. 源码PonyProg2000-2.07a.tar.gz.14. 周立功LPC2200实验板第三章UCOSii的前两个实验.15. 周立功LPC2200实验板第三章UCOSii的第三,第四个实验.16. zigbee技术中协调器应用协议.17. ARM编程 控制目标板LED灯程序 s3c2410.18. 嵌入式系统下的键盘驱动程序。可识别三种类型的键盘动作:按下.19. /// ////HVDA高差压差动输入.20. 利用带有I2C总线接口的日历时钟芯片DS1337.21. 6位共阴数码管.22. 8051模拟I2C.23. 在sopc 当中创建硬件电路.24. 一个老外写的用CPLD实现DDS的软件.25. 触摸屏实例.26. niosII的一个例子!NIOSII是ALTERA出的一个软核处理器.27. 台湾的UBec公司的zigbee RF芯片uz2400的数据文档.28. 信道程序.29. 数字示波器上的测频电路原理图.30. 最简单的C51 流水灯.31. 32位arm9微处理器S3C2440的i2c测试源代码.32. 32位arm9微处理器S3C2440的led测试源代码.33. 32位arm9微处理器S3C2440的led数码管测试源代码.34. 32位arm9微处理器S3C2440的rtc测试源代码.35. 32位arm9微处理器S3C2440的uart测试源代码.36. 加减时间计数器设计.37. 几个精确C语言延时程序.1:500ms 2:200ms. 3:10ms.4:1s..38. CPLD-EPM7128SLC84最小系统及下载线.39. EDA高手入门必看.40. 智能桑拿浴显示器程序.

    标签: 连接 螺纹 标准手册

    上传时间: 2013-05-22

    上传用户:eeworm

  • VIP专区-嵌入式/单片机编程源码精选合集系列(80)

    VIP专区-嵌入式/单片机编程源码精选合集系列(80)资源包含以下内容:1. 9315原理图,剩下的见后续部分fds fdsf.2. 0809的一个比较详细的C程序.3. 18b20的c程序.4. 18b20的例外一个c程序.5. ZIGBEE开发板JN-AP-1002灯闪烁转换的例程.6. LWIP1.1.1在UCOS-II2.61上的移植.7. wince ril程序.8. Maria2 CarTV 20060707 Tony.9. PS2 游戏接口应用程序。IR 跳舞毯程序.10. PS2红外跳舞毯发射程序.11. 用三星的MCU写的CID电话机源程序.12. 合泰MCU写的电话机源程序.13. FSK软解码.14. 防盗报警器NTK源代码.15. EZUSB 同步流传输主机源代码!针对fx2芯片.16. 基于S3C44B0X的开发板原理图.17. PCI驱动开发事例文档说明.18. dsp f2812 源程序.19. dsp f2812 运行环境ccs2000的源程序.20. dsp f2812 运行环境ccs2000的源程序.21. dsp f2812 运行环境ccs2000的源程序.22. dsp f2812 运行环境ccs2000的源程序.23. dsp f2812 运行环境ccs2000的源程序.24. 一般都可以用msp430x14x串口通信的程序,这次主要在msp430F149中调过了.25. 车载显示器.26. LCM 12864厂家提供 C51驱动源程序.27. VHDL接口电路实用源程序.28. 用WINCE进行嵌入式开发的源代码开发板S3C2410.29. 解压或者复制到软件相应的目录即可使用此代码.30. 在linux下进行ARM开发所使用的源代码.31. 此为嵌入式linux开发驱动程序调试源代码.32. ARMLPC2129ucosii283(uCOSII2.83已经移植到arm7,iar环境).33. 自动拨号,用于ip自动拨号,防盗等.用c语言写成..34. zigbee Interface an Atmel AVR MCU with Freescales MC1319x ZigBee chip.35. cpress usb 芯片Vender 处理固件。 The purpose of this software is to demonstrate how to implement vendor s.36. 用C51做超声波,嵌入式开发模式,对开发者有用!.37. 详细提供了太阳能抓虫灯的原理图和布线图和材料表,自己开发没有抄袭.38. 详细提供了5000kw正弦波逆变器的原理图sch和pcb图纸.39. 本程序使用定时器1.40. CycloneII_NiosII的实验板资料.

    标签:

    上传时间: 2013-04-15

    上传用户:eeworm

  • VIP专区-嵌入式/单片机编程源码精选合集系列(86)

    VIP专区-嵌入式/单片机编程源码精选合集系列(86)资源包含以下内容:1. 4*4键盘扫描程序,程序简单明了,注释清晰易懂 !.2. 1、程序目的:AT91SAM7A3的CAN功能验证与使用指导。 2、功能说明:该程序包括三个常用CAN功能的测试 1)、测试1:将CAN0 Mailbox 0中的数据传到CAN1 Mailbox.3. ISD25120语音电路程序.4. 包含2个文件包 1.基于LPC213X的SD卡SPI口读写模块 2. uCOS-II在LPC2000上的移植代码.5. cc2420-A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigB.6. MSP430FG4619对LCD进行显示的完整工程源文件包,对MSP430和LCD显示具有参考价值.7. Matlab_simulink在FPGA设计中的应用.8. vhd语言.9. NiosII的范例.10. apache 安装教程 apache 安装教程.11. 凌阳7300 原理图 凌阳7300 原理图.12. C51弹片机简单计算器.13. 循环日志读写,用于嵌入式系统记载日志文件.14. RC500 source code!.15. C++编写的日历程序.16. 日历加判断第几周,请输入一个日期.17. 请输入一个日期.18. epson mcu 启动代码与动画实现.19. 2262 lcm abcdefghijkl.20. 在EASYARM实验平台上的数字/模拟转换测试代码.21. EASYARM2200上图形液晶显示代码.22. 基于ARM处理器的SMG240128A驱动程序.23. NiosII下UCOS和移植Linux教程,很难找到的资料.24. NIosII软处理器快速入门,ALTERA FPGA的NIOSII入门指导.25. SPI 4线接口spec,对硬件和驱动有兴趣的朋友可以下载.26. 在VS2005下写的把SQLCE上的数据库数据导出为XML的应用程序.27. 这是一个关于用C语言编程时要在液晶显示器上显示汉字时需要用到的汉字字库。.28. 一个关于交通灯控制实验的原理图和程序以及详细说明.29. 此源代码是基于UCOSII 以S3c44b0xARM7为主控芯片的系统。可以显示世界各时区的时钟.30. 四轴控制电机驱动的源程序,在编译环境中已通过.31. 一个基于ZigBee技术的无线传感器网络平台.32. 5按键_SD卡MP3程序.33. ADS下开发LED的一个简单例子.34. 一种基于CPLD和PC I总线的视频采集卡的设计方案.35. arm7最小系统的编程原码,具有与上位机通讯协议,能同时控制10个开关量与三个模拟量及三个脉冲量..36. 320*240液晶屏程序.37. ARM7 S3C44B0X开发板官方原理图.38. ARM9 S3C2410外接用TFT液晶显示模块原理图.39. VGA的IP核.40. ISP1362的IP核.

    标签: 机械 技术应用 合一 机械设计

    上传时间: 2013-06-08

    上传用户:eeworm

  • VIP专区-嵌入式/单片机编程源码精选合集系列(91)

    VIP专区-嵌入式/单片机编程源码精选合集系列(91)资源包含以下内容:1. 非常 好用的模拟选通开关.2. 移植到ARM s3c2410平台的g722音频编解码库和测试程序。.3. ACM-12864汉字液晶显示驱动程序.4. A MPEG4 encoder, suit for ARM decode IP camera solution.5. Chipcon RF chip, CC1020 参考设计..6. TFT屏LTV350QV-F04的程序.7. RD800读卡器开发包.8. 0781@52RD_Qt嵌入式图形开发(入门篇.9. 新建文件夹!!!!!!!数电大实验!!!!!!!!!!2001介绍.10. 饮水机测温度原代码 用汇编语言写超过温度可以报警.11. 用C语言写的键盘扫描可以实现加减盛除的功能的计算器上面有电路图.12. 用C语言写的电子时钟可以准确的读出时间和进行时间小时分钟秒的设置.13. 这是要S3C2440的详细资料.14. S3C2410  BSP 开发板S3C2410 的板极支持包.15. 嵌入式软件软件方面的一本书。英文版.16. 等概率二进制码,循环码,跳频码,PPM-TH调制器,脉冲形成器,PPM-TH信号发送器。.17. Tiny printf function for embedded programming.18. 控制东西南北交通灯,非常有用!可以实现!.19. 嵌入式系统 —基于32位微处理器与实时操作系统 2006年春季 北京航空航天大学计算机学院.20. 基于SystemView 的AM调幅系统调制解调.21. 基于CPLD的交通灯系统设计.22. 很有用的哦!这是一个有关于发射电路的全部电路!.23. 基于T6963C的LCD液晶显示的实现.doc发表在《自动化技术与应用》的软件设计文章.24. 使用硬件I2C对E2PROM进行操作.25. 网上下的848主板的电路图 希望对大家有用.26. 详细解释了vsftpd的设置等方面的内容.27. 居与ARM9的最小文件系统.28. 将模拟温度传感器与数字转换接口电路集成在一起.29. 240128a液晶 详细技术手册(中文).30. hgo12864a液晶 详细技术手册 中文.31. 关于嵌入式C语言的一些精华资料.32. emc的实战实例,注释很详细的.一定对大家有帮助. 1 of 5.33. emc的实战例子 2 of 5 注释很详细,相信对大家一定有很大帮助..34. emc的实战例子 3 of 5 注释很详细,相信对大家一定有很大帮助..35. emc的实战例子 4 of 5 注释很详细,相信对大家一定有很大帮助..36. emc的实战例子 5 of 5 注释很详细,相信对大家一定有很大帮助..37. 这里有一个"EDA技术基础_第1章",谢谢大家支持!.38. 这是一篇课件_EDA技术基础_第2章 希望大家支持!.39. 这里接着是"EDA技术基础_第3章",谢谢大家支持!.40. 这里接下来是"EDA技术基础_第4章" 谢谢大家!.

    标签: 机械 工程设计

    上传时间: 2013-07-05

    上传用户:eeworm