pdm2pcm.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. /* USER CODE BEGIN 1 */
  36. /* USER CODE END 1 */
  37. /* PDM2PCM init function */
  38. void MX_PDM2PCM_Init(void);
  39. /* USER CODE BEGIN 2 */
  40. /* PDM2PCM process function */
  41. uint8_t MX_PDM2PCM_Process(uint16_t *PDMBuf, uint16_t *PCMBuf);
  42. /* USER CODE END 2 */
  43. /* USER CODE BEGIN 3 */
  44. /* USER CODE END 3 */
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #endif /*__pdm2pcm_H */
  49. /**
  50. * @}
  51. */
  52. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/