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
;
59
}
SAIEx_PdmMicDelayParamTypeDef
;
60
65
/* Exported constants --------------------------------------------------------*/
66
/* Exported macros -----------------------------------------------------------*/
67
/* Exported functions --------------------------------------------------------*/
75
HAL_StatusTypeDef
HAL_SAIEx_ConfigPdmMicDelay
(
SAI_HandleTypeDef
*hsai,
SAIEx_PdmMicDelayParamTypeDef
*pdmMicDelay);
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****/
__SAI_HandleTypeDef
Definition:
stm32l4xx_hal_sai.h:227
HAL_SAIEx_ConfigPdmMicDelay
HAL_StatusTypeDef HAL_SAIEx_ConfigPdmMicDelay(SAI_HandleTypeDef *hsai, SAIEx_PdmMicDelayParamTypeDef *pdmMicDelay)
Configure PDM microphone delays.
Definition:
stm32l4xx_hal_sai_ex.c:78
SAIEx_PdmMicDelayParamTypeDef::LeftDelay
uint32_t LeftDelay
Definition:
stm32l4xx_hal_sai_ex.h:54
stm32l4xx_hal_def.h
This file contains HAL common defines, enumeration, macros and structures definitions.
SAIEx_PdmMicDelayParamTypeDef::MicPair
uint32_t MicPair
Definition:
stm32l4xx_hal_sai_ex.h:51
SAIEx_PdmMicDelayParamTypeDef
PDM microphone delay structure definition.
Definition:
stm32l4xx_hal_sai_ex.h:49
SAIEx_PdmMicDelayParamTypeDef::RightDelay
uint32_t RightDelay
Definition:
stm32l4xx_hal_sai_ex.h:57
Inc
stm32l4xx_hal_sai_ex.h
Generated by
1.8.13