Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
USB stream control parameters

Defines the way the USB stream control will operate.

The USB Stream Control embeds a mechanism that ensures a good audio playback by keeping synchronized both Host and Device, even if their sampling frequency are not strictly equivalent.

Macros

#define TIMER_USB_STREAM_MONITOR   700
 Period (in ms) of the polling of the buffers monitoring. More...
 
#define TIMER_USB_STREAM_MONITOR   700
 Period (in ms) of the polling of the buffers monitoring. More...
 
#define TIMER_USB_STREAM_MONITOR   700
 Period (in ms) of the polling of the buffers monitoring. More...
 
#define USB_RESYNC_AUDIO_STREAM   true
 true to activate the USB audio resynchronization More...
 
#define USB_RESYNC_AUDIO_STREAM   true
 ENABLE to activate the USB audio resynchronization. More...
 
#define USB_RESYNC_AUDIO_STREAM   true
 ENABLE to activate the USB audio resynchronization. More...
 
#define USB_STREAM_BUFFER_NUMBER   16
 Number of buffers used in the USB stream FIFO. More...
 
#define USB_STREAM_BUFFER_NUMBER   16
 Number of buffers used in the USB stream FIFO. More...
 
#define USB_STREAM_BUFFER_NUMBER   16
 Number of buffers used in the USB stream FIFO. More...
 
#define USB_STREAM_BUFFER_SIZE   256
 Size of a buffer (in bytes) used in the USB stream FIFO. More...
 
#define USB_STREAM_BUFFER_SIZE   256
 Size of a buffer (in bytes) used in the USB stream FIFO. More...
 
#define USB_STREAM_BUFFER_SIZE   256
 Size of a buffer (in bytes) used in the USB stream FIFO. More...
 
#define USB_STREAM_RESYNC_PPM_STEPS   10
 Steps in PPM for the resynchronization. More...
 
#define USB_STREAM_RESYNC_PPM_STEPS   10
 Steps in PPM for the resynchronization. More...
 
#define USB_STREAM_RESYNC_PPM_STEPS   10
 Steps in PPM for the resynchronization. More...
 

#define TIMER_USB_STREAM_MONITOR   700

Period (in ms) of the polling of the buffers monitoring.

#define TIMER_USB_STREAM_MONITOR   700

Period (in ms) of the polling of the buffers monitoring.

Referenced by usb_stream_input(), and usb_stream_resync().

#define TIMER_USB_STREAM_MONITOR   700

Period (in ms) of the polling of the buffers monitoring.

#define USB_RESYNC_AUDIO_STREAM   true

true to activate the USB audio resynchronization

Possible values true or false

#define USB_RESYNC_AUDIO_STREAM   true

ENABLE to activate the USB audio resynchronization.

Possible values true or false

#define USB_RESYNC_AUDIO_STREAM   true

ENABLE to activate the USB audio resynchronization.

Possible values true or false

#define USB_STREAM_BUFFER_NUMBER   16

Number of buffers used in the USB stream FIFO.

#define USB_STREAM_BUFFER_NUMBER   16

Number of buffers used in the USB stream FIFO.

#define USB_STREAM_BUFFER_SIZE   256

Size of a buffer (in bytes) used in the USB stream FIFO.

It shall be equivalent to the pipe/endpoint from which the stream comes to.

#define USB_STREAM_BUFFER_SIZE   256

Size of a buffer (in bytes) used in the USB stream FIFO.

It shall be equivalent to the pipe/endpoint from which the stream comes to.

#define USB_STREAM_BUFFER_SIZE   256

Size of a buffer (in bytes) used in the USB stream FIFO.

It shall be equivalent to the pipe/endpoint from which the stream comes to.

#define USB_STREAM_RESYNC_PPM_STEPS   10

Steps in PPM for the resynchronization.

#define USB_STREAM_RESYNC_PPM_STEPS   10

Steps in PPM for the resynchronization.

Referenced by usb_stream_input(), and usb_stream_resync().

#define USB_STREAM_RESYNC_PPM_STEPS   10

Steps in PPM for the resynchronization.