CC26xx Driver Library
driverlib_release.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: driverlib_release.h
3 * Revised: $Date: 2015-07-16 12:12:04 +0200 (Thu, 16 Jul 2015) $
4 * Revision: $Revision: 44151 $
5 *
6 * Description: Provides macros for ensuring that a specfic release of
7 * DriverLib is used.
8 *
9 * Copyright (c) 2015 - 2016, Texas Instruments Incorporated
10 * All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions are met:
14 *
15 * 1) Redistributions of source code must retain the above copyright notice,
16 * this list of conditions and the following disclaimer.
17 *
18 * 2) Redistributions in binary form must reproduce the above copyright notice,
19 * this list of conditions and the following disclaimer in the documentation
20 * and/or other materials provided with the distribution.
21 *
22 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
23 * be used to endorse or promote products derived from this software without
24 * specific prior written permission.
25 *
26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 *
38 ******************************************************************************/
39 
40 //*****************************************************************************
41 //
46 //
47 //*****************************************************************************
48 
49 #ifndef __DRIVERLIB_RELEASE_H__
50 #define __DRIVERLIB_RELEASE_H__
51 
52 
53 #ifdef __cplusplus
54 extern "C"
55 {
56 #endif
57 
58 #include <stdint.h>
59 
60 
61 
62 
64 #define DRIVERLIB_RELEASE_GROUP 0
65 #define DRIVERLIB_RELEASE_BUILD 47020
67 
68 
69 
70 
71 //*****************************************************************************
72 //
80 //
81 //*****************************************************************************
82 #define DRIVERLIB_DECLARE_RELEASE(group, build) \
83  const volatile uint8_t driverlib_release_##group##_##build
84 
86 extern DRIVERLIB_DECLARE_RELEASE(0, 47020);
87 
88 
89 
90 
91 //*****************************************************************************
92 //
110 //
111 //*****************************************************************************
112 #define DRIVERLIB_ASSERT_RELEASE(group, build) \
113  (driverlib_release_##group##_##build)
114 
115 
116 
117 
118 //*****************************************************************************
119 //
135 //
136 //*****************************************************************************
137 #define DRIVERLIB_ASSERT_CURR_RELEASE() \
138  DRIVERLIB_ASSERT_RELEASE(0, 47020)
139 
140 
141 
142 
143 #ifdef __cplusplus
144 }
145 #endif
146 
147 #endif // __DRIVERLIB_RELEASE_H__
148 
149 
150 //*****************************************************************************
151 //
155 //
156 //*****************************************************************************
#define DRIVERLIB_DECLARE_RELEASE(group, build)