1 /** 2 * \file 3 * 4 * \brief SECURITY_XPLAINED_BOARD board header file. 5 * 6 * This file contains definitions and services related to the features of the 7 * SECURITY_XPLAINED Xplained board. 8 * 9 * To use the board, define EXT_BOARD=SECURITY_XPLAINED. 10 * 11 * 12 * Copyright (c) 2011-2015 Atmel Corporation. All rights reserved. 13 * 14 * \asf_license_start 15 * 16 * \page License 17 * 18 * Redistribution and use in source and binary forms, with or without 19 * modification, are permitted provided that the following conditions are met: 20 * 21 * 1. Redistributions of source code must retain the above copyright notice, 22 * this list of conditions and the following disclaimer. 23 * 24 * 2. Redistributions in binary form must reproduce the above copyright notice, 25 * this list of conditions and the following disclaimer in the documentation 26 * and/or other materials provided with the distribution. 27 * 28 * 3. The name of Atmel may not be used to endorse or promote products derived 29 * from this software without specific prior written permission. 30 * 31 * 4. This software may only be redistributed and used in connection with an 32 * Atmel microcontroller product. 33 * 34 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED 35 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 36 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 37 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR 38 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 42 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 43 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 44 * POSSIBILITY OF SUCH DAMAGE. 45 * 46 * \asf_license_stop 47 * 48 */ 49 /* 50 * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> 51 */ 52 #ifndef SECURITY_XPLAINED_H_ 53 # define SECURITY_XPLAINED_H_ 54 55 #include <compiler.h> 56 57 //! number of ATSHA204 I2C devices on Security Xplained extension board 58 #define SHA204_DEVICE_COUNT (4) 59 60 void security_board_init(void); 61 uint8_t sha204_i2c_address(uint8_t index); 62 63 #endif /* SECURITY_XPLAINED_H_ */ 64