?? usb_device_task.h
字號(hào):
/**
* @file usb_device_task.h,v
*
* Copyright (c) 2004 Atmel.
*
* Please read file license.txt for copyright notice.
*
* @brief This file contains the function declarations for USB device task
*
* @version 1.1 at90usb128-demo-audio-1_0_2 $Id: usb_device_task.h,v 1.1 2006/03/13 10:09:12 rletendu Exp $
*
* @todo
* @bug
*/
#ifndef _USB_DEVICE_TASK_H_
#define _USB_DEVICE_TASK_H_
//! @defgroup usb_device_task USB device task module
//! @{
//_____ I N C L U D E S ____________________________________________________
//_____ M A C R O S ________________________________________________________
//_____ D E C L A R A T I O N S ____________________________________________
//!
//! @brief This function initializes the USB device controller.
//!
//! This function enables the USB controller and init the USB interrupts.
//! The aim is to allow the USB connection detection in order to send
//! the appropriate USB event to the operating mode manager.
//!
//!
//! @param none
//!
//! @return none
//!
void usb_device_task_init (void);
//!
//! @brief This function initializes the USB device controller
//!
//! This function enables the USB controller and init the USB interrupts.
//! The aim is to allow the USB connection detection in order to send
//! the appropriate USB event to the operating mode manager.
//! Start device function is executed once VBUS connection has been detected
//! either by the VBUS change interrupt either by the VBUS high level
//!
//! @param none
//!
//! @return none
//!
void usb_start_device (void);
//! @brief Entry point of the USB device mamagement
//!
//! This function is the entry point of the USB management. Each USB
//! event is checked here in order to launch the appropriate action.
//! If a Setup request occurs on the Default Control Endpoint,
//! the usb_process_request() function is call in the usb_standard_request.c file
//!
//! @param none
//!
//! @return none
void usb_device_task (void);
//! @}
#endif /* _USB_DEVICE_TASK_H_ */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -