board.h
Go to the documentation of this file.
1 /*
2  * Copyright 2009, 2015 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef BOARD_H
21 #define BOARD_H
22 
23 #include "board_common.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 #ifndef __MSP430F1612__
33 #define __MSP430F1612__
34 #endif
35 
41 #define MSP430_INITIAL_CPU_SPEED 7372800uL
42 #define F_CPU MSP430_INITIAL_CPU_SPEED
43 #define F_RC_OSCILLATOR 32768
44 #define MSP430_HAS_DCOR 1
45 #define MSP430_HAS_EXTERNAL_CRYSTAL 1
46 
52 #define SHT1X_PARAM_CLK (GPIO_PIN(3, 5))
53 #define SHT1X_PARAM_DATA (GPIO_PIN(3, 4))
54 
56 #ifdef __cplusplus
57 }
58 #endif
59 
61 #endif /* BOARD_H */