mbed official / mbed

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Committer:
AnnaBridge
Date:
Thu Jul 06 15:30:22 2017 +0100
Revision:
146:22da6e220af6
Child:
170:e95d10626187
Release 146 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 146:22da6e220af6 1 /* mbed Microcontroller Library
AnnaBridge 146:22da6e220af6 2 *******************************************************************************
AnnaBridge 146:22da6e220af6 3 * Copyright (c) 2017, STMicroelectronics
AnnaBridge 146:22da6e220af6 4 * All rights reserved.
AnnaBridge 146:22da6e220af6 5 *
AnnaBridge 146:22da6e220af6 6 * Redistribution and use in source and binary forms, with or without
AnnaBridge 146:22da6e220af6 7 * modification, are permitted provided that the following conditions are met:
AnnaBridge 146:22da6e220af6 8 *
AnnaBridge 146:22da6e220af6 9 * 1. Redistributions of source code must retain the above copyright notice,
AnnaBridge 146:22da6e220af6 10 * this list of conditions and the following disclaimer.
AnnaBridge 146:22da6e220af6 11 * 2. Redistributions in binary form must reproduce the above copyright notice,
AnnaBridge 146:22da6e220af6 12 * this list of conditions and the following disclaimer in the documentation
AnnaBridge 146:22da6e220af6 13 * and/or other materials provided with the distribution.
AnnaBridge 146:22da6e220af6 14 * 3. Neither the name of STMicroelectronics nor the names of its contributors
AnnaBridge 146:22da6e220af6 15 * may be used to endorse or promote products derived from this software
AnnaBridge 146:22da6e220af6 16 * without specific prior written permission.
AnnaBridge 146:22da6e220af6 17 *
AnnaBridge 146:22da6e220af6 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AnnaBridge 146:22da6e220af6 19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
AnnaBridge 146:22da6e220af6 20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
AnnaBridge 146:22da6e220af6 21 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
AnnaBridge 146:22da6e220af6 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
AnnaBridge 146:22da6e220af6 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
AnnaBridge 146:22da6e220af6 24 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
AnnaBridge 146:22da6e220af6 25 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
AnnaBridge 146:22da6e220af6 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
AnnaBridge 146:22da6e220af6 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
AnnaBridge 146:22da6e220af6 28 *******************************************************************************
AnnaBridge 146:22da6e220af6 29 */
AnnaBridge 146:22da6e220af6 30 #ifndef STM32_ASSERT_H
AnnaBridge 146:22da6e220af6 31 #define STM32_ASSERT_H
AnnaBridge 146:22da6e220af6 32 /**
AnnaBridge 146:22da6e220af6 33 * @brief The assert_param macro is used for function's parameters check.
AnnaBridge 146:22da6e220af6 34 * @param expr: If expr is false, it calls assert_failed function
AnnaBridge 146:22da6e220af6 35 * which reports the name of the source file and the source
AnnaBridge 146:22da6e220af6 36 * line number of the call that failed.
AnnaBridge 146:22da6e220af6 37 * If expr is true, it returns no value.
AnnaBridge 146:22da6e220af6 38 * @retval None
AnnaBridge 146:22da6e220af6 39 */
AnnaBridge 146:22da6e220af6 40 #include "mbed_assert.h"
AnnaBridge 146:22da6e220af6 41 #define assert_param(expr) MBED_ASSERT(expr)
AnnaBridge 146:22da6e220af6 42
AnnaBridge 146:22da6e220af6 43 #endif