BSP430
20141115
Board Support Package for MSP430 microcontrollers
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
include
bsp430
rf
rf.h
Go to the documentation of this file.
1
/* Copyright 2013-2014, Peter A. Bigot
2
*
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions are met:
7
*
8
* * Redistributions of source code must retain the above copyright notice,
9
* this list of conditions and the following disclaimer.
10
*
11
* * Redistributions in binary form must reproduce the above copyright notice,
12
* this list of conditions and the following disclaimer in the documentation
13
* and/or other materials provided with the distribution.
14
*
15
* * Neither the name of the software nor the names of its contributors may be
16
* used to endorse or promote products derived from this software without
17
* specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
* POSSIBILITY OF SUCH DAMAGE.
30
*/
31
43
#ifndef BSP430_RF_RF_H
44
#define BSP430_RF_RF_H
45
46
#include <
bsp430/core.h
>
47
56
#ifndef configBSP430_RF_TIMER
57
#define configBSP430_RF_TIMER 0
58
#endif
/* configBSP430_RF_TIMER */
59
78
#if defined(BSP430_DOXYGEN)
79
#define BSP430_RF_TIMER_PERIPH_CPPID include "bsp430_config.h"
80
#endif
/* BSP430_DOXYGEN */
81
92
#if defined(BSP430_DOXYGEN)
93
#define BSP430_RF_TIMER_PERIPH_HANDLE platform or application specific
94
#elif ! (configBSP430_RF_TIMER - 0)
95
/* leave undefined if not requested */
96
/* !BSP430! instance=@timers functional=rf_timer subst=functional insert=periph_sethandle */
97
/* BEGIN AUTOMATICALLY GENERATED CODE---DO NOT MODIFY [periph_sethandle] */
98
99
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA0
100
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA0
101
102
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA1
103
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA1
104
105
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA2
106
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA2
107
108
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TA3
109
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TA3
110
111
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TB0
112
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB0
113
114
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TB1
115
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB1
116
117
#elif BSP430_RF_TIMER_PERIPH_CPPID == BSP430_PERIPH_CPPID_TB2
118
#define BSP430_RF_TIMER_PERIPH_HANDLE BSP430_PERIPH_TB2
119
/* END AUTOMATICALLY GENERATED CODE [periph_sethandle] */
120
/* !BSP430! end=periph_sethandle */
121
#endif
/* BSP430_RF_TIMER_PERIPH_CPPID */
122
123
#endif
/* BSP430_RF_RF_H */
core.h
Common header included by all BSP430 leaf headers.
Generated on Sat Nov 15 2014 11:27:13 for BSP430 by
1.8.8