loading
Enclosed Type

The numerical control system of CNC woodworking engraving machine USB driver

by:Transon     2020-07-23
CNC woodworking engraving machine of numerical control system of the writing of the USB driver, adopting Mitmsoft Windows2000DDK of the company. With vc + + 6. 0 as the auxiliary development environment. One USB main controller driver and USB bus driver encapsulated within the Windows operating system, provided by Microsoft company, developers simply write CNC woodworking engraving machine CNC system of USB device driver. USB device driver is not dialogue with hardware, need to use a USB bus driver interface ( USBDI) And hardware devices to communicate. USBDI is part of the WDM hierarchical structure, provides the USB device driver to access the USB host driver stack interface, I/O request packet ( IRP) Is the core of driver operation. IRP is a kernel object, it is a predefined data structure, with a set of manipulation, it is the I/O manager routines, USBDI use IRP management USB device driver and USB communication between the host driver stack. The IRP IRP_MJ_INTERNAL_DEVICE_CONTROL, have the same main function code, and its Parameters of an I/O stack location. DeviceIoContro。 LIoControlCode field is set to the interior of the USBI IOCTL, to indicate the specific function of implementation by the IRP. By calling the IOCTL and IOCTLIRP IoBuildDeviceIoControlRequest function. One of the most main is IOCTL_INTERNAL_USB_SUB_SUBMIT_URB, it issued a USB request block ( URB) By the USB driver processing.
Custom message
Chat Online 编辑模式下无法使用
Leave Your Message inputting...
88888888888888888888888