Sonochan II 0.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
uac2_usb_specific_request.c File Reference

Processing of USB device specific enumeration requests. More...

`#include "conf_usb.h"`
`#include "usb_drv.h"`
`#include "usb_descriptors.h"`
`#include "uac2_usb_descriptors.h"`
`#include "usb_standard_request.h"`
`#include "usb_specific_request.h"`
`#include "usart.h"`
`#include "pm.h"`
`#include "usb_audio.h"`
`#include "device_audio_task.h"`
`#include "uac2_device_audio_task.h"`

## Functions
void | uac2_user_endpoint_init (U8 conf_nb)
| This function configures the endpoints of the device application. This function is called when the set configuration request has been received. More...
void | uac2_user_set_interface (U8 wIndex, U8 wValue)
| This function handles usb_set_interface side effects. This function is called from usb_set_interface in usb_standard_request in case there are side effects of the interface change to be handled. More...
Bool | uac2_user_read_request (U8 type, U8 request)

## Variables
static U8 | wValue_msb
static U8 | wValue_lsb
static U16 | wIndex
static U16 | wLength
const void * | pbuffer
U16 | data_to_transfer
const U8 | Speedx_1 [26]
const U8 | Speedx_2 [38]

## Detailed Description

Processing of USB device specific enumeration requests.

This file contains the specific request decoding for enumeration process.

- Compiler: IAR EWAVR32 and GNU GCC for AVR32
- Supported devices: All AVR32 devices with a USB module can be used.
- AppNote:

Author
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

## Variable Documentation

U16 data_to_transfer

const void* pbuffer

const U8 Speedx_1[26]

Initial value:
= {
0x02,0x00,
0x44,0xac,0x00,0x00,
0x10,0xb1,0x02,0x00,
0x44,0xac,0x00,0x00,
0x80,0xbb,0x00,0x00,
0x00,0xee,0x02,0x00,
0x80,0xbb,0x00,0x00,
}

const U8 Speedx_2[38]

Initial value:
= {
0x03,0x00,
0x80,0xbb,0x00,0x00,
0x80,0xbb,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x77,0x01,0x00,
0x00,0x77,0x01,0x00,
0x00,0x00,0x00,0x00,
0x00,0xee,0x02,0x00,
0x00,0xee,0x02,0x00,
0x00,0x00,0x00,0x00
}

U16 wIndex
| static

U16 wLength
| static

U8 wValue_lsb
| static

U8 wValue_msb
| static