SPKT
targets/cmsis/TARGET_STM/TARGET_STM32F7/stm32f7xx_hal_sai_ex.h@0:e87aa4c49e95, 2019-06-04 (annotated)
- Committer:
- phungductung
- Date:
- Tue Jun 04 21:51:46 2019 +0000
- Revision:
- 0:e87aa4c49e95
libray
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
phungductung | 0:e87aa4c49e95 | 1 | /** |
phungductung | 0:e87aa4c49e95 | 2 | ****************************************************************************** |
phungductung | 0:e87aa4c49e95 | 3 | * @file stm32f7xx_hal_sai_ex.h |
phungductung | 0:e87aa4c49e95 | 4 | * @author MCD Application Team |
phungductung | 0:e87aa4c49e95 | 5 | * @version V1.0.4 |
phungductung | 0:e87aa4c49e95 | 6 | * @date 09-December-2015 |
phungductung | 0:e87aa4c49e95 | 7 | * @brief Header file of SAI Extension HAL module. |
phungductung | 0:e87aa4c49e95 | 8 | ****************************************************************************** |
phungductung | 0:e87aa4c49e95 | 9 | * @attention |
phungductung | 0:e87aa4c49e95 | 10 | * |
phungductung | 0:e87aa4c49e95 | 11 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
phungductung | 0:e87aa4c49e95 | 12 | * |
phungductung | 0:e87aa4c49e95 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
phungductung | 0:e87aa4c49e95 | 14 | * are permitted provided that the following conditions are met: |
phungductung | 0:e87aa4c49e95 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
phungductung | 0:e87aa4c49e95 | 16 | * this list of conditions and the following disclaimer. |
phungductung | 0:e87aa4c49e95 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
phungductung | 0:e87aa4c49e95 | 18 | * this list of conditions and the following disclaimer in the documentation |
phungductung | 0:e87aa4c49e95 | 19 | * and/or other materials provided with the distribution. |
phungductung | 0:e87aa4c49e95 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
phungductung | 0:e87aa4c49e95 | 21 | * may be used to endorse or promote products derived from this software |
phungductung | 0:e87aa4c49e95 | 22 | * without specific prior written permission. |
phungductung | 0:e87aa4c49e95 | 23 | * |
phungductung | 0:e87aa4c49e95 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
phungductung | 0:e87aa4c49e95 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
phungductung | 0:e87aa4c49e95 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
phungductung | 0:e87aa4c49e95 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
phungductung | 0:e87aa4c49e95 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
phungductung | 0:e87aa4c49e95 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
phungductung | 0:e87aa4c49e95 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
phungductung | 0:e87aa4c49e95 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
phungductung | 0:e87aa4c49e95 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
phungductung | 0:e87aa4c49e95 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
phungductung | 0:e87aa4c49e95 | 34 | * |
phungductung | 0:e87aa4c49e95 | 35 | ****************************************************************************** |
phungductung | 0:e87aa4c49e95 | 36 | */ |
phungductung | 0:e87aa4c49e95 | 37 | |
phungductung | 0:e87aa4c49e95 | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 39 | #ifndef __STM32F7xx_HAL_SAI_EX_H |
phungductung | 0:e87aa4c49e95 | 40 | #define __STM32F7xx_HAL_SAI_EX_H |
phungductung | 0:e87aa4c49e95 | 41 | |
phungductung | 0:e87aa4c49e95 | 42 | #ifdef __cplusplus |
phungductung | 0:e87aa4c49e95 | 43 | extern "C" { |
phungductung | 0:e87aa4c49e95 | 44 | #endif |
phungductung | 0:e87aa4c49e95 | 45 | |
phungductung | 0:e87aa4c49e95 | 46 | /* Includes ------------------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 47 | #include "stm32f7xx_hal_def.h" |
phungductung | 0:e87aa4c49e95 | 48 | |
phungductung | 0:e87aa4c49e95 | 49 | /** @addtogroup STM32F7xx_HAL_Driver |
phungductung | 0:e87aa4c49e95 | 50 | * @{ |
phungductung | 0:e87aa4c49e95 | 51 | */ |
phungductung | 0:e87aa4c49e95 | 52 | |
phungductung | 0:e87aa4c49e95 | 53 | /** @addtogroup SAIEx |
phungductung | 0:e87aa4c49e95 | 54 | * @{ |
phungductung | 0:e87aa4c49e95 | 55 | */ |
phungductung | 0:e87aa4c49e95 | 56 | |
phungductung | 0:e87aa4c49e95 | 57 | /* Exported types ------------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 58 | /* Exported constants --------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 59 | /* Exported functions --------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 60 | /** @addtogroup SAIEx_Exported_Functions SAI Extended Exported Functions |
phungductung | 0:e87aa4c49e95 | 61 | * @{ |
phungductung | 0:e87aa4c49e95 | 62 | */ |
phungductung | 0:e87aa4c49e95 | 63 | |
phungductung | 0:e87aa4c49e95 | 64 | /** @addtogroup SAIEx_Exported_Functions_Group1 Extension features functions |
phungductung | 0:e87aa4c49e95 | 65 | * @{ |
phungductung | 0:e87aa4c49e95 | 66 | */ |
phungductung | 0:e87aa4c49e95 | 67 | |
phungductung | 0:e87aa4c49e95 | 68 | /* Extended features functions ************************************************/ |
phungductung | 0:e87aa4c49e95 | 69 | void SAI_BlockSynchroConfig(SAI_HandleTypeDef *hsai); |
phungductung | 0:e87aa4c49e95 | 70 | uint32_t SAI_GetInputClock(SAI_HandleTypeDef *hsai); |
phungductung | 0:e87aa4c49e95 | 71 | /** |
phungductung | 0:e87aa4c49e95 | 72 | * @} |
phungductung | 0:e87aa4c49e95 | 73 | */ |
phungductung | 0:e87aa4c49e95 | 74 | |
phungductung | 0:e87aa4c49e95 | 75 | /** |
phungductung | 0:e87aa4c49e95 | 76 | * @} |
phungductung | 0:e87aa4c49e95 | 77 | */ |
phungductung | 0:e87aa4c49e95 | 78 | /* Private types -------------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 79 | /* Private variables ---------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 80 | /* Private constants ---------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 81 | /* Private macros ------------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 82 | /* Private functions ---------------------------------------------------------*/ |
phungductung | 0:e87aa4c49e95 | 83 | |
phungductung | 0:e87aa4c49e95 | 84 | /** |
phungductung | 0:e87aa4c49e95 | 85 | * @} |
phungductung | 0:e87aa4c49e95 | 86 | */ |
phungductung | 0:e87aa4c49e95 | 87 | |
phungductung | 0:e87aa4c49e95 | 88 | /** |
phungductung | 0:e87aa4c49e95 | 89 | * @} |
phungductung | 0:e87aa4c49e95 | 90 | */ |
phungductung | 0:e87aa4c49e95 | 91 | |
phungductung | 0:e87aa4c49e95 | 92 | #ifdef __cplusplus |
phungductung | 0:e87aa4c49e95 | 93 | } |
phungductung | 0:e87aa4c49e95 | 94 | #endif |
phungductung | 0:e87aa4c49e95 | 95 | |
phungductung | 0:e87aa4c49e95 | 96 | #endif /* __STM32F7xx_HAL_SAI_EX_H */ |
phungductung | 0:e87aa4c49e95 | 97 | |
phungductung | 0:e87aa4c49e95 | 98 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |