?? usb_specific_request.h
字號:
/*H**************************************************************************
* NAME: usb_specific_request.h
*----------------------------------------------------------------------------
* Copyright (c) 2006 Atmel.
*----------------------------------------------------------------------------
* RELEASE: at90usb128-demo-audio-1_0_2
* REVISION: 1.1
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the user call-back functions corresponding to the
* application:
* MASS STORAGE DEVICE
*****************************************************************************/
#ifndef _USB_USER_ENUM_H_
#define _USB_USER_ENUM_H_
/*_____ I N C L U D E S ____________________________________________________*/
#include "config.h"
/*_____ M A C R O S ________________________________________________________*/
extern code S_usb_device_descriptor usb_dev_desc;
extern code S_usb_user_configuration_descriptor usb_conf_desc;
extern code S_usb_user_configuration_descriptor usb_other_conf_desc;
extern code S_usb_device_qualifier_descriptor usb_qual_desc;
extern code S_usb_manufacturer_string_descriptor usb_user_manufacturer_string_descriptor;
extern code S_usb_product_string_descriptor usb_user_product_string_descriptor;
extern code S_usb_serial_number usb_user_serial_number;
extern code S_usb_language_id usb_user_language_id;
/*_____ D E F I N I T I O N ________________________________________________*/
Bool usb_user_read_request(U8, U8);
Bool usb_user_get_descriptor(U8 , U8);
void audio_get_min(void);
void audio_get_max(void);
void audio_get_res(void);
void audio_get_cur(void);
void audio_set_cur(void);
void usb_user_endpoint_init(U8);
//____ A U D I O S P E C I F I C _ Endpoint requests_______________________*/
#define GET_CUR 0x81
#define GET_MIN 0x82
#define GET_MAX 0x83
#define GET_RES 0x84
#define SET_CUR 0x01
#define SET_MIN 0x02
#define SET_MAX 0x03
#define SET_RES 0x04
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -