pdm2pcm.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. /* Define to prevent recursive inclusion -------------------------------------*/
  22. #ifndef __pdm2pcm_H
  23. #define __pdm2pcm_H
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. /* Includes ------------------------------------------------------------------*/
  28. #include "main.h"
  29. #include "pdm2pcm_glo.h"
  30. /* USER CODE BEGIN 0 */
  31. /* USER CODE END 0 */
  32. /* Global variables ---------------------------------------------------------*/
  33. extern PDM_Filter_Handler_t PDM1_filter_handler;
  34. extern PDM_Filter_Config_t PDM1_filter_config;
  35. extern PDM_Filter_Handler_t PDM2_filter_handler;
  36. extern PDM_Filter_Config_t PDM2_filter_config;
  37. /* USER CODE BEGIN 1 */
  38. /* USER CODE END 1 */
  39. /* PDM2PCM init function */
  40. void MX_PDM2PCM_Init(void);
  41. /* USER CODE BEGIN 2 */
  42. /* PDM2PCM process function */
  43. uint8_t MX_PDM2PCM_Process(uint16_t *PDMBuf, uint16_t *PCMBuf);
  44. /* USER CODE END 2 */
  45. /* USER CODE BEGIN 3 */
  46. /* USER CODE END 3 */
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50. #endif /*__pdm2pcm_H */
  51. /**
  52. * @}
  53. */
  54. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/