1 /* USER CODE BEGIN Header */
2 /**
3   ******************************************************************************
4   * File Name          : pdm2pcm.h
5   * Description        : This file provides code for the configuration
6   *                      of the pdm2pcm instances.
7   ******************************************************************************
8   * @attention
9   *
10   * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
11   * All rights reserved.</center></h2>
12   *
13   * This software component is licensed by ST under Ultimate Liberty license
14   * SLA0044, the "License"; You may not use this file except in compliance with
15   * the License. You may obtain a copy of the License at:
16   *                             www.st.com/SLA0044
17   *
18   ******************************************************************************
19   */
20 /* USER CODE END Header */
21 
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef __pdm2pcm_H
24 #define __pdm2pcm_H
25 #ifdef __cplusplus
26   extern "C" {
27 #endif
28 
29 /* Includes ------------------------------------------------------------------*/
30 #include "main.h"
31 #include "pdm2pcm_glo.h"
32 
33 /* USER CODE BEGIN 0 */
34 /* USER CODE END 0 */
35 
36 /* Global variables ---------------------------------------------------------*/
37 extern PDM_Filter_Handler_t PDM1_filter_handler;
38 extern PDM_Filter_Config_t PDM1_filter_config;
39 extern PDM_Filter_Handler_t PDM2_filter_handler;
40 extern PDM_Filter_Config_t PDM2_filter_config;
41 
42 /* USER CODE BEGIN 1 */
43 /* USER CODE END 1 */
44 
45 /* PDM2PCM init function */
46 void MX_PDM2PCM_Init(void);
47 
48 /* USER CODE BEGIN 2 */
49 
50 /* PDM2PCM process function */
51 uint8_t MX_PDM2PCM_Process(uint16_t *PDMBuf, uint16_t *PCMBuf);
52 
53 /* USER CODE END 2 */
54 
55 /* USER CODE BEGIN 3 */
56 /* USER CODE END 3 */
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 #endif /*__pdm2pcm_H */
62 
63 /**
64   * @}
65   */
66 
67 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
68