nguyen nam
/
BSP-DISCO_F746NG
Nam
Diff: Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_audio.h
- Revision:
- 8:56384bddaba5
- Parent:
- 6:e1d9da7fe856
diff -r fe313c53cdb5 -r 56384bddaba5 Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_audio.h --- a/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_audio.h Thu Nov 10 10:05:52 2016 +0100 +++ b/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_audio.h Thu Feb 23 14:14:09 2017 +0100 @@ -2,8 +2,8 @@ ****************************************************************************** * @file stm32746g_discovery_audio.h * @author MCD Application Team - * @version V1.1.1 - * @date 02-June-2016 + * @version V2.0.0 + * @date 30-December-2016 * @brief This file contains the common defines and functions prototypes for * the stm32746g_discovery_audio.c driver. ****************************************************************************** @@ -245,8 +245,9 @@ /** @defgroup STM32746G_DISCOVERY_AUDIO_IN_Exported_Functions STM32746G_DISCOVERY_AUDIO_IN Exported Functions * @{ */ -uint8_t BSP_AUDIO_IN_Init(uint16_t InputDevice, uint8_t Volume, uint32_t AudioFreq); -uint8_t BSP_AUDIO_IN_OUT_Init(uint16_t InputDevice, uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq); +uint8_t BSP_AUDIO_IN_Init(uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr); +uint8_t BSP_AUDIO_IN_InitEx(uint16_t InputDevice, uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr); +uint8_t BSP_AUDIO_IN_OUT_Init(uint16_t InputDevice, uint16_t OutputDevice, uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr); uint8_t BSP_AUDIO_IN_Record(uint16_t *pData, uint32_t Size); uint8_t BSP_AUDIO_IN_Stop(uint32_t Option); uint8_t BSP_AUDIO_IN_Pause(void);