MDK-ARM Keil, MDK-ARM Datasheet - Page 135
![KIT REALVIEW MCU DEVELOPMENT](/photos/9/32/93274/mdk-arm_sml.jpg)
MDK-ARM
Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Specifications of MDK-ARM
For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 135 of 156
- Download datasheet (3Mb)
Getting Started: Building Applications with RL-ARM
//
The Endpoint descriptor is added beneath the existing Endpoint 1 descriptor. We
must also make sure that the overall descriptor size reflects the addition of a new
Endpoint. This is done within the configuration descriptor as shown below.
USB_CONFIGURATION_DESC_SIZE
You must also adjust the number of Endpoints defined in the interface descriptor.
USB_INTERFACE_DESCRIPTOR_TYPE,
Once the additional Endpoint is defined, the HID driver will stop sending data as
set_report control transfers on Endpoint 0. It will then begin sending OUT
packets on Endpoint 1. Now we must add code to receive the new OUT packets
on Endpoint 1. Remember that the physical Endpoints are unidirectional, but
they are grouped as logical pairs. Each logical Endpoint has a physical IN
Endpoint and a physical OUT Endpoint.
void USB_EndPoint1 (DWORD event)
}
This now gives 64 byte IN and OUT packets, which are handled symmetrically
on logical Endpoint 1. The SetOutReport() and GetInReport() functions can now
be modified to read and write the application data into the new InReport[] and
OutReport[] arrays.
USB_ENDPOINT_DESC_SIZE,
USB_ENDPOINT_DESCRIPTOR_TYPE,
USB_ENDPOINT_OUT(1),
USB_ENDPOINT_TYPE_INTERRUPT,
WBVAL(0x0040),
0x20,
0x00,
0x00,
0x02,
switch (event)
}
Endpoint, HID Interrupt Out
USB_INTERFACE_DESC_SIZE
HID_DESC_SIZE
USB_ENDPOINT_DESC_SIZE
USB_ENDPOINT_DESC_SIZE
case USB_EVT_IN:
case USB_EVT_OUT:
GetInReport ();
USB_WriteEP (0x81, &InReport, sizeof (InReport));
break;
USB_ReadEP (0x01, &OutReport);
SetOutReport ();
break;
{
+
+
+
+
{
// bmAttributes
// wMaxPacketSize= 64
// EP1 IN
// New EP1 OUT descriptor
// bDescriptorType
// bInterfaceNumber
// bAlternateSetting
// bNumEndpoints
// bLength
// bDescriptorType
// bEndpointAddress
135
Related parts for MDK-ARM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MDK-ARM-B](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-B-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM-B
Manufacturer:
Keil Software
![MDK-ARM-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM
Manufacturer:
Keil Software
![MDK-ARM-BASIC](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-UF](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM UPG TO FLOATING LIC
Manufacturer:
Keil Tools
![MDK-ARM-F](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM W/ FLOATING LICENSE
Manufacturer:
Keil Software
![MDK-ARM3.1](/photos/26/86/268691/landingpagekeilrealviewarmkit_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM uVISION & C++ & RTX
Manufacturer:
Keil Tools
![MDK-ARM-SMB](/images/no-image3.png)
Part Number:
Description:
Development Software SUPP LICENSE RENEWAL 90+ DAYS NO TECH SUP
Manufacturer:
Keil Software
![KEIL-PK51-INTL](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_tmb.jpg)
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
![OM10045](/photos/9/21/92162/om10045_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
![TWR-K60N512-KEIL](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: