2013-11-28 12:57:41 +01:00
|
|
|
/*
|
2014-08-27 18:47:31 +02:00
|
|
|
* Copyright 2009, Freie Universitaet Berlin (FUB). All rights reserved.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2010-10-11 17:05:40 +02:00
|
|
|
|
|
|
|
/**
|
2018-07-26 11:59:14 +02:00
|
|
|
* @ingroup boards_msb430
|
2010-10-11 17:05:40 +02:00
|
|
|
*
|
2016-03-06 11:19:58 +01:00
|
|
|
* @details
|
2016-03-07 19:08:02 +01:00
|
|
|
* See
|
2020-03-04 13:28:21 +01:00
|
|
|
* https://www.mi.fu-berlin.de/inf/groups/ag-tech/projects/ScatterWeb/modules/mod_MSB-430.html
|
2016-03-07 19:08:02 +01:00
|
|
|
* for circuit diagram etc.
|
2016-03-06 11:19:58 +01:00
|
|
|
*
|
|
|
|
* <h2>Components</h2>
|
2013-11-28 12:57:41 +01:00
|
|
|
* \li MSP430
|
2016-03-05 21:59:44 +01:00
|
|
|
* \li CC1020
|
|
|
|
* \li SHT11
|
|
|
|
* \li MMA7260Q
|
|
|
|
* \li LED
|
2013-12-09 11:49:00 +01:00
|
|
|
*
|
2013-11-28 12:57:41 +01:00
|
|
|
* @{
|
2010-10-11 17:05:40 +02:00
|
|
|
*
|
2014-10-21 16:52:30 +02:00
|
|
|
* @file
|
2016-03-06 11:19:58 +01:00
|
|
|
* @brief Central definitions for the ScatterWeb MSB-430 board
|
2010-10-11 17:05:40 +02:00
|
|
|
*
|
2013-11-28 12:57:41 +01:00
|
|
|
* @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project
|
2010-10-11 17:05:40 +02:00
|
|
|
*/
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#ifndef BOARD_H
|
|
|
|
#define BOARD_H
|
2013-11-28 12:57:41 +01:00
|
|
|
|
2016-03-11 15:24:46 +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 __MSP430F1612__
|
|
|
|
#define __MSP430F1612__
|
|
|
|
#endif
|
|
|
|
|
2016-03-15 17:11:47 +01:00
|
|
|
/**
|
2017-04-10 19:04:32 +02:00
|
|
|
* @name CPU core configuration
|
2016-03-15 17:11:47 +01:00
|
|
|
* @{
|
|
|
|
*/
|
2017-04-10 19:04:32 +02:00
|
|
|
/** @todo Move this to the periph_conf.h */
|
2013-12-20 13:12:51 +01:00
|
|
|
#define MSP430_INITIAL_CPU_SPEED 2457600uL
|
|
|
|
#define F_CPU MSP430_INITIAL_CPU_SPEED
|
|
|
|
#define F_RC_OSCILLATOR 32768
|
2010-10-11 17:05:40 +02:00
|
|
|
#define MSP430_HAS_DCOR 1
|
|
|
|
#define MSP430_HAS_EXTERNAL_CRYSTAL 0
|
2016-03-15 17:11:47 +01:00
|
|
|
/** @} */
|
2010-10-11 17:05:40 +02:00
|
|
|
|
2018-06-13 09:17:29 +02:00
|
|
|
/**
|
|
|
|
* @name Configure on-board SHT11 device
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define SHT1X_PARAM_CLK (GPIO_PIN(3, 5))
|
|
|
|
#define SHT1X_PARAM_DATA (GPIO_PIN(3, 4))
|
|
|
|
/** @} */
|
|
|
|
|
2014-10-13 15:25:50 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-10-11 17:05:40 +02:00
|
|
|
/** @} */
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* BOARD_H */
|