6d5ec0e0f34bcd6d62865ccd02ec6a565d077c48
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h  1) /*
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h  2)  * EtherPix library
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h  3)  *
Stefan Schuermans update copyright year

Stefan Schuermans authored 7 years ago

include/intern/constants.h  4)  * Copyright 2010-2017 Stefan Schuermans <stefan schuermans info>
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h  5)  *
include/intern/constants.h  6)  * This program is free software: you can redistribute it and/or modify
include/intern/constants.h  7)  * it under the terms of the GNU General Public License as published by
include/intern/constants.h  8)  * the Free Software Foundation, version 3 of the License.
include/intern/constants.h  9)  *
include/intern/constants.h 10)  *
include/intern/constants.h 11)  * This program is distributed in the hope that it will be useful,
include/intern/constants.h 12)  * but WITHOUT ANY WARRANTY; without even the implied warranty of
include/intern/constants.h 13)  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
include/intern/constants.h 14)  * GNU General Public License for more details.
include/intern/constants.h 15)  *
include/intern/constants.h 16)  * You should have received a copy of the GNU Lesser General Public License
include/intern/constants.h 17)  * along with this program. If not, see <http://www.gnu.org/licenses/>.
include/intern/constants.h 18)  */
include/intern/constants.h 19) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 20) #ifndef ETP_CONSTANTS_H
include/intern/constants.h 21) #define ETP_CONSTANTS_H
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 22) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 23) /* EtherPix hardware constants */
include/intern/constants.h 24) #define ETP_DISTRI_MAX_CNT (4096) /**< maximum number of distributors
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 25)                                    *   that can be in the system,
include/intern/constants.h 26)                                    *   number of distributor addresses
include/intern/constants.h 27)                                    *   available */
Stefan Schuermans support multiple addresses...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 28) #define ETP_DISTRI_MAX_ADDRS (8)  /**< maximum number of network address(es)
Stefan Schuermans comment formatting

Stefan Schuermans authored 7 years ago

include/intern/constants.h 29)                                    *   for a distributor */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 30) #define ETP_OUTPUT_MAX_CNT (128)  /**< maximum number of outputs per
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 31)                                    *   distributor */
Stefan Schuermans support more pixels per output

Stefan Schuermans authored 7 years ago

include/intern/constants.h 32) #define ETP_PIXEL_MAX_CNT  (1024) /**< maximum number of pixels that can
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 33)                                    *   be connected to an output of a
include/intern/constants.h 34)                                    *   distributor */
include/intern/constants.h 35) 
include/intern/constants.h 36) /* MCUF constants */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 37) #define ETP_MCUF_HDR ("\x23\x54\x26\x66" \
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 38)                       "\x00\x00\x00\x00" \
include/intern/constants.h 39)                       "\x00\x03\x00\xFF")     /**< data of MCUF header */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 40) #define ETP_MCUF_HDR_LEN              (12)    /**< length of MCUF header */
Stefan Schuermans support more pixels per output

Stefan Schuermans authored 7 years ago

include/intern/constants.h 41) #define ETP_MCUF_HDR_OFS_OUTPUTS_U16  (4)     /**< offset of output count
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 42)                                                *   in MCUF data */
Stefan Schuermans support more pixels per output

Stefan Schuermans authored 7 years ago

include/intern/constants.h 43) #define ETP_MCUF_HDR_OFS_PIXELS_U16   (6)     /**< offset of pixel count
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 44)                                                *   in MCUF data */
Stefan Schuermans add support for monochrome...

Stefan Schuermans authored 6 years ago

src/constants.h            45) #define ETP_MCUF_HDR_OFS_CHANNELS_U16 (8)     /**< offset of channel count
src/constants.h            46)                                                *   in MCUF data */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 47) #define ETP_MCUF_MAX_FRAME_INTERVAL_MS (1000) /**< maximum interval between
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 48)                                                    two MCUF frames */
include/intern/constants.h 49) 
include/intern/constants.h 50) /* fixed settings constants */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 51) #define ETP_DEST_IP_BASE (0x0A465000) /**< base IP address of distributors,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 52)                                        *   i.e. IP address of distributor 0,
include/intern/constants.h 53)                                        *   10.70.80.0 */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 54) #define ETP_DEST_IP_STEP (0x00000001) /**< IP adress step of distributors,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 55)                                        *   i.e. increment of IP address for
include/intern/constants.h 56)                                        *   every distributor address,
include/intern/constants.h 57)                                        *   0.0.0.1 */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 58) #define ETP_DEST_PORT    (2323)       /**< UDP port the distributors
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 59)                                        *   listen on */
include/intern/constants.h 60) 
include/intern/constants.h 61) /* default settings constants */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 62) #define ETP_BIND_IP   (0x00000000) /**< default IP to bind to
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 63)                                     *   (first IP octect in LSB) */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 64) #define ETP_BIND_PORT (0)          /**< default port to bind to */
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/constants.h 65) 
include/intern/constants.h 66) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/constants.h 67) #endif /* #ifndef ETP_CONSTANTS_H */