AudioRecord

Dependencies:   STM32L4xx_HAL_Driver CMSIS_DSP_401

Committer:
EricLew
Date:
Mon Nov 23 19:37:13 2015 +0000
Revision:
0:d4e5ad7ad71c
commit;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
EricLew 0:d4e5ad7ad71c 1 /**
EricLew 0:d4e5ad7ad71c 2 ******************************************************************************
EricLew 0:d4e5ad7ad71c 3 * @file system_stm32l4xx.h
EricLew 0:d4e5ad7ad71c 4 * @author MCD Application Team
EricLew 0:d4e5ad7ad71c 5 * @version V1.0.1
EricLew 0:d4e5ad7ad71c 6 * @date 16-September-2015
EricLew 0:d4e5ad7ad71c 7 * @brief CMSIS Cortex-M4 Device System Source File for STM32L4xx devices.
EricLew 0:d4e5ad7ad71c 8 ******************************************************************************
EricLew 0:d4e5ad7ad71c 9 * @attention
EricLew 0:d4e5ad7ad71c 10 *
EricLew 0:d4e5ad7ad71c 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
EricLew 0:d4e5ad7ad71c 12 *
EricLew 0:d4e5ad7ad71c 13 * Redistribution and use in source and binary forms, with or without modification,
EricLew 0:d4e5ad7ad71c 14 * are permitted provided that the following conditions are met:
EricLew 0:d4e5ad7ad71c 15 * 1. Redistributions of source code must retain the above copyright notice,
EricLew 0:d4e5ad7ad71c 16 * this list of conditions and the following disclaimer.
EricLew 0:d4e5ad7ad71c 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
EricLew 0:d4e5ad7ad71c 18 * this list of conditions and the following disclaimer in the documentation
EricLew 0:d4e5ad7ad71c 19 * and/or other materials provided with the distribution.
EricLew 0:d4e5ad7ad71c 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
EricLew 0:d4e5ad7ad71c 21 * may be used to endorse or promote products derived from this software
EricLew 0:d4e5ad7ad71c 22 * without specific prior written permission.
EricLew 0:d4e5ad7ad71c 23 *
EricLew 0:d4e5ad7ad71c 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
EricLew 0:d4e5ad7ad71c 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
EricLew 0:d4e5ad7ad71c 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
EricLew 0:d4e5ad7ad71c 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
EricLew 0:d4e5ad7ad71c 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
EricLew 0:d4e5ad7ad71c 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
EricLew 0:d4e5ad7ad71c 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
EricLew 0:d4e5ad7ad71c 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
EricLew 0:d4e5ad7ad71c 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
EricLew 0:d4e5ad7ad71c 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
EricLew 0:d4e5ad7ad71c 34 *
EricLew 0:d4e5ad7ad71c 35 ******************************************************************************
EricLew 0:d4e5ad7ad71c 36 */
EricLew 0:d4e5ad7ad71c 37
EricLew 0:d4e5ad7ad71c 38 /** @addtogroup CMSIS
EricLew 0:d4e5ad7ad71c 39 * @{
EricLew 0:d4e5ad7ad71c 40 */
EricLew 0:d4e5ad7ad71c 41
EricLew 0:d4e5ad7ad71c 42 /** @addtogroup stm32l4xx_system
EricLew 0:d4e5ad7ad71c 43 * @{
EricLew 0:d4e5ad7ad71c 44 */
EricLew 0:d4e5ad7ad71c 45
EricLew 0:d4e5ad7ad71c 46 /**
EricLew 0:d4e5ad7ad71c 47 * @brief Define to prevent recursive inclusion
EricLew 0:d4e5ad7ad71c 48 */
EricLew 0:d4e5ad7ad71c 49 #ifndef __SYSTEM_STM32L4XX_H
EricLew 0:d4e5ad7ad71c 50 #define __SYSTEM_STM32L4XX_H
EricLew 0:d4e5ad7ad71c 51
EricLew 0:d4e5ad7ad71c 52 #ifdef __cplusplus
EricLew 0:d4e5ad7ad71c 53 extern "C" {
EricLew 0:d4e5ad7ad71c 54 #endif
EricLew 0:d4e5ad7ad71c 55
EricLew 0:d4e5ad7ad71c 56 /** @addtogroup STM32L4xx_System_Includes
EricLew 0:d4e5ad7ad71c 57 * @{
EricLew 0:d4e5ad7ad71c 58 */
EricLew 0:d4e5ad7ad71c 59
EricLew 0:d4e5ad7ad71c 60 /**
EricLew 0:d4e5ad7ad71c 61 * @}
EricLew 0:d4e5ad7ad71c 62 */
EricLew 0:d4e5ad7ad71c 63
EricLew 0:d4e5ad7ad71c 64
EricLew 0:d4e5ad7ad71c 65 /** @addtogroup STM32L4xx_System_Exported_types
EricLew 0:d4e5ad7ad71c 66 * @{
EricLew 0:d4e5ad7ad71c 67 */
EricLew 0:d4e5ad7ad71c 68 /* This variable is updated in three ways:
EricLew 0:d4e5ad7ad71c 69 1) by calling CMSIS function SystemCoreClockUpdate()
EricLew 0:d4e5ad7ad71c 70 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
EricLew 0:d4e5ad7ad71c 71 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
EricLew 0:d4e5ad7ad71c 72 Note: If you use this function to configure the system clock; then there
EricLew 0:d4e5ad7ad71c 73 is no need to call the 2 first functions listed above, since SystemCoreClock
EricLew 0:d4e5ad7ad71c 74 variable is updated automatically.
EricLew 0:d4e5ad7ad71c 75 */
EricLew 0:d4e5ad7ad71c 76 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
EricLew 0:d4e5ad7ad71c 77
EricLew 0:d4e5ad7ad71c 78 extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
EricLew 0:d4e5ad7ad71c 79 extern const uint32_t MSIRangeTable[12]; /*!< MSI ranges table values */
EricLew 0:d4e5ad7ad71c 80
EricLew 0:d4e5ad7ad71c 81 /**
EricLew 0:d4e5ad7ad71c 82 * @}
EricLew 0:d4e5ad7ad71c 83 */
EricLew 0:d4e5ad7ad71c 84
EricLew 0:d4e5ad7ad71c 85 /** @addtogroup STM32L4xx_System_Exported_Constants
EricLew 0:d4e5ad7ad71c 86 * @{
EricLew 0:d4e5ad7ad71c 87 */
EricLew 0:d4e5ad7ad71c 88
EricLew 0:d4e5ad7ad71c 89 /**
EricLew 0:d4e5ad7ad71c 90 * @}
EricLew 0:d4e5ad7ad71c 91 */
EricLew 0:d4e5ad7ad71c 92
EricLew 0:d4e5ad7ad71c 93 /** @addtogroup STM32L4xx_System_Exported_Macros
EricLew 0:d4e5ad7ad71c 94 * @{
EricLew 0:d4e5ad7ad71c 95 */
EricLew 0:d4e5ad7ad71c 96
EricLew 0:d4e5ad7ad71c 97 /**
EricLew 0:d4e5ad7ad71c 98 * @}
EricLew 0:d4e5ad7ad71c 99 */
EricLew 0:d4e5ad7ad71c 100
EricLew 0:d4e5ad7ad71c 101 /** @addtogroup STM32L4xx_System_Exported_Functions
EricLew 0:d4e5ad7ad71c 102 * @{
EricLew 0:d4e5ad7ad71c 103 */
EricLew 0:d4e5ad7ad71c 104
EricLew 0:d4e5ad7ad71c 105 extern void SystemInit(void);
EricLew 0:d4e5ad7ad71c 106 extern void SystemCoreClockUpdate(void);
EricLew 0:d4e5ad7ad71c 107 /**
EricLew 0:d4e5ad7ad71c 108 * @}
EricLew 0:d4e5ad7ad71c 109 */
EricLew 0:d4e5ad7ad71c 110
EricLew 0:d4e5ad7ad71c 111 #ifdef __cplusplus
EricLew 0:d4e5ad7ad71c 112 }
EricLew 0:d4e5ad7ad71c 113 #endif
EricLew 0:d4e5ad7ad71c 114
EricLew 0:d4e5ad7ad71c 115 #endif /*__SYSTEM_STM32L4XX_H */
EricLew 0:d4e5ad7ad71c 116
EricLew 0:d4e5ad7ad71c 117 /**
EricLew 0:d4e5ad7ad71c 118 * @}
EricLew 0:d4e5ad7ad71c 119 */
EricLew 0:d4e5ad7ad71c 120
EricLew 0:d4e5ad7ad71c 121 /**
EricLew 0:d4e5ad7ad71c 122 * @}
EricLew 0:d4e5ad7ad71c 123 */
EricLew 0:d4e5ad7ad71c 124 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
EricLew 0:d4e5ad7ad71c 125