2013-11-28 12:57:41 +01:00
|
|
|
/*
|
2014-11-09 15:06:25 +01:00
|
|
|
* Copyright (C) 2013 Milan Babel <babel@inf.fu-berlin.de>
|
2016-03-11 14:12:07 +01:00
|
|
|
* 2016 Freie Universität Berlin
|
2014-11-09 15:06:25 +01:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
2013-11-28 12:57:41 +01:00
|
|
|
*/
|
|
|
|
|
2013-05-28 10:10:45 +02:00
|
|
|
/**
|
2013-11-28 12:57:41 +01:00
|
|
|
* @defgroup boards_wsn430-common WSN430 common
|
|
|
|
* @ingroup boards
|
|
|
|
* @brief Common files for WSN430 based boards
|
|
|
|
* @{
|
|
|
|
*
|
2014-10-21 16:52:30 +02:00
|
|
|
* @file
|
2013-11-28 12:57:41 +01:00
|
|
|
* @brief Common definitions for WSN430 based boards
|
|
|
|
*
|
2016-03-11 14:12:07 +01:00
|
|
|
* @author Milan Babel <babel@inf.fu-berlin.de>
|
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
|
|
*
|
2013-11-28 12:57:41 +01:00
|
|
|
*/
|
2013-05-28 10:10:45 +02:00
|
|
|
|
2016-03-11 14:12:07 +01:00
|
|
|
#ifndef BOARD_COMMON_H_
|
|
|
|
#define BOARD_COMMON_H_
|
2013-10-28 23:01:45 +01:00
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-03-11 14:12:07 +01:00
|
|
|
/**
|
|
|
|
* @brief Address of the info memory
|
|
|
|
*/
|
2013-05-25 12:34:18 +02:00
|
|
|
#define INFOMEM (0x1000)
|
|
|
|
|
2016-03-11 14:12:07 +01:00
|
|
|
/**
|
|
|
|
* @brief Xtimer configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define XTIMER (0)
|
|
|
|
#define XTIMER_CHAN (0)
|
|
|
|
#define XTIMER_MASK (0xffff0000)
|
|
|
|
#define XTIMER_SHIFT_ON_COMPARE (4)
|
|
|
|
#define XTIMER_BACKOFF (40)
|
|
|
|
/** @} */
|
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-03-11 14:12:07 +01:00
|
|
|
#endif /* BOARD_COMMON_H_ */
|
2013-11-28 12:57:41 +01:00
|
|
|
/** @} */
|