usbd_audio_out_if.h
Go to the documentation of this file.
1 
28 /* Includes ------------------------------------------------------------------*/
29 
30 #ifndef __USB_AUDIO_OUT_IF_H_
31 #define __USB_AUDIO_OUT_IF_H_
32 
33 #ifdef STM32F2XX
34  #include "stm322xg_usb_audio_codec.h"
35 #elif defined(STM32F4XX)
36  #include "stm324xg_usb_audio_codec.h"
37 #elif defined(STM32F10X_CL)
38  #include "stm3210c_usb_audio_codec.h"
39 #endif /* STM32F2XX */
40 
54 /* Audio Commands enmueration */
55 typedef enum
56 {
61 
62 /* Mute commands */
63 #define AUDIO_MUTE 0x01
64 #define AUDIO_UNMUTE 0x00
65 
66 /* Functions return value */
67 #define AUDIO_OK 0x00
68 #define AUDIO_FAIL 0xFF
69 
70 /* Audio Machine States */
71 #define AUDIO_STATE_INACTIVE 0x00
72 #define AUDIO_STATE_ACTIVE 0x01
73 #define AUDIO_STATE_PLAYING 0x02
74 #define AUDIO_STATE_PAUSED 0x03
75 #define AUDIO_STATE_STOPPED 0x04
76 #define AUDIO_STATE_ERROR 0x05
77 
104 
116 #endif /* __USB_AUDIO_OUT_IF_H_ */
117 
125 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
AUDIO_CMD_TypeDef
AUDIO_FOPS_TypeDef AUDIO_OUT_fops


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26