PCD
Relevant
Preporcessor:
None
Relevant Interrupts:
#int_usb
A USB event has happened, and requires application intervention. The
USB library that CCS provides handles this interrupt automatically.
Relevant Include
files:
pic_usb.h
pic18_usb.h
usbn960x.h
usb.h
usb.c
usb_cdc.h
Hardware layer driver for the PIC16C765 family PICmicro controllers
with an internal USB peripheral.
Hardware layer driver for the PIC18F4550 family PICmicro controllers
with an internal USB peripheral.
Hardware layer driver for the National USBN9603/USBN9604 external
USB peripheral. You can use this external peripheral to add USB to any
microcontroller.
Common definitions and prototypes used by the USB driver
The USB stack, which handles the USB interrupt and USB Setup
Requests on Endpoint 0.
A driver that takes the previous include files to make a CDC USB
device, which emulates an RS232 legacy device and shows up as a
COM port in the MS Windows device manager.
Relevant getenv() Parameters:
USB
Returns TRUE if the PICmicro controller has an integrated internal USB
peripheral.
Example Code:
Due to the complexity of USB example code will not fit here. But you can find the following
examples installed with your CCS C Compiler:
ex_usb_hid.c
ex_usb_mouse.c
ex_usb_kbmouse.c
ex_usb_kbmouse2.c
64
A simple HID device
A HID Mouse, when connected to your PC the mouse cursor will go in
circles.
An example of how to create a USB device with multiple interfaces by
creating a keyboard and mouse in one device.
An example of how to use multiple HID report Ids to transmit more than
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY