From b24866225a6301d3a663f874725e83c012dc25d3 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Wed, 26 Dec 2012 17:36:00 +0100 Subject: digital/beacon: add bitcloud stack into common directory digital/zigbit --- .../bitcloud/stack/Components/HAL/include/uid.h | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 digital/zigbit/bitcloud/stack/Components/HAL/include/uid.h (limited to 'digital/zigbit/bitcloud/stack/Components/HAL/include/uid.h') diff --git a/digital/zigbit/bitcloud/stack/Components/HAL/include/uid.h b/digital/zigbit/bitcloud/stack/Components/HAL/include/uid.h new file mode 100644 index 00000000..1adbaeb6 --- /dev/null +++ b/digital/zigbit/bitcloud/stack/Components/HAL/include/uid.h @@ -0,0 +1,48 @@ +/**************************************************************************//** + \file uid.h + + \brief The header file describes the UID interface. + + \author + Atmel Corporation: http://www.atmel.com \n + Support email: avr@atmel.com + + Copyright (c) 2008-2011, Atmel Corporation. All rights reserved. + Licensed under Atmel's Limited License Agreement (BitCloudTM). + + \internal + History: + 7/12/07 A. Khromykh - Created + ******************************************************************************/ +/****************************************************************************** + * WARNING: CHANGING THIS FILE MAY AFFECT CORE FUNCTIONALITY OF THE STACK. * + * EXPERT USERS SHOULD PROCEED WITH CAUTION. * + ******************************************************************************/ + +#ifndef _UID_H +#define _UID_H + +/****************************************************************************** + Includes section +******************************************************************************/ +// \cond +#include +// \endcond + +/****************************************************************************** + Prototypes section +******************************************************************************/ +/************************************************************//** +\brief UID discovery. +\param[in] + id - UID buffer pointer. \n + Attention! Memory size must equal (Number of devices) * 8 bytes +\return + 0 - if UID of DS2411 has been found successfully; \n + -1 - if some error occured during UID discovery. +****************************************************************/ +int HAL_ReadUid(uint64_t *id); + +#endif /* _UID_H */ + +// eof uid.h -- cgit v1.2.3