STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_sai_ex.h
Go to the documentation of this file.
1 
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef STM32L4xx_HAL_SAI_EX_H
22 #define STM32L4xx_HAL_SAI_EX_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #if defined(STM32L4R5xx) || defined(STM32L4R7xx) || defined(STM32L4R9xx) || defined(STM32L4S5xx) || defined(STM32L4S7xx) || defined(STM32L4S9xx)
29 
30 /* Includes ------------------------------------------------------------------*/
31 #include "stm32l4xx_hal_def.h"
32 
41 /* Exported types ------------------------------------------------------------*/
49 typedef struct
50 {
51  uint32_t MicPair;
54  uint32_t LeftDelay;
57  uint32_t RightDelay;
60 
65 /* Exported constants --------------------------------------------------------*/
66 /* Exported macros -----------------------------------------------------------*/
67 /* Exported functions --------------------------------------------------------*/
84 /* Private macros ------------------------------------------------------------*/
88 #define IS_SAI_PDM_MIC_DELAY(VALUE) ((VALUE) <= 7U)
89 
101 #endif /* STM32L4R5xx || STM32L4R7xx || STM32L4R9xx || STM32L4S5xx || STM32L4S7xx || STM32L4S9xx */
102 
103 #ifdef __cplusplus
104 }
105 #endif
106 
107 #endif /* STM32L4xx_HAL_SAI_EX_H */
108 
109 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
HAL_StatusTypeDef HAL_SAIEx_ConfigPdmMicDelay(SAI_HandleTypeDef *hsai, SAIEx_PdmMicDelayParamTypeDef *pdmMicDelay)
Configure PDM microphone delays.
This file contains HAL common defines, enumeration, macros and structures definitions.
PDM microphone delay structure definition.