⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usb.c

📁 os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm os arm
💻 C
字号:
/* *	ApOS (Another Project software for s3c2410) *	 *	This program is free software; you can redistribute it and/or modify *	it under the terms of the GNU General Public License version 2 as *	published by the Free Software Foundation. *			 *						Copyright caiyuqing * */#include "../include/s3c2410/s3c2410.h"#include "../include/s3c2410/usb.h"struct usb_host_ctrl_object usb_host_ctrl_object;void usb_host_obj_init(struct usb_host_ctrl_object *uhco){	uhco->revision		=&rHcRevision;	uhco->control		=&rHcControl;	uhco->comman_status	=&rHcCommonStatus;	uhco->interrupt_status	=&rHcInterruptStatus;	uhco->interrupt_enable	=&rHcInterruptEnable;	uhco->interrupt_disable	=&rHcInterruptDisable;	uhco->hcca		=&rHcHCCA;	uhco->period_cuttent_ed	=&rHcPeriodCuttentED;	uhco->control_head_ed	=&rHcControlHeadED;	uhco->control_current_ed=&rHcControlCurrentED;	uhco->bulk_dead_ed	=&rHcBulkHeadED;	uhco->bulk_current_ed	=&rHcBulkCurrentED;	uhco->done_head		=&rHcDoneHead;	uhco->rm_interval	=&rHcRmInterval;	uhco->fm_remaining	=&rHcFmRemaining;	uhco->fm_number		=&rHcFmNumber;	uhco->periodic_start	=&rHcPeriodicStart;	uhco->LSThre_shold	=&rHcLSThreshold;	uhco->descriptor_a	=&rHcRhDescriptorA;	uhco->descriptor_b	=&rHcRhDescriptorB;	uhco->status		=&rHcRhStatus;	uhco->portStatus_1	=&rHcRhPortStatus1;	uhco->portStatus_2	=&rHcRhPortStatus2;}/* *	本模块还未完成 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -