📄 usb_task.h
字号:
/**
* @file $RCSfile: usb_task.h,v $
*
* Copyright (c) 2004 Atmel.
*
* Please read file license.txt for copyright notice.
*
* @brief This file contains the function declarations
*
* @version $Revision: 1.1.2.2 $ $Name: c5131-usb-generic-1_2_0 $ $Id: usb_task.h,v 1.1.2.2 2006/04/06 12:03:32 lguilhau Exp $
*
* @todo
* @bug
*/
#ifndef _USB_TASK_H_
#define _USB_TASK_H_
//_____ I N C L U D E S ____________________________________________________
//_____ M A C R O S ________________________________________________________
#define Set_page_usb() //Mcu_set_sfr_page_usb()
//_____ D E C L A R A T I O N S ____________________________________________
void usb_task_init (void);
void usb_start_device (void);
void usb_task (void);
typedef struct
{U8 arrived;
U8 type;//0:Standard, 1:Continuous, others:Personal mode
U8 direction;//1:IN, 0:OUT
U16 length;
}S_hid_set_control;
#endif /* _USB_TASK_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -