ARMEBS4
revision-26.06.2015
Main Page
Modules
Data Structures
Files
File List
Globals
include
stm32
libstm32_conf.h
Go to the documentation of this file.
1
/**
2
******************************************************************************
3
* @file libstm32_conf.h
4
* @author MCD Application Team
5
* @version V1.0.0
6
* @date 19-September-2011
7
* @brief Library configuration file.
8
******************************************************************************
9
* @attention
10
*
11
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
12
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
13
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
14
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
15
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
16
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
17
*
18
* <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2>
19
******************************************************************************
20
*/
21
22
/* Define to prevent recursive inclusion -------------------------------------*/
23
#ifndef LIBSTM32_CONF_H
24
#define LIBSTM32_CONF_H
25
26
/* Includes ------------------------------------------------------------------*/
27
/* Uncomment the line below to enable peripheral header file inclusion */
28
29
/* Exported types ------------------------------------------------------------*/
30
/* Exported constants --------------------------------------------------------*/
31
32
/* If an external clock source is used, then the value of the following define
33
should be set to the value of the external clock source, else, if no external
34
clock is used, keep this define commented */
35
/*#define I2S_EXTERNAL_CLOCK_VAL 12288000 */
/* Value of the external clock in Hz */
36
37
38
/* Uncomment the line below to expanse the "assert_param" macro in the
39
Standard Peripheral Library drivers code */
40
/* #define USE_FULL_ASSERT 1 */
41
42
/* Exported macro ------------------------------------------------------------*/
43
#include "
heivs/config.h
"
44
45
#ifdef __cplusplus
46
extern
"C"
{
47
#endif
48
49
#if USE_STM32_LIB_ASSERT
50
#define USE_FULL_ASSERT
51
#endif
52
#ifdef USE_FULL_ASSERT
53
54
/**
55
* @brief The assert_param macro is used for function's parameters check.
56
* @param expr: If expr is false, it calls assert_failed function
57
* which reports the name of the source file and the source
58
* line number of the call that failed.
59
* If expr is true, it returns no value.
60
* @retval None
61
*/
62
#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
63
/* Exported functions ------------------------------------------------------- */
64
void
assert_failed(uint8_t* file, uint32_t line);
65
#else
66
#define assert_param(expr) ((void)0)
67
#endif
/* USE_FULL_ASSERT */
68
69
#ifdef __cplusplus
70
}
71
#endif
72
73
#endif
/* LIBSTM32_CONF_H */
74
75
/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/
config.h
libheivs configuration file
Generated on Fri Jun 26 2015 13:11:50 for ARMEBS4 by
1.8.9.1