2013-11-28 12:57:41 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Milan Babel <babel@inf.fu-berlin.de>
|
2015-08-26 18:45:45 +02:00
|
|
|
* 2015 Freie Universität Berlin
|
2013-05-28 10:10:45 +02:00
|
|
|
*
|
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-v1_3b WSN430 v1.3b
|
|
|
|
* @ingroup boards
|
|
|
|
* @brief Support for the Senslab WSN430 v1.3b board
|
|
|
|
*
|
|
|
|
* <h2>Compontents</h2>
|
|
|
|
* \li MSP430
|
|
|
|
* \li CC1100
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
2014-10-21 16:52:30 +02:00
|
|
|
* @file
|
2013-11-28 12:57:41 +01:00
|
|
|
* @brief Basic definitions for the Senslab WSN430 v1.3b board
|
2013-05-28 10:10:45 +02:00
|
|
|
*
|
|
|
|
* @author Milan Babel <babel@inf.fu-berlin.de>
|
2015-08-26 18:45:45 +02:00
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
2013-05-28 10:10:45 +02:00
|
|
|
*/
|
2013-05-25 12:34:18 +02:00
|
|
|
|
2015-04-23 05:00:54 +02:00
|
|
|
#ifndef WSN_BOARD_H_
|
|
|
|
#define WSN_BOARD_H_
|
2013-11-28 12:57:41 +01:00
|
|
|
|
2016-03-11 14:12:07 +01:00
|
|
|
#include "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-15 17:11:47 +01:00
|
|
|
/**
|
|
|
|
* @brief Define the CPU model for the <msp430.h>
|
|
|
|
*/
|
2013-12-09 11:49:00 +01:00
|
|
|
#ifndef __MSP430F1611__
|
|
|
|
#define __MSP430F1611__
|
|
|
|
#endif
|
|
|
|
|
2016-03-15 17:11:47 +01:00
|
|
|
/**
|
|
|
|
* @brief CPU core configuration
|
|
|
|
*
|
|
|
|
* @todo Move this to the periph_conf.h
|
|
|
|
* @{
|
|
|
|
*/
|
2013-05-25 12:34:18 +02:00
|
|
|
#define MSP430_INITIAL_CPU_SPEED 800000uL
|
2013-12-20 13:12:51 +01:00
|
|
|
#define F_CPU MSP430_INITIAL_CPU_SPEED
|
|
|
|
#define F_RC_OSCILLATOR 32768
|
2013-05-25 12:34:18 +02:00
|
|
|
#define MSP430_HAS_DCOR 0
|
|
|
|
#define MSP430_HAS_EXTERNAL_CRYSTAL 1
|
2016-03-15 17:11:47 +01:00
|
|
|
/** @} */
|
2013-05-25 12:34:18 +02:00
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2013-05-25 12:34:18 +02:00
|
|
|
#include <msp430x16x.h>
|
|
|
|
|
|
|
|
/** @} */
|
2015-06-03 11:45:52 +02:00
|
|
|
#endif /* WSN_BOARD_H_ */
|